chesscom-stats-mcp
Connects to Chess.com's public Published-Data API to retrieve player statistics, including monthly summaries, recent games, current and best ratings, and public profile information.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@chesscom-stats-mcp How did I do this month?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
chesscom-stats-mcp
An MCP server for Chess.com stats. Plug it into Claude (or any MCP client) and ask things like:
"How did I do this month?"
"What's my score with the Pirc as black?"
"Show me my last five rapid games."
"What's Hikaru's bullet rating?"

It uses Chess.com's public Published-Data API, so there is no API key and nothing to sign in to. It only reads public data.
Install
Claude Code
claude mcp add chesscom -e CHESSCOM_USERNAME=your_username -- npx -y chesscom-stats-mcpClaude Desktop, Cursor and other clients
Add this to the client's MCP config (for Claude Desktop, claude_desktop_config.json):
{
"mcpServers": {
"chesscom": {
"command": "npx",
"args": ["-y", "chesscom-stats-mcp"],
"env": { "CHESSCOM_USERNAME": "your_username" }
}
}
}CHESSCOM_USERNAME is optional. With it set, "how did I do?" means you; without it, name the
player in the question.
Related MCP server: MCP Chess Server
Tools
Tool | What it returns |
| One month at a glance: win/loss/draw and score %, rating change per time control, results as white and black, average accuracy, how wins and losses ended, longest streaks, best win, worst loss, most-played openings. Defaults to the current month; filter by time control or include unrated games. |
| The latest games, newest first, with result, ratings, opening, accuracy and a link. |
| Current and best rating plus lifetime record for bullet, blitz, rapid and daily. |
| Public profile: name, country, join date, league, followers. |
All tools are read-only.
Notes
Ratings on a Chess.com game are post-game, so a month's
ratingChangeruns from the rating after the first rated game of the month to the rating after the last one.Accuracy is only present for games that were reviewed on Chess.com, so
averageAccuracycoversgamesWithAccuracygames, not all of them.Variants (Chess960 and so on) are left out of
month_summary.
Development
npm install
npm test # builds, then runs the unit tests
node scripts/demo.mjs list # list tools over a real stdio connection
node scripts/demo.mjs month_summary '{"username":"hikaru"}'License
MIT
Available Tools
4 toolsget_profilePlayer profileBRead-only
A Chess.com player's public profile: name, country, join date, league, followers.
Inputs: username.
get_ratingsCurrent ratingsARead-only
Current and best rating plus lifetime win/loss/draw record for each time control (bullet, blitz, rapid, daily).
Inputs: username.
month_summaryMonth summaryARead-only
How a player did in one calendar month: record and score, rating change per time control, results as white and black, average accuracy, how wins and losses ended, streaks, best win, worst loss and most-played openings. Defaults to the current month. Use this for questions like "how did I do this month?".
Inputs: year, month, username, rated_only, +1 more.
recent_gamesRecent gamesARead-only
A player's most recent finished games, newest first, with result, ratings, opening, accuracy and a link.
Inputs: limit, username, time_class.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct slice: profile identity, current/best ratings, a monthly aggregate, and a raw recent-games list. The only mild overlap is between month_summary and recent_games, both about played games, but the aggregate-vs-list distinction is spelled out clearly in the descriptions.
Two tools use a get_ verb prefix (get_profile, get_ratings) while the other two are bare noun phrases (month_summary, recent_games). Names are readable and unambiguous, but the set mixes two conventions rather than following one pattern.
Four tools is lean but sensible for a focused Chess.com stats server — identity, ratings, monthly performance, recent games. It sits just under a fully comfortable surface, since users may also want historical or arbitrary-range stats.
Core stats workflows are covered (profile, ratings, month summary, recent games), but there are notable gaps: no arbitrary date-range or archive queries, no fetching a specific game, and no puzzle/tactics or online-status data. Agents can work around some of this but will hit dead ends for historical queries.
Maintenance
Related MCP Connectors
Chess.com MCP — wraps the Chess.com public API (free, no auth)
Lichess MCP — public read-only API for users, games, explorer, tablebase.
Hosted MCP server for live public-data APIs and Skills for AI agents.
Chess MCP for Claude: engine analysis, attack maps, game review. One URL, no install.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides access to Chess.com player data, game records, and public information through standardized MCP interfaces, allowing AI assistants to search and analyze chess information.1094MIT
- AlicenseBqualityDmaintenanceProvides Chess.com player data integration, enabling AI assistants to fetch real-time chess player profiles and comprehensive statistics including ratings, game counts, and performance metrics from Chess.com's public API.2MIT
- AlicenseAqualityCmaintenanceEnables querying Chess.com public data including player profiles, stats, games, and club information through natural language.9MIT
- AlicenseAqualityDmaintenanceMCP server that exposes the Lichess public API through tools for querying player profiles, games, analysis, openings, puzzles, and tournaments, allowing natural-language chess questions without an API key.8MIT