Skip to content
MCP server

Chess MCP

Local chess app where humans and LLM agents play each other over MCP

Chess MCP is an open-source MCP server for ai models and llm tooling. It can run locally on your machine or as a hosted remote server.

Pricing
Open source
Platforms
Web, CLI, API
Runs
Locally or Remotely
What it can do
Can change data (3 tools)
Version
1.2.0
Listing updated

Similar MCP servers

Install

You install MCP servers on a computer. Send yourself the link.

Add with the CLI

Run in a terminal

claude mcp add chess-mcp -- npx -y @t145/chess-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "chess-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@t145/chess-mcp"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add chess-mcp -- npx -y @t145/chess-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.chess-mcp]
command = "npx"
args = ["-y", "@t145/chess-mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "chess-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@t145/chess-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

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

    Or run: gemini mcp add -s user chess-mcp npx -- -y @t145/chess-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

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

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "chess-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@t145/chess-mcp"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • CHESS_MCP_DATA_DIRDirectory for saved games, accounts, courses, and downloaded assets
  • CHESS_MCP_NO_ENGINE_DOWNLOADSet to 1 to skip the Stockfish, theme, and opening-book downloads
  • CHESS_MCP_DATA_DIRDirectory for saved games, accounts, courses, and downloaded assets
  • CHESS_MCP_NO_ENGINE_DOWNLOADSet to 1 to skip the Stockfish, theme, and opening-book downloads

About Chess MCP

Chess MCP runs a chess lobby in your browser and an MCP server from the same local process, so a person can sit at a board against an AI agent or two agents can play each other while you watch live. Agents reach the same game state over Streamable HTTP or stdio, and the browser and agents share one store.

Each game can carry a server-enforced clock with bullet, blitz, rapid and daily presets. Players can create a local account, and finished games receive a Stockfish review with accuracy, move labels, an eval bar and an opening book lookup. Agents can attach private notes to their moves that become public once the game ends.

It suits developers testing how language models handle board state and turn-taking, and chess fans who want to pit their own agents against each other locally. Everything binds to 127.0.0.1 with no cloud account service.

Tools this server provides (13)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 3 of 13 tools change data; 7 names don't say.

From the server's own tool labels and tool names; not verified by us.

signup
Create an account and return a session token.
signin
Sign in and return a session token.
signout
End a session token.
get_profileName suggests: reads
Read a profile and its games.
create_gameName suggests: changes
Create a game and claim a seat.
join_game
Claim an open seat in a game.
list_gamesName suggests: reads
List active games.
get_gameName suggests: reads
Return full game state including board, FEN and PGN.
make_moveName suggests: changes
Play a move in SAN or UCI with an optional note.
wait_for_moveName suggests: changes
Wait until it is your turn or the game changes.
draw
Offer, accept or decline a draw.
resign
Resign a game.
review_game
Analyze a finished game with Stockfish.

What it does

Live browser lobby
Boards, move lists and draw offers update over WebSocket for every spectator.
Dual MCP transports
Agents connect over Streamable HTTP at /mcp or over stdio from a single npx command.
Server-enforced clocks
Bullet, blitz, rapid and daily time controls are tracked on the server with timeouts.
Stockfish game review
Finished games get accuracy, move classifications and an evaluation graph.
Private move notes
Agents record their board check with each move, visible to the opponent only after the game ends.
Local accounts
Password-protected accounts with scrypt hashing keep identity across games.

Good for

  • Pit a local LLM agent against a human player in the browser
  • Watch two AI agents play each other for evaluation or benchmarking
  • Test how an MCP client handles multi-step turn-based game state
  • Review finished games with engine accuracy and opening names
  • Author and publish guided chess lessons with an agent over the course endpoint

Pricing

Open source

Free and open source; the project is Apache-2.0 licensed.

Chess MCP FAQ

How do I start Chess MCP without cloning the repository?

Run npx -y @t145/chess-mcp --stdio. This starts the web app and MCP server together and opens the lobby in your browser. Node.js 22 or newer is required.

Does anything leave my machine?

The server binds to 127.0.0.1 and has no remote account service. The only external downloads are the Stockfish engine, piece themes and opening dataset, which can be disabled with CHESS_MCP_NO_ENGINE_DOWNLOAD=1.

Can an agent see my opponent's notes during a game?

No. Notes are private to each seat while the game runs and become public when the game ends.

Which MCP transport should I use for a client that uses URLs?

Use a streamableHttp entry pointing at http://127.0.0.1:6464/mcp with an explicit type field. URL-only entries are treated as the legacy SSE transport and will fail.

Is Chess MCP free?

Yes. Chess MCP is open source, so you can use and self-host it for free.

How do I add Chess MCP to Claude Code?

Run this command in your terminal: claude mcp add chess-mcp -- npx -y @t145/chess-mcp

What are the best alternatives to Chess MCP?

The closest alternatives to Chess MCP are Chesswithclaw, Llmpvp, Chess.com MCP by UnClick, Agent Arcade MCP and Slg MCP.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers