Skip to main content
Glama

Chess.com MCP

TypeScript MCP server backed by chess-web-api.

This is an unofficial MCP server. It is not affiliated with, endorsed by, or maintained by Chess.com.

Requirements

  • Node.js 20 or newer

  • npm

Related MCP server: mcp-server

Development

npm install
npm run dev

Build and run the compiled server:

npm run build
npm start

Run a local end-to-end smoke test. It verifies that all official tools are registered, starts the compiled MCP server, and exercises representative JSON and PGN responses against Chess.com.

npm run test:smoke

MCP client configuration

Build the project, then add the server to an MCP client configuration.

{
  "mcpServers": {
    "chesscom": {
      "command": "npx",
      "args": ["-y", "chesscom-mcp@latest"]
    }
  }
}

Tools

Player:

  • get_player_profile

  • get_player_stats

  • get_player_current_daily_games

  • get_player_to_move_daily_games

  • get_player_archives

  • get_player_games

  • get_player_monthly_pgn

  • get_player_clubs

  • get_player_matches

  • get_player_tournaments

  • get_titled_players

Clubs and tournaments:

  • get_club

  • get_club_members

  • get_club_matches

  • get_tournament

  • get_tournament_round

  • get_tournament_round_group

Team matches:

  • get_team_match

  • get_team_match_board

  • get_live_team_match

  • get_live_team_match_board

Countries:

  • get_country

  • get_country_players

  • get_country_clubs

General:

  • get_daily_puzzle

  • get_random_puzzle

  • get_streamers

  • get_leaderboards

Unofficial:

  • get_game_by_id: retrieves live game data and reconstructs PGN using Chess.com's undocumented website callback

get_game_by_id is not part of Chess.com's Published Data API. It may change or stop working without notice, and excessive requests may result in an IP ban. Use it sparingly.

Deprecated getPlayerOnline remains excluded.

Chess.com's public API limits parallel requests. This server serializes API calls to reduce 429 Too Many Requests responses.

Available Tools

29 tools
get_clubA

Get a Chess.com club's public profile.

Inputs: clubId (required).

get_club_matchesA

List a Chess.com club's registered, active, and finished matches.

Inputs: clubId (required).

get_club_membersA

List a Chess.com club's members grouped by activity.

Inputs: clubId (required).

get_countryB

Get a Chess.com country profile by ISO country code.

Inputs: countryCode (required).

get_country_clubsA

List Chess.com clubs associated with a country.

Inputs: countryCode (required).

get_country_playersC

List Chess.com players associated with a country.

Inputs: countryCode (required).

get_daily_puzzleA

Get today's Chess.com daily puzzle.

Inputs: no named parameters.

get_game_by_idA

Get live game data and generated PGN through Chess.com's unofficial website callback. This endpoint is unstable; use it sparingly.

Inputs: gameId (required).

get_leaderboardsB

Get Chess.com leaderboards for supported game types and activities.

Inputs: no named parameters.

get_live_team_matchB

Get details and players for a Chess.com Live team match.

Inputs: matchId (required).

get_live_team_match_boardB

Get games and scores for a board in a Chess.com Live team match.

Inputs: board (required), matchId (required).

get_player_archivesA

List the monthly game archives available for a Chess.com player.

Inputs: username (required).

get_player_clubsA

List the Chess.com clubs a player belongs to.

Inputs: username (required).

get_player_current_daily_gamesB

Get a Chess.com player's current Daily Chess games.

Inputs: username (required).

get_player_gamesA

Get all finished Chess.com games for a player in a specific month.

Inputs: year (required), month (required), username (required).

get_player_matchesA

List a Chess.com player's registered, active, and finished team matches.

Inputs: username (required).

get_player_monthly_pgnA

Download all of a Chess.com player's games for a month as PGN text.

Inputs: year (required), month (required), username (required).

get_player_profileB

Get a Chess.com player's public profile.

Inputs: username (required).

get_player_statsA

Get a Chess.com player's ratings and win/loss statistics.

Inputs: username (required).

get_player_to_move_daily_gamesB

Get current Daily Chess games where it is the player's turn.

Inputs: username (required).

get_player_tournamentsA

List a Chess.com player's registered, active, and finished tournaments.

Inputs: username (required).

get_random_puzzleA

Get a random Chess.com daily puzzle.

Inputs: no named parameters.

get_streamersA

List Chess.com streamers and their public streaming profiles.

Inputs: no named parameters.

get_team_matchB

Get details and players for a Chess.com Daily team match.

Inputs: matchId (required).

get_team_match_boardA

Get games and scores for a board in a Chess.com Daily team match.

Inputs: board (required), matchId (required).

get_titled_playersB

List Chess.com players holding a specified chess title.

Inputs: title (required).

get_tournamentC

Get details for a Chess.com tournament.

Inputs: tournamentId (required).

get_tournament_roundB

Get details for a round in a Chess.com tournament.

Inputs: round (required), tournamentId (required).

get_tournament_round_groupB

Get details for a group in a Chess.com tournament round.

Inputs: group (required), round (required), tournamentId (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 29 tools

    Disambiguation3/5

    Several tools have overlapping purposes, such as get_player_to_move_daily_games and get_player_current_daily_games, where one is a subset of the other. Similarly, get_player_games and get_player_monthly_pgn both retrieve monthly games, differing only in format. Descriptions help clarify, but the surface could cause an agent to misselect between these pairs.

    Naming Consistency4/5

    All tools follow a consistent get_<resource>_<attribute> pattern, making the naming largely predictable. Minor deviations like get_player_to_move_daily_games versus get_player_current_daily_games and get_daily_puzzle versus get_random_puzzle introduce slight inconsistency, but no chaotic mixing of styles.

    Tool Count2/5

    With 29 tools, this exceeds the 25-tool threshold for a heavy count. The set includes many granular variations (e.g., team match, live team match, and board variants) that could be consolidated, and some obvious redundancies like get_player_games versus get_player_monthly_pgn. The count feels excessive for the scope of read-only Chess.com data retrieval.

    Completeness4/5

    The tool set covers a broad range of Chess.com read-only endpoints, including players, clubs, countries, tournaments, matches, puzzles, streamers, and leaderboards. Minor gaps exist, such as no direct head-to-head comparison tool, but for the apparent purpose of retrieving data, the coverage is nearly comprehensive.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Provides access to Chess.com player data, game records, and public information through standardized MCP interfaces, allowing AI assistants to search and analyze chess information.
      10
      94
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that fetches and filters chess.com game data, returning compact summaries instead of massive JSON, enabling LLMs to answer questions about player performance and head-to-head records.
      -
    • A
      license
      A
      quality
      D
      maintenance
      MCP 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.
      8
      MIT