# AI-Assisted Development with the SockOdds API
URL: https://sockodds.com/blog/vibe-coding-odds-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.

[Vibe Coding](https://sockodds.com/blog/category/vibe-coding/) · 7 September 2026

# 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:

```bash
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-mcp
```

## 2. llms.txt

[llms.txt](https://sockodds.com/llms.txt) indexes every documentation page (~6k tokens); [llms-full.txt](https://sockodds.com/llms-full.txt) is the full site knowledge payload; [docs/llms-full.txt](https://sockodds.com/docs/llms-full.txt) is the whole documentation in one file.

## 3. Markdown for any page

```bash
curl -H "Accept: text/markdown" https://sockodds.com/docs/basics/quickstart
curl https://sockodds.com/leagues/afl-odds-api.md
```

## 4. The AI context block

Paste the block on the [AI-assisted development](https://sockodds.com/docs/info/ai-vibe-coding/) 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.

## Start building today

Free plan available. Set up in 5 minutes. Scale when you're ready.
