MODEL CONTEXT PROTOCOL · Native AI Integration

Cricket Intelligence for Claude & Cursor

Model Context Protocol (MCP) server for OpenCricketAPI. Give your agents scorecards, every delivery, points tables, season leaderboards, partnerships, phase splits, batter-versus-bowler history and fantasy points with zero configuration.

claude_desktop_config.json
npx opencricket-mcp
{
  "mcpServers": {
    "opencricket": {
      "command": "npx",
      "args": ["-y", "opencricket-mcp"],
      "env": { "OPENCRICKET_API_KEY": "oc_live_..." }
    }
  }
}

The opencricket-mcp package ships on npm at launch. Nothing to install: npx -y opencricket-mcp fetches and runs it. Node ≥ 20. Cursor and other remote-capable clients can connect straight to https://opencricketapi.com/v1/mcp with the header Authorization: Bearer oc_live_….

API Key Provisioning

Replace oc_live_... with your OpenCricket API key. A free Starter key (1,000 requests/month, matches from the last 12 months) runs 8 of the 18 tools. Get one free on the Pricing page. Developer ($14/mo, 250,000 requests) unlocks the full archive and the 10 marked below.

Nothing to Keep Running

No daemon, no build step. Your client spawns it over stdio and it exits with your session. Requests go to the API on Cloudflare, which keeps recently used matches in memory, so follow-up questions about a match are fast.

TOOL MATRIX

18 Native MCP Tools

stdio JSON-RPC 2.0
8 run on a free Starter key. The 10 marked DEVELOPER return an explicit plan_upgrade_required until you upgrade — never an empty result you have to guess about.
search_cricket
Find players, teams, competitions and venues by name.
list_competitions
List competitions with formats, seasons and match counts.
get_standings
Points table for a competition season, with net run rate.
get_leaders
Season leaderboards: top run-scorers, wicket-takers, sixes and best figures.
list_matches
Find matches by team, competition, season or date.
get_match
Match summary, toss, result and innings totals.
get_scorecard
Batting and bowling scorecards with dismissals.
get_deliveriesDEVELOPER
Ball-by-ball data for an innings or a range of overs.
get_over_by_overDEVELOPER
Runs and wickets for every over.
get_partnershipsDEVELOPER
Partnerships for every wicket.
get_phase_splitsDEVELOPER
Powerplay, middle and death-over splits (recorded powerplay or labelled fixed overs).
get_fantasy_pointsDEVELOPER
Fantasy points for every player in a match, with the rules and event counts behind them.
get_player
Player profile and career splits by format.
get_matchupDEVELOPER
Batter-versus-bowler head-to-head history.
get_venue_profileDEVELOPER
Venue scoring patterns and toss decisions.
get_live_matchesDEVELOPER
Matches in progress worldwide with live scores.
get_live_matchDEVELOPER
Live match centre: batters, bowlers and the latest balls.
get_fixturesDEVELOPER
Upcoming matches for the next two weeks.
← API DocumentationGet a free key →