大学橄榄球数据
STDIO为Claude提供大学橄榄球统计数据
为Claude提供大学橄榄球统计数据
An MCP server implementation providing access to college football statistics sourced from the College Football Data API V2 within Claude Desktop.
This Model Context Protocol (MCP) server enables AI assistants and applications to:
Users can run queries using natural language.
Q. What was the largest upset among FCS games during the 2014 season?
A. Let me help find the biggest FCS upset from 2014. I'll look through the games data, focusing on games between FCS teams where there was a significant gap in team strength and an unexpected outcome.
The data suggests there were several notable upsets in FCS during 2014, but one that stands out was Eastern Washington defeating Washington 52-59 on September 6th, 2014. This was particularly significant because:
Other notable FCS upsets from that season included:
However, Eastern Washington over Washington appears to be the largest upset of the 2014 FCS season when considering:
To install College Football Data Server for Claude Desktop automatically via Smithery:
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
file in the project root and add your API key: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
file in the project root and add your API key:CFB_API_KEY=your_api_key_here
Start the server:
uv run cfbd-mcp-server
Open your Claude Desktop configuration at:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Add the server configuration:
{ "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" } } } }
Once you restart you can confirm the installation by clicking on the plus sign in the lower left corner of the text box. If successful you'll see "Add from cfbd-mcp-server" as one of the menu options. Here's an example screenshot.
cd cfbd-mcp-server
git pull
uv pip uninstall cfbd-mcp-server
For Windows:
rmdir /s /q build dist
del /s /q *.egg-info
For macOS:
rm -rf build dist *.egg-info
uv pip install -e .
uv sync --dev --all-extras
uv run cfbd-mcp-server
Access schema documentation for all endpoints:
schema://games
- Game information and scoresschema://records
- Team season recordsschema://games/teams
- Detailed team game dataschema://plays
- Play-by-play informationschema://drives
- Drive summaries and resultsschema://play/stats
- Individual play statisticsschema://rankings
- Team rankings across pollsschema://metrics/wp/pregame
- Pregame win probabilitiesschema://game/box/advanced
- Advanced box score statisticsQuery endpoints directly:
get-games
- Retrieve game dataget-records
- Get team recordsget-games-teams
- Access team game statisticsget-plays
- Query play-by-play dataget-drives
- Analyze drive informationget-play-stats
- View play statisticsget-rankings
- Check team rankingsget-pregame-win-probability
- See win probabilitiesget-advanced-box-score
- Access detailed game statistics and analyticsPre-built analysis templates:
analyze-game
- Get detailed analysis of a specific gameanalyze-team
- Comprehensive single team analysisanalyze-trends
- Analyze trends over a seasoncompare-teams
- Compare performance of two teamsanalyze-rivalry
- Analyze historical rivalry matchupsThe College Football Data API is free to use but has rate limiting:
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 Key Errors
.env
and claude_desktop_config.json
filesRate Limiting
Connection Issues
This project is licensed under the MIT License - see the LICENSE file for details.