Skip to main content
Glama

# GambleMath MCP Server

Smithery Compatible Glama Compatible Protocol License: MIT

Official Model Context Protocol (MCP) server for GambleMath. Provides real-time quantitative gambling analytics, theoretical RTP variance telemetry across 4,362 audited casino slots, official UKGC regulatory register lookups, and closed-form Monte Carlo probability calculators for AI assistants (Claude Desktop, Cursor, Cline, Windsurf, OpenCode).

Key Resources & Hubs


Related MCP server: Odds-API MCP Server

Endpoints & Protocols

  • Remote Streamable HTTP: https://gamblemath.org/mcp

  • OpenAPI 3.1 Specification: https://gamblemath.org/openapi.json

  • Catalog Dataset CSV API: https://gamblemath.org/api/dataset.csv

  • Stdio Bridge: Available via npx gamblemath-mcp or node index.mjs


Quick Client Setup

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "gamblemath": {
      "url": "https://gamblemath.org/mcp"
    }
  }
}

Option B: Stdio CLI Runner

{
  "mcpServers": {
    "gamblemath": {
      "command": "npx",
      "args": ["-y", "gamblemath-mcp"]
    }
  }
}

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "gamblemath": {
      "url": "https://gamblemath.org/mcp"
    }
  }
}

Cline / Roo Code (cline_mcp_settings.json)

{
  "mcpServers": {
    "gamblemath": {
      "url": "https://gamblemath.org/mcp",
      "disabled": false,
      "autoApprove": [
        "audit_slot_rtp",
        "simulate_bonus_ev",
        "audit_parlay_and_cashout",
        "lookup_ukgc_domain"
      ]
    }
  }
}

Available MCP Tools

Tool Name

Required Args

Description

audit_slot_rtp

slug (string)

Retrieve technical specs, published RTP profile(s), max win multiplier, and bankroll half-life for any of 4,362 catalog slots (e.g. sweet-bonanza, gates-of-olympus, book-of-dead).

simulate_bonus_ev

depositUsd, bonusUsd, wageringX, includeDepositInWager, slotRtpPct

Calculate closed-form Cash EV ($) and completion probability (%) for a casino deposit bonus.

audit_parlay_and_cashout

legs, stakeUsd, isSameGameParlay, ticketPayoutUsd, cashoutOfferUsd, lastLegFairOdds

Calculate multi-leg parlay compounded bookmaker hold and Early Cash-Out vs manual hedge equity.

lookup_ukgc_domain

domain (string)

Verify a casino domain against the UKGC Public Register snapshot (account #, licensee entity, domain status).


License & Citation

Released under the MIT License.
Principal Investigator: Julian Mercer (ORCID: 0009-0003-1162-170X)
Harvard Dataverse Archive: https://dataverse.harvard.edu/dataverse/gamblemath (doi:10.7910/DVN/WVA37E, doi:10.7910/DVN/BGYEMI)

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Connects AI assistants to SharpEdge AI to discover +EV sports betting opportunities and arbitrage edges across major sportsbooks. It provides real-time scanner statistics, sample betting edges, and educational content on advanced betting concepts like the Kelly Criterion.
      5
      40 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Live and pre-match sports odds from 450+ bookmakers across 34 sports, plus Polymarket and Kalshi. Events, odds, fair prices, value bets, arbitrage, historical closing lines and bet settlement for AI assistants.
      33
      1,129 npm
      2
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Provides AI agents with live, grounded sports data including model probabilities, track records, and European soccer and tennis arbitrage opportunities, so they answer from real numbers instead of stale guesses.
      13
      68 npm
      1
      MIT