Connect your own AI agent

The Developer plan (€29/month) exposes the CGMBet football database as a remote MCP server — the open standard AI agents use to reach external tools. Your Claude, ChatGPT or custom agent gets the same 8 read-only tools this website's chat uses.

1. Get your API key

Subscribe from the pricing page — or email cgmbet@gmail.com with your account email for a free 3-day trial key. Your personal API key arrives by email within 24 hours. Treat it like a password — anyone with the key spends your daily quota.

2. Connect your agent

Endpoint: https://ai.cgmbet.com/mcp.php  ·  Auth: Authorization: Bearer YOUR_API_KEY

Claude (web / desktop):

  1. Settings → Connectors → Add custom connector
  2. Name: CGMBet Football DB, URL: https://ai.cgmbet.com/mcp.php
  3. Advanced → add the Authorization header with your key, save, and enable it in a chat

Claude Code:

claude mcp add --transport http cgmbet https://ai.cgmbet.com/mcp.php \
  --header "Authorization: Bearer YOUR_API_KEY"

ChatGPT: Settings → Connectors → Advanced → Developer mode, then add the endpoint URL with the same Authorization header.

Any other MCP client (generic config):

{
  "mcpServers": {
    "cgmbet": {
      "type": "http",
      "url": "https://ai.cgmbet.com/mcp.php",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

3. What your agent can do

ToolWhat it returns
schemaAll tables, columns and data conventions — agents should call this first
list_leaguesEvery league with its 4-digit Id, name, country
search_teamTeam Id lookup by (partial) name, aliases included
team_matchesA team's matches: date, opponent, venue, score, half-time, 1X2 odds
match_detailsOne match in full: odds set, ELO/form, standings positions, match stats
standingsLeague table of any season (defaults to the current one)
upcoming_fixturesScheduled matches for the next 1–14 days with odds
queryAny single read-only SQL SELECT you or your agent writes (max 300 rows)

Example prompts for your agent: “Using the CGMBet tools, list Serie A teams that scored in the last 10 minutes most often this season” · “Compare closing 1X2 odds accuracy across the top 5 leagues last season.”

Limits & terms

Read-only access · 500 tool calls per day per key · max 300 rows per call · the database is a copy refreshed with our regular data updates · your AI subscription and its token costs are separate and your own · personal analysis only — no redistribution, resale or bulk extraction of the data (violation = key revoked without refund) · cancel anytime, access runs to the end of the paid month.

Troubleshooting

401 — key missing or mistyped · 402 — subscription expired · “Daily limit reached” — the 500 calls/day fair-use cap; resets at midnight (server time). Anything else: cgmbet@gmail.com.