cfbd
An MCP server enabling CFBD API queries within Claude Desktop.
claude mcp add --transport stdio lenwood-cfbd-mcp-server uv run cfbd-mcp-server \ --env CFB_API_KEY="your_api_key_here"
How to use
The CFBD MCP server provides access to College Football Data API v2 data through a Claude-enabled workflow. It exposes endpoints and prompts to fetch game results, team records, player stats, play-by-play data, and advanced metrics. You can issue natural language queries via Claude or use the provided endpoints/prompts to retrieve structured data such as games, plays, rankings, and win probabilities. Typical use cases include comparing teams, analyzing game outcomes, and generating insights from play-by-play data.
To use the server, run it locally with the UV package manager and point Claude Desktop to the server configuration. You can then query resources like get-games, get-plays, get-rankings, and get-pregame-win-probability through the connected MCP prompts or by invoking the corresponding endpoints documented in the schema. Ensure your API key is configured in the environment to authenticate with the CFBD API, and monitor rate limits as documented in the API limits section.
How to install
Prerequisites:
- Python 3.11 or higher
- UV package manager (uv)
- Git
- A College Football Data API key
Option A: Install via UV (recommended for Claude Desktop integration)
- Clone the repository:
git clone https://github.com/yourusername/cfbd-mcp-server
cd cfbd-mcp-server
- Create and activate a virtual environment (recommended):
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install the package in editable mode:
uv pip install -e .
- Create an environment file with your API key (or set env var later):
CFB_API_KEY=your_api_key_here
- Run the server:
uv run cfbd-mcp-server
Option B: Manual development setup (same steps, useful for contributing)
- Clone the repository and navigate to it:
git clone https://github.com/yourusername/cfbd-mcp-server
cd cfbd-mcp-server
- Create and activate a virtual environment:
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install dependencies:
uv pip install -e .
- Add your API key to a .env file or environment:
CFB_API_KEY=your_api_key_here
- Start the server:
uv run cfbd-mcp-server
Additional notes
Tips and notes:
- Ensure the CFB_API_KEY is valid and has access to the CFBD API. You can also export CFB_API_KEY in your shell or set it in Claude Desktop's environment configuration.
- The server uses UV to run and expects the module name cfbd-mcp-server as the entry point. If you rename the package, update the run command accordingly.
- Be mindful of API rate limits; leverage query efficiency and caching where possible.
- When integrating with Claude Desktop, follow the provided example claude_desktop_config.json snippet to connect the MCP server and ensure the environment paths (like PATH to Python) are correct for your system.
- For development, run tests with pytest as documented in the repo’s Development section.
- If you encounter key errors, ensure both the .env file and Claude Desktop config point to the same API key and that the key is valid on collegefootballdata.com.
Related MCP Servers
Gitingest
mcp server for gitingest
powerbi
MCP server for natural language interaction with Power BI datasets
mcp_server_filesystem
MCP File System Server: A secure Model Context Protocol server that provides file operations for AI assistants. Enables Claude and other assistants to safely read, write, and list files in a designated project directory with robust path validation and security controls.
fantasy-football -public
Yahoo Fantasy Football MCP server for Claude Desktop - Advanced lineup optimization, draft assistance, and league management. Built using Claude Code.
mcp-prompt-optimizer
Advanced MCP server providing cutting-edge prompt optimization tools with research-backed strategies
mcp-spotify-player
MCP server to manage Spotify from MCP clients