MCP.Market

Chess UCI MCP server

by AnglerfishChess·io.github.AnglerfishChess/chess-uci-mcp·v0.3.1·2 stars

Analyze chess positions and get best moves from UCI engines such as Stockfish or Leela

A89/100grade A
What users say
No reviews yet
Be the first
Safety scan
A89/100

full report

Adoption
Growing

2 stars75 downloads/wk

Reviews

Write one

Nobody has reviewed Chess UCI yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Chess UCI tools (6)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • analyze

    Analyze a chess position specified by FEN string.

  • engine_info

    Get information about the chess engine.

  • get_best_move

    Get the best move for a chess position.

  • get_engine_options

    Get all available UCI engine options with their metadata and current values.

  • set_engine_options

    Set one or more UCI engine options at runtime.

  • set_position

    Set the current chess position.

Public scan report

scanner v0.1.10 · 2026-10-14 · same rubric, same numbers if you re-run it

no findings
  • Code scan6 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 33 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
Overall 89/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Chess UCI compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
89/100
higher than 80% of 48,243 servers
Tools
6
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
2
more than 75% of 28,706 servers
Downloads a week
75
more than 55% of 12,306 servers with a package

What its tools let an agent do: 4 read · 2 change

Install Chess UCI in Claude Code, Cursor or VS Code

claude mcp add chess-uci-mcp -- uvx chess-uci-mcp
Add to Cursor

What the publisher says

From the Chess UCI repository's README, as published. We do not edit it. Read it on GitHub

chess-uci-mcp

An MCP bridge that provides an interface to UCI chess engines (such as Stockfish or Leela Chess Zero).

<!-- mcp-name: io.github.AnglerfishChess/chess-uci-mcp -->

The UCI side runs on esca: it speaks the protocol to the engine and answers every chess question the bridge has along the way.

Dependencies

You need to have Python 3.12 or newer, and also uv/uvx installed.

Usage

To function, it requires an installed UCI-compatible chess engine, like Stockfish (has been tested with Stockfish 17).

In case of Stockfish, you can download it from https://stockfishchess.org/download/.

On macOS, you can use brew install stockfish.

You need to find out the path to your UCI-capable engine binary; for further example configuration, the path is e.g. /usr/local/bin/stockfish (which is default for Stockfish installed on macOS using Brew).

The further configuration should be done in your MCP setup; for Claude Desktop, this is the file claudedesktopconfig.json (find it in Settings menu, Developer, then Edit Config).

The full path on different OSes

  • macOS: ~/Library/Application\ Support/Claude/claudedesktopconfig.json
  • Windows: %APPDATA%/Claude/claudedesktopconfig.json
  • Linux: ~/.config/Claude/claudedesktopconfig.json

Add the following settings to your MCP configuration (depending on the way to run it you prefer):

Uvx (recommended)

Uvx is able to directly run the Python application by its name, ensuring all the dependencies, in a automatically-created virtual environment. This is the preferred way to run the chess-uci-mcp bridge.

Set up your MCP server configuration (e.g. Claude Desktop configuration) file as following:

"mcpServers": {
  "chess-uci-mcp": {
    "command": "uvx",
    "args": ["chess-uci-mcp@latest", "/usr/local/bin/stockfish"]
  }
}

To pass options to the engine, add them to the args array. For example, to set the Threads and Hash options for Stockfish:

"mcpServers": {
  "chess-uci-mcp": {
    "command": "uvx",
    "args": [
      "chess-uci-mcp@latest", 
      "/usr/local/bin/stockfish",
      "-o", "Threads", "4",
      "-o", "Hash", "128"
    ]
  }
}

Uv

Use it if you have the repository cloned locally and run from it:

"mcpServers": {
  "chess-uci-mcp": {
    "command": "uv",
    "args": ["run", "chess-uci-mcp", "/usr/local/bin/stockfish"]
  }
}

Similarly, to pass options when running with uv:

"mcpServers": {
  "chess-uci-mcp": {
    "command": "uv",
    "args": [
      "run", 
      "chess-uci-mcp", 
      "/usr/local/bin/stockfish",
      "-o", "Threads", "4",
      "-o", "Hash", "128"
    ]
  }
}

Command-line Options

The application accepts the following command-line options:

  • ENGINE_PATH: (Required) The path to the UCI-compatible chess engine executable.
  • --uci-option or -o: Set a UCI option. This option can be used multiple times. It takes two arguments: the option name and its value (e.g., -o Threads 4).
  • --think-time: The default thinking time for the engine in milliseconds. Defaults to 1000.
  • --debug: Enable debug logging.

Available MCP Commands

The bridge provides the following MCP commands:

  1. analyze - Analyze a chess position specified by FEN string
  2. getbestmove - Get the best move for a chess position
  3. set_position - Set the current chess position
  4. engine_info - Get information about the chess engine
  5. getengineoptions - Get all available UCI engine options with their metadata and current values
  6. setengineoptions - Set one or more UCI engine options at runtime

Development

# Clone the repository
git clone https://github.com/AnglerfishChess/chess-uci-mcp.git
# ... or
#    git clone git@github.com:AnglerfishChess/chess-uci-mcp.git

cd chess-uci-mcp

# Create a virtual environment
uv venv --python python3.13

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Chess UCI: common questions

Is Chess UCI MCP server safe?
Yes, by our scan: it is graded A (89/100). Read the Chess UCI safety report
How do I install Chess UCI?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Chess UCI need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Chess UCI maintained?
The last commit was 55 days ago (2026-09-11). The latest release is v0.3.1.
How does Chess UCI compare with other MCP servers?
safety score 89/100 (higher than 80% of 48,243 servers); tools 6 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.