Skip to main content
Glama
Chess.com MCP Server

Chess.com MCP Server

by udarrr

Chess.com MCP Server

A Model Context Protocol server written in TypeScript for Chess.com's public API. It exposes the complete documented Chess.com PubAPI through 30 tools and seven resources without authentication.

Install from npm

Requirements: Node.js 20.9 or newer.

Run the latest published package directly:

npx -y chess-mcp-node@latest

The default transport is stdio. The package is distributed through npm and can also be installed from the VS Code MCP gallery after its registry metadata is published.

For VS Code, create or open .vscode/mcp.json in your workspace:

{
  "servers": {
    "chess": {
      "command": "npx",
      "args": ["-y", "chess-mcp-node@latest"]
    }
  }
}

After publication, search for @mcp chess in VS Code and select Install to add the server from the MCP gallery.

For Claude Desktop, add the server to its MCP configuration:

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

Related MCP server: Chess.com MCP Server

Run from source

Requirements: Node.js 20.9 or newer.

npm ci
npm run build
npm start

The default source-run transport is stdio. To run the optional SSE transport:

# macOS/Linux
MCP_TRANSPORT=sse npm start
# Windows PowerShell
$env:MCP_TRANSPORT = "sse"
npm start

The SSE server listens on port 8000 by default and provides /sse, /messages, and /health. Set PORT and HOST to override those defaults.

Set CHESS_API_BASE_URL to override the Chess.com API base URL for development or testing.

Development

Run the test suite and type checker:

npm test
npm run typecheck

Create a coverage report with:

npm run test:coverage

Available tools

  • get_player_profile

  • get_titled_players

  • get_player_stats

  • is_player_online

  • get_player_current_games

  • get_player_games_to_move

  • get_player_game_archives

  • get_player_games_by_month

  • get_player_live_games

  • download_player_games_pgn

  • get_player_clubs

  • get_player_matches

  • get_player_tournaments

  • get_club_profile

  • get_club_members

  • get_club_matches

  • get_tournament

  • get_tournament_round

  • get_tournament_round_group

  • get_team_match

  • get_team_match_board

  • get_live_team_match

  • get_live_team_match_board

  • get_country_profile

  • get_country_players

  • get_country_clubs

  • get_daily_puzzle

  • get_random_puzzle

  • get_streamers

  • get_leaderboards

Available resources

  • chess://player/{username}

  • chess://player/{username}/stats

  • chess://player/{username}/games/current

  • chess://player/{username}/games/{year}/{month}

  • chess://player/{username}/games/{year}/{month}/pgn

  • chess://titled/{title}

  • chess://club/{url_id}

License

MIT

Available Tools

30 tools
download_player_games_pgnC

Download PGN files for all games in a specific month from Chess.com

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

get_club_matchesC

Get team matches for a club on Chess.com

Inputs: url_id (required).

get_club_membersC

Get members of a club on Chess.com

Inputs: url_id (required).

get_club_profileC

Get information about a club on Chess.com

Inputs: url_id (required).

get_country_clubsC

Get clubs associated with a country on Chess.com

Inputs: country (required).

get_country_playersB

Get recently active players associated with a country on Chess.com

Inputs: country (required).

get_country_profileC

Get a country profile on Chess.com

Inputs: country (required).

get_daily_puzzleA

Get the current daily puzzle from Chess.com

Inputs: no named parameters.

get_leaderboardsA

Get Chess.com leaderboards

Inputs: no named parameters.

get_live_team_matchC

Get a live team match on Chess.com

Inputs: match_id (required).

get_live_team_match_boardB

Get a board from a live team match on Chess.com

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

get_player_clubsB

Get the clubs a player belongs to on Chess.com

Inputs: username (required).

get_player_current_gamesC

Get a player's ongoing games on Chess.com

Inputs: username (required).

get_player_game_archivesB

Get a list of available monthly game archives for a player on Chess.com

Inputs: username (required).

get_player_games_by_monthC

Get a player's games for a specific month from Chess.com

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

get_player_games_to_moveC

Get a player's daily games where they must act

Inputs: username (required).

get_player_live_gamesC

Get a player's live games for a time control from Chess.com

Inputs: username (required), base_time (required), increment (required).

get_player_matchesB

Get team matches involving a player on Chess.com

Inputs: username (required).

get_player_profileC

Get a player's profile from Chess.com

Inputs: username (required).

get_player_statsC

Get a player's stats from Chess.com

Inputs: username (required).

get_player_tournamentsC

Get tournaments involving a player on Chess.com

Inputs: username (required).

get_random_puzzleA

Get a random daily puzzle from Chess.com

Inputs: no named parameters.

get_streamersA

Get the current Chess.com streamer list

Inputs: no named parameters.

get_team_matchC

Get a daily team match on Chess.com

Inputs: match_id (required).

get_team_match_boardA

Get a board from a daily team match on Chess.com

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

get_titled_playersC

Get a list of titled players from Chess.com

Inputs: title (required).

get_tournamentC

Get information about a tournament on Chess.com

Inputs: url_id (required).

get_tournament_roundC

Get a tournament round on Chess.com

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

get_tournament_round_groupC

Get a tournament round group on Chess.com

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

is_player_onlineB

Check if a player is currently online on Chess.com

Inputs: username (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 30 tools

    Disambiguation5/5

    Each tool targets a distinct resource or action: player status, games, archives, puzzles, clubs, tournaments, countries, streamers, and leaderboards. Even similar tools like get_player_current_games, get_player_games_to_move, and get_player_live_games are clearly differentiated by their descriptions and purpose.

    Naming Consistency4/5

    Most tools follow the 'get_<resource>' pattern with underscores, but there are two deviations: 'is_player_online' uses a boolean prefix and 'download_player_games_pgn' uses 'download' instead of 'get'. These are minor and the overall naming is consistent and predictable.

    Tool Count2/5

    With 30 tools, the server exceeds the 25-tool threshold that the rubric considers 'too many'. While the scope of the Chess.com public API is broad, the tool surface is heavy and could overwhelm agents, especially when many tools are simple getters that might be combined.

    Completeness5/5

    The tool set comprehensively covers the read-only Chess.com public API: player profiles, stats, online status, games (current, to move, by month, live), archives, PGN download, clubs, tournaments (with rounds and groups), team matches (including live and boards), countries, puzzles, streamers, and leaderboards. There are no obvious gaps in the domain.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      Enables interaction with Chess.com's public API to retrieve player profiles and statistics including rating history and performance metrics for any Chess.com username.
      2
      -
    • F
      license
      B
      quality
      D
      maintenance
      Provides tools to interact with the Chess.com Public API for fetching real-time player profiles and detailed game statistics. It enables LLMs to access information like player ratings, win/loss records, and current online status.
      2
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to explore player profiles, ratings, game archives, leaderboards, clubs, and puzzles via the Chess.com API.
      2
      MIT
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides access to Chess.com's public API, allowing AI assistants to fetch player information and statistics.
      -