AI-Assisted Development with the SockOdds API
Use Claude Code, Cursor or Copilot against SockOdds: the SGO MCP server pointed at our base URL, llms.txt, and a copy-paste context block.
AI coding tools are fast when they have the right context and hallucinate when they don't. Here is how to give Claude Code, Cursor or Copilot the real SockOdds API.
1. The MCP server
Because the schema is SportsGameOdds v2, the sports-odds-api-mcp server works against SockOdds when its base URL is set:
claude mcp add sockodds --env SPORTS_ODDS_API_KEY_HEADER="your-api-key-here" --env SPORTS_GAME_ODDS_BASE_URL="https://api.sockodds.com/v2" -- npx -y sports-odds-api-mcp2. llms.txt
llms.txt indexes every documentation page (~6k tokens); llms-full.txt is the full site knowledge payload; docs/llms-full.txt is the whole documentation in one file.
3. Markdown for any page
curl -H "Accept: text/markdown" https://sockodds.com/docs/basics/quickstart
curl https://sockodds.com/leagues/afl-odds-api.md4. The AI context block
Paste the block on the AI-assisted development page into your rules file. It names the base URL, the auth header, the envelope and the oddID grammar, and tells the model not to invent keys.