AltSportsData MCP Server
MCP-compatible server that gives AI agents access to alternative sports data across 30+ leagues — odds, events, probabilities, settlement, and futures for prediction markets, DFS platforms, and sportsbooks.
README
AltSportsData MCP Server
MCP-compatible server that gives AI agents access to alternative sports data across 30+ leagues — odds, events, probabilities, settlement, and futures for prediction markets, DFS platforms, and sportsbooks.
Quick Start
# Install
cd apps/altsportsdata-mcp
uv pip install -e ../altsportsdata-sdk
uv pip install -e .
# Run (stdio)
ALTSPORTSDATA_API_KEY=your_key altsportsdata-mcp
# Run (HTTP/SSE)
ALTSPORTSDATA_API_KEY=your_key altsportsdata-mcp --sse --port 8080
Connect to Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"altsportsdata": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/altsportsdata-mcp",
"python",
"-m",
"altsportsdata_mcp.server"
],
"env": {
"ALTSPORTSDATA_API_KEY": "your_api_key"
}
}
}
}
Restart Claude Desktop. The 29 tools will appear in the tool picker (🔧 icon).
Connect to Claude Code (CLI)
Claude Code discovers MCP servers from .mcp.json in your project root:
{
"mcpServers": {
"altsportsdata": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/altsportsdata-mcp",
"python",
"-m",
"altsportsdata_mcp.server"
],
"env": {
"ALTSPORTSDATA_API_KEY": "your_api_key"
}
}
}
}
Or register globally:
claude mcp add altsportsdata \
--command "uv" \
--args "run" "--directory" "/path/to/altsportsdata-mcp" "python" "-m" "altsportsdata_mcp.server" \
--env ALTSPORTSDATA_API_KEY=your_api_key
Verify with:
claude mcp list
Connect to Cursor
Cursor supports MCP servers via its settings. Two options:
Option A: Project-level (.cursor/mcp.json)
Create .cursor/mcp.json in your project root:
{
"mcpServers": {
"altsportsdata": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/altsportsdata-mcp",
"python",
"-m",
"altsportsdata_mcp.server"
],
"env": {
"ALTSPORTSDATA_API_KEY": "your_api_key"
}
}
}
}
Option B: Global (Cursor Settings)
- Open Cursor → Settings → MCP
- Click Add new MCP server
- Enter:
- Name:
altsportsdata - Command:
uv run --directory /path/to/altsportsdata-mcp python -m altsportsdata_mcp.server
- Name:
- Add environment variable
ALTSPORTSDATA_API_KEY
Option C: SSE/HTTP (Remote)
Run the server with HTTP transport:
ALTSPORTSDATA_API_KEY=your_key altsportsdata-mcp --sse --port 8080
Then in .cursor/mcp.json:
{
"mcpServers": {
"altsportsdata": {
"url": "http://localhost:8080/mcp"
}
}
}
This also works for any MCP client that supports HTTP/SSE transport (Windsurf, Continue, etc.).
Connect to OpenClaw
Add to your OpenClaw config (openclaw config edit):
mcp:
servers:
altsportsdata:
command: uv
args:
- run
- --directory
- /path/to/altsportsdata-mcp
- python
- -m
- altsportsdata_mcp.server
env:
ALTSPORTSDATA_API_KEY: your_api_key
Installation via npm/PyPI (coming soon)
# When published to PyPI
pip install altsportsdata-mcp
# When published to npm (npx wrapper)
npx altsportsdata-mcp
Environment Variables
| Variable | Required | Description |
|---|---|---|
ALTSPORTSDATA_API_KEY |
Yes | Your AltSportsData API key |
ALTSPORTSDATA_BASE_URL |
No | Override API base URL |
ODDS_FORMAT |
No | Default odds format: american (default), decimal, probability |
Tools (29)
Discovery
| Tool | Description |
|---|---|
list_leagues |
List all 27+ alternative sports leagues with archetypes and markets |
get_league_info |
Detailed league info — archetype, data shape, contract hints, market menu |
get_market_catalog |
Browse market types by league or archetype |
Events
| Tool | Description |
|---|---|
get_events |
List events with filters (league, status, date range, sort) |
get_event |
Single event details |
get_event_summary |
Comprehensive event summary with participants and market overview |
get_participants |
Competitors/athletes for an event |
Odds & Markets
| Tool | Description |
|---|---|
get_odds |
Get odds for any market type (17 types supported) |
get_all_markets |
All available markets for an event in one call |
get_moneylines |
Winner/moneyline odds |
get_matchups |
Head-to-head matchup odds |
get_totals |
Over/under totals |
get_player_props |
Player prop bets |
get_exactas |
Exacta combinations (2, 3, or 4 way) |
get_podiums |
Podium finish odds |
get_heat_winners |
Heat/round winner odds |
get_fastest_lap |
Fastest lap odds (racing) |
Analytics & Probabilities
| Tool | Description |
|---|---|
get_market_probabilities |
Implied win probabilities (vig-removed) |
get_fair_probabilities |
Fair probabilities for any market type |
get_favorites |
Top N favorites by odds |
calculate_sgp |
Same Game Parlay probability calculator |
convert_odds |
Convert between American, decimal, and probability formats |
Settlement & Results
| Tool | Description |
|---|---|
get_settlement |
Settlement/grading data for completed events |
get_settled_results |
Final results and standings |
Futures
| Tool | Description |
|---|---|
list_futures |
Available futures markets |
get_futures_odds |
Season futures odds (winner, top 2/3/5/10) |
Specialty
| Tool | Description |
|---|---|
get_jaialai_matches |
Jai Alai match and set details |
get_jaialai_odds |
Jai Alai odds |
get_heat_scores |
Scores/lap times for a specific heat or round |
MCP Resources
Static resources for context injection:
| URI | Description |
|---|---|
altsportsdata://leagues |
All leagues with metadata |
altsportsdata://leagues/{code} |
Single league details |
altsportsdata://catalog |
Full market catalog |
Supported Leagues
27+ alternative sports including:
| Category | Leagues |
|---|---|
| Surf/Skate | WSL (Surfing), SLS (Skateboarding) |
| Racing | F1, MotoGP, Supercross, Nitrocross, NHRA, Formula Drift, MotoAmerica, USAC, High Limit Racing, World Outlaws, Super Motocross |
| Combat | BKFC, Power Slap, BYB Extreme, LUX Fight League, Real American Freestyle |
| Team | MASL (Arena Soccer), NLL (Lacrosse), Athletes Unlimited, Goal Soccer |
| Precision | Disc Golf (DGPT), World Jai Alai |
| Multi | X Games, Major League Table Tennis |
API Reference
This MCP server wraps the AltSportsData Public API.
- Swagger/OpenAPI: https://api.altsportsdata.com/public/docs/swagger
- Documentation: https://api.altsportsdata.com/public/docs/
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。