Official SDKs
Python SDK
Full-featured Python client with sync and async support. Available on PyPI.
Node.js SDK
TypeScript-first SDK with full type definitions. Works with ESM and CommonJS.
MCP Server
Model Context Protocol server for AI tools like Claude, Cursor, and VS Code.
Python
Install the SDK:Quick Start
Async Support
Find Value Bets
View on GitHub
Full documentation, examples, and API reference.
Node.js / TypeScript
Install the SDK:Quick Start (TypeScript)
Quick Start (JavaScript)
Find Arbitrage Opportunities
View on GitHub
Full documentation, examples, and API reference.
MCP Server (AI Tools)
Use Odds-API.io directly from AI coding tools like Claude, Cursor, and VS Code.Claude Code CLI
Claude Desktop
Add to your config (~/.config/claude/claude_desktop_config.json):
Cursor
Add to your MCP settings:- “Get me upcoming Premier League matches with odds”
- “Find value bets from Bet365”
- “Show arbitrage opportunities”
View on GitHub
Installation guide and available tools.
Error Handling
All SDKs include custom error classes for clean error handling:WebSocket + SDK
Combine REST SDKs with WebSocket for a complete solution. Pre-fetch all odds via REST, then switch to WebSocket for real-time updates:All Repositories
| Repository | Type | Install | Links |
|---|---|---|---|
| odds-api-python | Python SDK | pip install odds-api-io | PyPI |
| odds-api-node | Node.js SDK | npm install odds-api-io | npm |
| odds-api-mcp-server | MCP Server | npx odds-api-mcp-server | npm |
Need an SDK in another language? Let us know at [email protected]