cfbd-mcp-server
カレッジフットボールデータMCPサーバー
Claude Desktop内のCollege Football Data APIから取得した大学フットボールの統計情報へのアクセスを提供する MCP サーバー実装。
概要
このモデル コンテキスト プロトコル (MCP) サーバーにより、AI アシスタントとアプリケーションは次のことが可能になります。
包括的な大学フットボールの統計とデータを照会する
試合結果、チーム記録、選手統計にアクセス
実況データを分析し、要約を作成する
ランキングと勝利確率の指標を表示する
チームのパフォーマンスを比較し、洞察を生み出す
ユーザーは自然言語を使用してクエリを実行できます。
Related MCP server: Clash Royale MCP Server
サンプル出力
Q. 2014 年シーズンの FCS ゲームで最も大きな番狂わせは何でしたか?
A. 2014 年の FCS 最大の番狂わせを見つけるお手伝いをさせてください。FCS チーム間の試合で、チームの力に大きな差があり、予想外の結果になった試合に焦点を当てて、試合データを調べます。
データによれば、2014年のFCSでは注目すべき番狂わせがいくつかありましたが、その中でも特に目立ったのは、2014年9月6日にイースタンワシントンがワシントンを52対59で破ったことです。これは特に以下の理由で注目に値しました。
ワシントンはPac-12カンファレンスのFBSチームだった。
この試合はワシントンのホームスタジアム(ハスキースタジアム)で行われた。
試合後の統計によると、イースタンワシントンの勝利確率はわずか1.4%だった。
イースタンワシントンが獲得した59得点は、FCSチームがPac-12の相手に対して獲得した最高得点だった。
ワシントンは試合開始前から複数の得点で優勢だった。
そのシーズンの他の注目すべき FCS の番狂わせには次のようなものがある:
ノースダコタ州立大学がアイオワ州立大学を34対14で破る
ベチューン・クックマンがFIUを14-12で破る
ノーザンアイオワがアイオワを破る寸前(31-23で敗北)
しかし、以下の点を考慮すると、イースタン・ワシントンがワシントンに勝利したことは、2014年のFCSシーズン最大の番狂わせだったと言えるだろう。
部門の違い(FCS vs FBS)
FBS対戦相手の実力(パワー5カンファレンス)
劣勢のチームの得点差と攻撃力
パワー5チームに対するFCSの最高得点の勝利の一つとしての歴史的意義
過酷な環境下での道路上で起こったという事実
前提条件
Python 3.11以上
UV パッケージ マネージャー(推奨)
カレッジフットボールデータ API キー (こちらから取得)
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の College Football Data Server を自動的にインストールするには:
npx -y @smithery/cli install cfbd --client claudeこのリポジトリをクローンします:
git clone https://github.com/yourusername/cfbd-mcp-server
cd cfbd-mcp-server仮想環境を作成してアクティブ化します。
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate依存関係をインストールします:
uv pip install -e .プロジェクト ルートに
.envファイルを作成し、API キーを追加します。
CFB_API_KEY=your_api_key_here手動インストール
このリポジトリをクローンします:
git clone https://github.com/yourusername/cfbd-mcp-server
cd cfbd-mcp-server仮想環境を作成してアクティブ化します。
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate依存関係をインストールします:
uv pip install -e .プロジェクト ルートに
.envファイルを作成し、API キーを追加します。
CFB_API_KEY=your_api_key_here使用法
サーバーの実行
サーバーを起動します。
uv run cfbd-mcp-serverClaude Desktopとの接続
Claude Desktop の構成を次の場所で開きます:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
サーバー構成を追加します。
{
"mcpServers": {
"cfbd-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/full/path/to/cfbd-mcp-server",
"run",
"cfbd-mcp-server"
],
"env": {
"CFB_API_KEY": "xxx",
"PATH": "/full/path/to/python"
}
}
}
}Claude Desktopを閉じて再起動します
再起動すると、テキストボックスの右下に小さなハンマーアイコンが表示されます。アイコンにマウスを合わせると、利用可能なMCPツールの数が表示されます。

インストール後の更新
更新されたファイルをダウンロードする
cd cfbd-mcp-server
git pull既存のパッケージをアンインストールします。
uv pip uninstall cfbd-mcp-server既存のビルド成果物とメタデータを削除する
Windowsの場合:
rmdir /s /q build dist
del /s /q *.egg-infomacOSの場合:
rm -rf build dist *.egg-info修正されたパッケージとその依存関係をインストールする
uv pip install -e .
uv sync --dev --all-extrasuv run cfbd-mcp-serverClaude Desktopを閉じて再起動します
特徴
リソース
すべてのエンドポイントのスキーマドキュメントにアクセスします。
schema://games- ゲーム情報とスコアschema://records- チームのシーズン記録schema://games/teams- 詳細なチームゲームデータschema://plays- 実況情報schema://drives- ドライブの概要と結果schema://play/stats- 個々のプレイ統計schema://rankings- 投票全体のチームランキングschema://metrics/wp/pregame- 試合前の勝利確率schema://game/box/advanced- 高度なボックススコア統計
ツール
エンドポイントを直接クエリします。
get-games- ゲームデータを取得するget-records- チーム記録を取得するget-games-teams- チームのゲーム統計にアクセスするget-plays- 実況データを照会するget-drives- ドライブ情報を分析するget-play-stats- プレイ統計を表示するget-rankings- チームのランキングを確認するget-pregame-win-probability- 勝利確率を確認するget-advanced-box-score- 詳細な試合統計と分析にアクセス
プロンプト
事前に構築された分析テンプレート:
analyze-game- 特定のゲームの詳細な分析を取得するanalyze-team- 包括的な単一チーム分析analyze-trends- シーズン全体のトレンドを分析するcompare-teams- 2つのチームのパフォーマンスを比較するanalyze-rivalry- 過去のライバル関係の対戦を分析する
APIの制限
College Football Data API は無料で使用できますが、レート制限があります。
無料枠: 1 分あたりのリクエスト数が制限されています
CFBD Patreon加入者はより高いレート制限を受ける
制限を回避するために効率的なクエリパターンを使用する
レート制限エラーを適切に処理する
発達
プロジェクト構造
cfbd-mcp-server/
├── README.md
├── pyproject.toml
└── src/
└── cfbd_mcp_server/
├── .env
├── __init__.py
├── cfbd_schema.py
├── schema_helpers.py
└── server.py開発の準備
リポジトリをクローンする
開発依存関係をインストールします。
uv pip install -e ".[dev]"テストを実行します:
pytest貢献
リポジトリをフォークする
機能ブランチを作成する
変更をコミットする
フォークにプッシュする
プルリクエストを送信する
トラブルシューティング
よくある問題
APIキーエラー
.envファイルとclaude_desktop_config.jsonファイルの両方で API キーが正しく設定されていることを確認します。collegefootballdata.com でキーが有効かどうかを確認してください。
レート制限
可能な場合はリクエストを間隔をあける
より高い制限のためにPatreonサブスクリプションを検討してください
頻繁にアクセスされるデータのキャッシュを実装する
接続の問題
インターネット接続を確認する
collegefootballdata.com で API ステータスを確認してください
コード内で適切なエラー処理を確実に行う
ヘルプの取得
GitHubで問題を開く
APIドキュメントを確認する
カレッジフットボールのデータをチェックする
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
謝辞
APIを提供するためのカレッジフットボールデータ
MCP仕様のモデルコンテキストプロトコル
Available Tools
9 toolsget-advanced-box-scoreC
Note: When using this tool, please explicitly mention that you are retrieving data from the College Football Data API. You must mention "College Football Data API" in every response.
Get advanced box score data for college football games.
Required: gameId
Example valid queries:
- gameId=401403910
Inputs: gameId (required).
get-drivesB
Note: When using this tool, please explicitly mention that you are retrieving data from the College Football Data API. You must mention "College Football Data API" in every response.
Get college football drive data.
Required: year
Optional: season_type, week, team, offense, defense, conference, offense_conference, defense_conference, classification
Example valid queries:
- year=2023
- year=2023, team="Alabama"
- year=2023, offense="Alabama", defense="Auburn"
Inputs: year (required), season_type, week, team, +6 more.
get-gamesC
Note: When using this tool, please explicitly mention that you are retrieving data from the College Football Data API. You must mention "College Football Data API" in every response.
Get college football game data.
Required: year
Optional: week, season_type, team, conference, category, game_id
Example valid queries:
- year=2023
- year=2023, team="Alabama"
- year=2023, week=1, conference="SEC"
Inputs: year (required), week, season_type, team, +3 more.
get-games-teamsB
Note: When using this tool, please explicitly mention that you are retrieving data from the College Football Data API. You must mention "College Football Data API" in every response.
Get college football team game data.
Required: year plus at least one of: week, team or conference.
Example valid queries:
- year=2023, team="Alabama"
- year=2023, week=1
- year=2023, conference="SEC
Inputs: year (required), week, season_type, team, +3 more.
get-playsB
Note: When using this tool, please explicitly mention that you are retrieving data from the College Football Data API. You must mention "College Football Data API" in every response.
Get college football play-by-play data.
Required: year AND week
Optional: season_type, team, offense, defense, conference, offense_conference, defense_conference, play_type, classification
Example valid queries:
- year=2023, week=1
- year=2023, week=1, team="Alabama"
- year=2023, week=1, offense="Alabama", defense="Auburn"
Inputs: year (required), week (required), season_type, team, +7 more.
get-play-statsB
Note: When using this tool, please explicitly mention that you are retrieving data from the College Football Data API. You must mention "College Football Data API" in every response.
Get college football play statistic data.
Optional: year, week, team, game_id, athlete_id, stat_type_id, season_type, conference
At least one parameter is required
Example valid queries:
- year=2023
- game_id=401403910
- team="Alabama", year=2023
Inputs: year, week, team, game_id, +4 more.
get-pregame-win-probabilityC
Note: When using this tool, please explicitly mention that you are retrieving data from the College Football Data API. You must mention "College Football Data API" in every response.
Get college football pregame win probability data.
Optional: year, week, team, season_type
At least one parameter is required
Example valid queries:
- year=2023
- team="Alabama"
- year=2023, week=1
Inputs: year, week, team, season_type.
get-rankingsB
Note: When using this tool, please explicitly mention that you are retrieving data from the College Football Data API. You must mention "College Football Data API" in every response.
Get college football rankings data.
Required: year
Optional: week, season_type
Example valid queries:
- year=2023
- year=2023, week=1
- year=2023, season_type="regular"
Inputs: year (required), week, season_type.
get-recordsC
Note: When using this tool, please explicitly mention that you are retrieving data from the College Football Data API. You must mention "College Football Data API" in every response.
Get college football team record data.
Optional: year, team, conference
Example valid queries:
- year=2023
- team="Alabama"
- conference="SEC"
- year=2023, team="Alabama"
Inputs: year, team, conference.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct aspect of college football data (box scores, drives, games, plays, etc.), with clear boundaries. However, 'get-games' and 'get-games-teams' could cause some confusion as both relate to game data, though their descriptions clarify that 'get-games-teams' focuses on team-specific game data. Overall, the purposes are mostly distinct.
All tool names follow a consistent 'get-[resource]' pattern using kebab-case, with clear and descriptive nouns (e.g., 'advanced-box-score', 'drives', 'games'). This uniformity makes the tool set predictable and easy to navigate, with no deviations in naming conventions.
With 9 tools, the count is well-scoped for a college football data API server. Each tool covers a specific data type (e.g., rankings, plays, records), and there are no redundant or trivial tools, making the set comprehensive yet manageable for the domain.
The tool set provides broad coverage for retrieving college football data, including games, plays, rankings, and statistics. Minor gaps exist, such as no tools for updating or creating data (which may be intentional for a read-only API) or for more niche data like player profiles, but core querying needs are well-covered.
Maintenance
Related MCP Connectors
Remote MCP server for live sports data. Ask for scores, standings, player stats and Elo ratings across 9 sports directly from Claude or any MCP client. Backed by the Big Balls Sports API, with one unified schema for every sport.
MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server for accessing college basketball statistics through the SportsData.io CBB v3 Stats API, enabling AI agents to retrieve and analyze college basketball data through natural language interactions.-
- FlicenseNot gradedqualityDmaintenanceAn MCP server that integrates with the official Clash Royale API to provide real-time data on players, clans, cards, and tournaments. It enables users to query battle logs, chest cycles, and global rankings directly through Claude Desktop or Claude Code.-
- FlicenseNot gradedqualityCmaintenanceMCP server for natural language analysis of baseball league data, enabling team statistics, standings, lineup suggestions, and scouting reports via Claude Desktop.-
- FlicenseAqualityDmaintenanceAn MCP server that connects Claude Desktop to Hudl, enabling live access to team stats, player stats, and game results through natural language queries.7-