Skip to main content

MCP server for RapidOddsAPI: bookmaker odds, live scores, arbitrage and value bets.

Project description

rapidoddsapi-mcp

MCP server for RapidOddsAPI. Gives an AI assistant bookmaker odds, live scores, arbitrage and value bets.

Built on the official rapidoddsapi Python SDK.

Setup

You need an API key from the dashboard. Keys start with oa_.

Claude Desktop

Add this to claude_desktop_config.json:

{
  "mcpServers": {
    "rapidoddsapi": {
      "command": "uvx",
      "args": ["rapidoddsapi-mcp"],
      "env": {
        "RAPIDODDSAPI_API_KEY": "oa_your_api_key_here"
      }
    }
  }
}

The config file lives at ~/Library/Application Support/Claude/ on macOS and %APPDATA%\Claude\ on Windows. Restart Claude Desktop after editing it.

Anything else that speaks MCP

RAPIDODDSAPI_API_KEY=oa_your_api_key_here uvx rapidoddsapi-mcp

It speaks stdio.

Tools

Tool Credits
list_sports(sport=) 0
get_odds(sport, market_types=, bookmakers=) market_types x ceil(bookmakers / 5)
get_results(sport, status=, include=) 1
find_arbitrage(sport, market=, bookmakers=, min_profit=, stake=) ceil(bookmakers / 5)
find_value_bets(sport, market=, bookmakers=, min_edge=, sharp=) ceil(bookmakers / 5)

Credits are charged only when games come back, so a query that matches nothing is free. Every response ends with what it cost and what is left.

Credits

The free tier is 250 credits for the life of the account, with no monthly reset, so the defaults are deliberately narrow:

  • A sport is always required. There is no way to request every sport at once.
  • Bookmakers default to five, one credit group, chosen for the sport's region.
  • Market types default to one.

That makes a typical question cost 1 credit. Both arguments multiply, so asking for nine market types across eighteen bookmakers is 36. The tool descriptions say so, which is what keeps the model from doing it uninvited.

find_arbitrage and find_value_bets default to ten bookmakers, 2 credits, because both need books that disagree and five rarely spread far enough.

Markets

find_arbitrage and find_value_bets handle two-way markets with no line: head_to_head, its period variants, and soccer's draw_no_bet. Totals, spreads, player props and three-way markets return an error explaining why rather than an empty list, since "nothing found" would read as "no opportunities".

Market keys vary by sport. list_sports(sport) returns the valid ones and costs nothing.

Bookmakers

Names are odds feeds, not brands. Many brands share one feed and quote identical prices, so Ladbrokes covers Neds and Betmakers covers the 26 brands running on it. A brand name that is not a feed returns nothing.

Development

pip install -e ".[dev]"
pytest
ruff check .
mypy src/rapidoddsapi_mcp

Links

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rapidoddsapi_mcp-0.2.0.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rapidoddsapi_mcp-0.2.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file rapidoddsapi_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: rapidoddsapi_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.6

File hashes

Hashes for rapidoddsapi_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4909ae1c701c11a07e24c8d015506cb03ec22cafff3a1ba02d5951b9f3e725d8
MD5 585433e478ca6d9bf11ca2f3193c3127
BLAKE2b-256 2264cabed1b2c411babd98987dbe78232d9a089fa011916a3b474d743ec44d27

See more details on using hashes here.

File details

Details for the file rapidoddsapi_mcp-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rapidoddsapi_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1857c69e9ac29d38e065a06ed6049383db21b31f114fae7a8562314b3f617b0
MD5 2c3bdb99b4e8c220614f8fe03940cba4
BLAKE2b-256 e5516d1aad515aa214bf026300b70a58bc146a9622f1fab44fa7f5c1913d74ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page