Overview
We provide AI-ready resources to help you build faster with AI coding assistants. Whether you’re using ChatGPT, Claude, Cursor, VS Code Copilot, or other AI tools, we have resources that give these tools the context they need to generate accurate, production-ready code.Machine-Readable Documentation
We provide documentation in formats optimized for AI coding tools:Documentation Index
A lightweight file listing all documentation pages with URLs and descriptions. AI tools can scan this to find relevant pages to fetch. URL:https://docs.odds-api.io/llms.txt
Size: ~2,300 tokens
Complete Documentation
The entire API documentation compiled into a single text file. Best for AI tools with large context windows that can ingest everything at once. URL:https://docs.odds-api.io/llms-full.txt
Size: ~10.8k tokens
OpenAPI Specification
Machine-readable API definition following the OpenAPI 3.0 standard. Contains all endpoints, parameters, request/response schemas, and examples. URL:https://docs.odds-api.io/api-reference/openapi.json
Size: ~25k tokens
MCP Server
For AI tools that support the Model Context Protocol, our MCP server provides direct API access. See setup instructions below.Command-line tool
Coding agents that run shell commands can also use theodds-api CLI (npm install -g odds-api-cli). Add --json for output an agent can parse. See the CLI guide.
Google Sheets
The Google Sheets add-on inserts odds as typed tables that Gemini in Sheets can analyse, and Copy for AI copies any table as a prompt for ChatGPT or Claude.Quick Start: Copy-Paste Context
Copy this context block and paste it into your AI tool for instant API knowledge:Setup by Tool
- Claude
- ChatGPT
- Cursor
- VS Code
- Claude Code
MCP Server
The Model Context Protocol (MCP) server provides direct API integration for AI tools, allowing them to fetch live data from your Odds-API.io account. See the MCP server page for example prompts and the full tool list.Features
- 33 API tools (version 1.8.3) - Every public v3 REST endpoint: sports, markets, events, odds, odds summaries, movements, dropping odds, value bets, arbitrage, historical events and odds, closing lines, settlement and grading, golf outrights, participants, bookmaker id mappings and your request quota
- Small responses - A
marketsfilter on every odds tool, plusfieldsandmaxResultson list tools - Agent guide -
SKILL.mdcovers call order, caching, quotas and rate-limit handling; it is also served as theodds-api://guideresource - Documentation resources - Access full docs and OpenAPI spec directly
- Install anywhere -
npx, Docker (oddsapi/odds-api-mcp-server:1.8.3), a one-click.mcpbfor Claude Desktop, or the MCP registry (io.github.odds-api-io/odds-api-mcp-server)
Setup
- Claude Code
- Claude Desktop
- Cursor
Available Tools
The full list with parameters is in the MCP server README.
Example Prompts
Here are some example prompts to get you started:Building an Odds Comparison App
Creating a Value Bet Finder
Real-Time Odds Tracker
Resources
API Reference
Complete API documentation with all endpoints and parameters.
Quickstart Guide
Get up and running with your first API call.
Best Practices
Optimize your API usage for performance and cost.
Code Examples
Ready-to-use code examples for common use cases.
SDKs & CLI
Node.js, Python, PHP, Go and R SDKs, the odds-api CLI and the MCP server.
Google Sheets Add-on
Odds tables built for Gemini in Sheets, with Copy for AI for ChatGPT and Claude.