MCP
Sports MCP Server for AI Agents
A hosted Model Context Protocol server for sports data and intelligence — native tools, metered credits, Bearer auth — without wrapping REST yourself.
Endpoint
Protocol URL https://lumify.ai/mcp
Transport Streamable HTTP (JSON mode, stateless) ·
Auth Bearer API key ·
Protocol 2025-06-18
GET /mcp returns the discovery document as JSON — that is intentional. This HTML page is the SEO/human landing for “sports MCP server.” Tool calls are POST only; some clients briefly probe with Accept: text/event-stream and receive 405 Allow: POST before continuing over POST JSON.
Auth
Pass a Lumify API key as a Bearer token on every MCP request:
Authorization: Bearer YOUR_API_KEY
Fastest start: instant trial key at /docs/ai (100 credits, 14 days, no signup). Persistent Free Tier: /register (1,000 credits).
Tools
18 tools map 1:1 to REST. Credit cost mirrors the equivalent HTTP call. Live schemas always come from tools/list.
| Tool | Description | Credits |
|---|---|---|
list_sports | Supported sports with current active season. | 1 |
list_seasons | Seasons per sport/league; optional current-only filter. | 1 |
list_events | Schedule / scores — sport, league, status, date filters. | 1 |
get_event | Single event; optional odds / intelligence includes. | 1 (+1–2 odds; +1 intel) |
batch_get_events | Up to 25 events by id. | Sum of each |
query_events | Natural-language → list_events filters (rule-based). | 1 |
get_live_score | Lightweight live score snapshot. | 1 |
get_odds | Current moneyline / spread / totals. | 1 (2 all books) |
get_odds_history | Line-movement history. | 1 (2 all books) |
get_stats | Raw Data-layer aggregates (soccer, MLB, tennis singles). | 1 |
get_splits | Public betting splits (ticket% / handle%). | 1 |
get_intelligence | Confidence / signals / rationale (sport-aware). | 1 |
list_teams / get_team | Team directory and profile. | 1 |
search_players / get_player / get_player_events | Player search, profile, schedule. | 1 |
estimate_cost | Pre-call credit range for planned tool calls. | Free |
Clients & config
Cursor (remote — recommended)
{
"mcpServers": {
"lumify": {
"url": "https://lumify.ai/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
One-click install (replace the placeholder key before approving): Add Lumify MCP to Cursor.
Claude Desktop (stdio bridge)
{
"mcpServers": {
"lumify": {
"command": "npx",
"args": ["-y", "@lumifyai/mcp"],
"env": { "LUMIFY_API_KEY": "YOUR_API_KEY" }
}
}
}
VS Code / Copilot
{
"servers": {
"lumify": {
"type": "http",
"url": "https://lumify.ai/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
More recipes: /docs/guides#mcp.
Example invocation
After connect, agents typically: estimate_cost → list_events → get_odds / get_intelligence. Equivalent REST for local testing:
curl -s -X POST https://lumify.ai/v1/estimate \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"calls":[{"tool":"get_odds","arguments":{"event_id":4821,"bookmaker":"all"}}]}' curl -s "https://lumify.ai/v1/events/4821/odds?bookmaker=all" \ -H "Authorization: Bearer YOUR_API_KEY"
from lumify import Lumify client = Lumify(api_key="YOUR_API_KEY") client.estimate.cost([{ "tool": "get_odds", "arguments": {"event_id": 4821, "bookmaker": "all"}, }]) odds = client.events.odds(4821, bookmaker="all") print(odds["available"], len(odds.get("bookmakers") or []))
import { Lumify } from "@lumifyai/sdk"; const client = new Lumify({ apiKey: "YOUR_API_KEY" }); await client.estimate.cost([{ tool: "get_odds", arguments: { event_id: 4821, bookmaker: "all" }, }]); const odds = await client.events.odds(4821, { bookmaker: "all" }); console.log(odds.available, odds.bookmakers?.length);
Over MCP, the same get_odds tool returns identical JSON plus _meta.credits_used.
Sports & books
Same coverage as the REST Sports Data / Odds APIs: major US + global sports for schedules and scores; nine sportsbooks for moneyline / spread / totals; intelligence live for MLB, NFL, NCAAF, tennis, FIFA WC soccer, and MLS (others may be data+odds only).
Deep dives: Sports Data API · Sports Odds API · API for AI agents.
Billing
- Handshake free: initialize, tools/list, ping
- Metered: tools/call only — same credits as REST
- Budget first: estimate_cost (always free)
For agents: machine-readable twin at /sports-mcp-server.md. Protocol JSON: /mcp.
FAQ
No. This page (/sports-mcp-server) is the human/SEO landing. https://lumify.ai/mcp is the protocol endpoint — a browser GET returns discovery JSON; tool calls use POST. Keep pointing clients at /mcp.
Not for Cursor / VS Code remote HTTP. Point at https://lumify.ai/mcp with a Bearer key. Claude Desktop speaks stdio — use npx -y @lumifyai/mcp (or mcp-remote) as a bridge.
initialize, tools/list, and ping are free. Only tools/call costs credits — same rates as REST. Each result includes _meta.credits_used. available: false is free.
Not yet — those need OAuth. Use Cursor, Claude Desktop, VS Code, or any client that can send Bearer headers. Instant trial keys work the same over MCP.
18 tools covering sports, seasons, events, scores, odds, history, stats, splits, intelligence, teams, players, and free estimate_cost. The live catalogue is always on tools/list.
Connect the sports MCP server
Get an instant trial key (no signup), add Lumify to your MCP client, and call estimate_cost before you spend.