Skip to content
MCP server

Stockfish MCP

A Stockfish MCP server to allow an LLM to play chess against Stockfish

Runs locallyStatus and history
Runs
Locally
Version
v1.0.2
Listing updated
4 days ago

About Stockfish MCP

Stockfish MCP is an MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add stockfish-mcp -- uvx stockfish-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "stockfish-mcp": {
      "command": "uvx",
      "args": [
        "stockfish-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "stockfish-mcp": {
      "command": "uvx",
      "args": [
        "stockfish-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "stockfish-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "stockfish-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "stockfish-mcp": {
      "command": "uvx",
      "args": [
        "stockfish-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "stockfish-mcp": {
      "command": "uvx",
      "args": [
        "stockfish-mcp"
      ]
    }
  }
}

Stockfish MCP FAQ

How do I add Stockfish MCP to Claude Code?

Run this command in your terminal: claude mcp add stockfish-mcp -- uvx stockfish-mcp