Back to Browse

Sportdb Examples MCP Server

Developer ToolsLow Risk8.5MCP RegistryRemote
Free

Server data from the Official MCP Registry

Sports scores, odds (20+ books + exchanges) and value/arbitrage/dropping-odds signals, via MCP.

About

Sports scores, odds (20+ books + exchanges) and value/arbitrage/dropping-odds signals, via MCP.

Remote endpoints: streamable-http: https://sportdb.io/v1/mcp

Security Report

8.5
Low Risk8.5Low Risk

Valid MCP server (1 strong, 1 medium validity signals). 3 known CVEs in dependencies Imported from the Official MCP Registry.

Endpoint verified · Requires authentication · 4 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Found in Source Code

Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Applies to the server that hosts this plugin, not to your machine.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "io-sportdb-sportdb": {
      "url": "https://sportdb.io/v1/mcp",
      "headers": {
        "X-API-Key": "<YOUR_API_KEY>"
      }
    }
  }
}

This server needs this header. Replace each <YOUR_...> placeholder with your own value:

  • X-API-Key (required): sportdb.io API key (free tier at https://sportdb.io/register)

Documentation

View on GitHub

From the project's GitHub README.

sportdb.io examples — sports odds & data API (with MCP)

Docs Free tier MCP License: MIT

Tiny, runnable examples for the sportdb.io sports data & odds API — live scores, fixtures, standings and odds from 20+ bookmakers and the betting exchanges (with the best price per outcome), plus value bets, arbitrage/surebets and dropping-odds signals, across football, basketball, tennis and ice hockey.

Clone it, add a free API key, run — in your language of choice, in the browser, or straight from an AI agent via MCP (Claude, Cursor).

Why sportdb.io

  • Exchange prices + domestic/regional books that global APIs (The Odds API, API-Football) don't carry — so best-price and arbitrage math is sharper.
  • Built-in signals: value bets, arbitrage, and dropping odds (line movement).
  • MCP server — one of the few sports APIs an AI agent can call directly.
  • One REST key, JSON, OpenAPI; a free tier and plans from €19/mo.

What you can build: odds-comparison sites, value/arbitrage scanners, livescore widgets, tipster & Telegram bots, and agent-native betting assistants.


1. Get a free API key

Create a free account at https://sportdb.io/register (100 requests/day, no card). Then:

cp .env.example .env
# edit .env: SPORTDB_API_KEY=sdb_live_...
export SPORTDB_API_KEY=sdb_live_...

2. 10-second taste (curl + jq)

# Best available 1X2 odds across every book + exchange, for upcoming football
curl -s "https://sportdb.io/v1/football/odds" \
  -H "X-API-Key: $SPORTDB_API_KEY" | jq '.data[0]'

# Live scores right now
curl -s "https://sportdb.io/v1/football/scores/live" \
  -H "X-API-Key: $SPORTDB_API_KEY" | jq '.data[:3]'

3. Run the examples

LanguageFilesRun
curlexamples/curl.shbash examples/curl.sh
Pythonbest_odds · live_scores · value_betspip install -r examples/python/requirements.txt then python examples/python/best_odds.py
Node (18+)best_odds · live_scores · value_betsnode examples/node/best_odds.mjs
PHPbest_odds · live_scores · value_betsphp examples/php/best_odds.php

value_bets / arbitrage / dropping-odds are signals — available on the Pro plan and up.

4. Browser demo — odds comparison

Open demo/odds-comparison.html in your browser, paste your key, and get a best-price comparison table across every book. No build step.

5. Use it from an AI agent (MCP)

sportdb.io ships a remote MCP server so Claude / Cursor can call live scores, odds and signals as tools. Full guide: mcp/README.md.

{
  "mcpServers": {
    "sportdb": {
      "command": "npx",
      "args": ["mcp-remote", "https://sportdb.io/v1/mcp",
               "--header", "X-API-Key:sdb_live_YOUR_KEY"]
    }
  }
}

Tools: live_scores, fixtures, odds, value_bets, arbitrage, dropping_odds, countries, competitions, standings. Then just ask: "Using sportdb, get the best 1X2 odds for upcoming Premier League matches and any arbitrage."


API basics

Value / arbitrage / dropping-odds are signals computed from the market. They are information, not betting advice or a guarantee of profit.

MIT licensed.

Reviews

No reviews yet

Be the first to review this server!