npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ipl-mcp

v1.2.2

Published

MCP server for querying IPL cricket data — 19 seasons of ball-by-ball data

Downloads

594

Readme

ipl-mcp

MCP server for querying IPL cricket data. 19 seasons of ball-by-ball data (2008-2026) — 280K+ deliveries, 1000+ matches.

The database is automatically downloaded and kept up to date from overgraph.in.

Usage

Claude Desktop

Add to your claude_desktop_config.json:

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

Claude Code

Add to your .mcp.json:

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

Tools

query

Run any SQL query against the IPL database (DuckDB dialect).

"Who scored the most runs in IPL history?"
→ SELECT player, runs, matches, strike_rate FROM player_career_stats ORDER BY runs DESC LIMIT 10

player_profile

Get a comprehensive player profile in one call — career stats, best season, phase breakdown, top venues, top opponents, and dismissal patterns. Supports fuzzy name matching.

"Tell me about Klaasen" → player_profile("Klaasen")

team_season

Full team season summary — W/L record, top run scorers, top wicket takers, highest totals, and Player of the Match awards. Omit season for all-time summary.

"How did CSK do in 2024?" → team_season("CSK", "2024")

head_to_head_teams

Complete rivalry summary between two IPL teams — overall record, last 5 results, top performers, and biggest wins.

"MI vs CSK rivalry" → head_to_head_teams("Mumbai", "Chennai")

match_of_the_day

Returns a random classic IPL match — picks from last-ball wins, centuries, super overs, and highest chases. Great for trivia or nostalgia.

compare_players

Side-by-side comparison of two players — career stats, phase breakdown, batting positions, and head-to-head (if they've bowled to each other).

"Kohli vs Rohit" → compare_players("Kohli", "Rohit")

list_tables

Lists all available tables with column names and types.

Available Tables

| Table | Description | |-------|------------| | matches | Match metadata — date, venue, teams, winner, toss | | deliveries | Ball-by-ball data — batter, bowler, runs, wickets | | batting_scorecard | Per-innings batting stats | | bowling_scorecard | Per-innings bowling stats | | partnerships | Batting partnerships by wicket | | match_summary | Team totals per match | | player_career_stats | Career aggregates | | player_season_stats | Per-season aggregates | | player_batting_phase_stats | Batting by phase (powerplay/middle/death) | | player_bowling_phase_stats | Bowling by phase | | player_position_stats | Batting by position | | player_venue_stats | Per-venue performance | | player_opponent_stats | Per-opponent performance | | player_dismissal_stats | Dismissal type breakdown | | head_to_head | Batter vs bowler career records | | venue_stats | Venue averages and tendencies | | venue_team_record | Team record at each venue | | venue_season_stats | Venue trends by season | | match_players | Squad lists per match | | players | Player name/ID registry |

Data Updates

The database is updated from Cricsheet data. When new matches are added, the MCP server automatically downloads the latest version on next startup.

Data is cached locally at ~/.ipl-mcp/.

License

MIT