-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Guide
This guide will walk you through installing Sports Data MCP for use with Claude Desktop.
- Python 3.11 or higher - Download Python
- Claude Desktop - Download Claude Desktop
- The Odds API Key (optional but recommended) - Get free API key
This is the easiest method for most users.
- Go to the Releases page
- Download the latest
.mcpbfile (e.g.,sports-data-mcp-v0.1.10.mcpb)
- Open Claude Desktop
- Go to Settings → Developer
- Click "Install MCP Package"
- Select the downloaded
.mcpbfile - Wait for installation to complete
-
Locate your installation directory:
-
Windows:
%APPDATA%\Claude\sports-mcp-config\ -
macOS:
~/Library/Application Support/Claude/sports-mcp-config/ -
Linux:
~/.config/Claude/sports-mcp-config/
-
Windows:
-
Edit the
.envfile:ODDS_API_KEY=your_api_key_here
-
Restart Claude Desktop
Ask Claude: "What sports data tools are available?"
If successful, Claude will list the Sports Data MCP tools.
For developers or users who want more control.
git clone https://github.com/WFord26/Sports-Odds-MCP.git
cd Sports-Odds-MCPpip install -r requirements.txt# Copy example environment file
cp .env.example .env
# Edit .env and add your API key
nano .env # or use your preferred editorAdd:
ODDS_API_KEY=your_api_key_hereEdit your Claude Desktop config file:
-
Windows:
%APPDATA%\Claude\claude_desktop_config.json -
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json -
Linux:
~/.config/Claude/claude_desktop_config.json
Add the server configuration:
{
"mcpServers": {
"sports-data": {
"command": "python",
"args": ["C:/path/to/Sports-Odds-MCP/sports_mcp_server.py"],
"env": {
"ODDS_API_KEY": "your_api_key_here"
}
}
}
}Note: Use absolute paths and forward slashes even on Windows.
Close and reopen Claude Desktop to load the MCP server.
- Visit the-odds-api.com
- Click "Get API Key"
- Sign up with your email
- Verify your email
- Copy your API key from the dashboard
- 500 requests per month
- Access to all sports
- All betting markets
- Perfect for personal use
If you need more requests, check their pricing page for paid plans starting at $25/month.
Ask Claude:
What sports data tools do you have?
Expected response: Claude should list tools like get_odds, get_scores, get_espn_scoreboard, etc.
Ask Claude:
Get available sports from The Odds API
Expected response: A list of sports with their keys (e.g., americanfootball_nfl, basketball_nba)
Ask Claude:
Show me today's NBA scores
Expected response: Current NBA games with scores (no API key needed)
Symptom: Claude doesn't recognize sports data tools
Solutions:
- Restart Claude Desktop completely
- Check the config file path is correct
- Verify Python path is absolute
- Check Python version:
python --version(must be 3.11+)
Symptom: Error when using odds-related tools
Solutions:
- Verify
.envfile exists in config directory - Check API key is correct (no extra spaces)
- Ensure environment variable is loaded
- Restart Claude Desktop after changing
.env
Symptom: ModuleNotFoundError in logs
Solutions:
- Reinstall dependencies:
pip install -r requirements.txt - Use virtual environment:
python -m venv venv source venv/bin/activate # or venv\Scripts\activate on Windows pip install -r requirements.txt
- Update config to use venv Python path
Symptom: "Rate limit exceeded" errors
Solutions:
- You've used all 500 free API calls
- Wait until next month or upgrade to paid plan
- ESPN tools still work without Odds API
- Download the new
.mcpbpackage - Uninstall old version in Claude Desktop
- Install new version
- Your
.envfile is preserved automatically
cd Sports-Odds-MCP
git pull
pip install -r requirements.txt --upgradeRestart Claude Desktop.
- Open Claude Desktop
- Go to Settings → Developer
- Find Sports Data MCP in installed packages
- Click "Uninstall"
- Remove the MCP server entry from
claude_desktop_config.json - Delete the Sports-Odds-MCP directory
- Restart Claude Desktop
- Usage Examples - Learn how to query sports data
- API Tools Reference - Complete tool documentation
- Configuration Guide - Advanced settings
Need Help? Check the Troubleshooting page or open an issue.