TC

turlockmike/chess-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

19 stars 8 forks 质量 62 趋势 22MIT

具有各种国际象棋功能的 MCP 服务器

概览

这个工具可以帮助你分析国际象棋位置 并利用鱼群获得专业评价 就在克洛德内部 您可以: - 获取位置评价 - 参见视觉板表现 - 分析不同的动作和变化 - 查找主机数据库中的位置(游戏由2200+被评分的玩家游戏) - Claude桌面安装在您的计算机上 - Git安装在您的系统上 要通过 Smithery 自动为 Claude 桌面安装国际象棋分析助理 : 就这样! 脚本将: 1. 安装所需的依赖性(Node.js 20+, Stockfish, Cairo) 2. 配置克洛德桌面 3. 设立国际象棋助理 如果您喜欢手工安装或使用Windows,请遵循这些步骤: - Claude桌面 - Node.js版本20或更高 - Stockfish 围棋引擎 - Cairo图形库(用于棋盘可视化) 1. 安装Node.js(LTS版本) 2. 下载 Stockfish并添加到您的 PATH 3. 安装开罗 1. 打开克洛德桌面2.

概述(AI 翻译)

这个工具可以帮助你分析国际象棋位置 并利用鱼群获得专业评价 就在克洛德内部 你可以这样:

  • 获得职位评价
  • 见视觉板的表示
  • 分析不同的动作和变化
  • 查找主数据库中的位置(由2200+被评分的玩家游戏)

□ 要求

  • Claude桌面安装在电脑上
  • 安装在您的系统上

□ 快速安装

通过 Smithery 安装

要通过 Smithery 自动为 Claude 桌面安装国际象棋分析助理 :

& > Mac 和 Linux 用户

打开终端并运行此命令 :

就这样! 剧本将:

  1. 安装所需的附属设施(第20号Js号以上,Stockfish,开罗)
  2. 配置克洛德桌面
  3. 设立国际象棋助理

□ 手动安装( 窗口或高级用户)

如果您喜欢手工安装或使用Windows,请遵循这些步骤:

所需经费

  • 克劳德桌面
  • 节点.js版本20或以上
  • 鱼鱼围棋引擎
  • 开罗图形图书馆(供理事会可视化使用)
  • 一步一步安装

  • 步骤1:安装依赖

** 计算机用户:**

窗口用户:

  1. 安装节点.js(LTS版本)
  2. 联合国.

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Chess Analysis Assistant for Claude

This tool helps you analyze chess positions and get professional evaluations using Stockfish, right within Claude! You can:

  • Get position evaluations
  • See visual board representations
  • Analyze different moves and variations
  • Look up positions in the masters database (games played by 2200+ rated players)

Requirements

  • Claude Desktop installed on your computer
  • Git installed on your system

Quick Installation

Installing via Smithery

To install Chess Analysis Assistant for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install chess-mcp --client claude

Mac and Linux Users

Open Terminal and run this command:

curl -fsSL https://raw.githubusercontent.com/turlockmike/chess-mcp/master/install.sh | bash

That’s it! The script will:

  1. Install required dependencies (Node.js 20+, Stockfish, Cairo)
  2. Configure Claude Desktop
  3. Set up the Chess Assistant

Manual Installation (Windows or Advanced Users)

If you prefer to install manually or are using Windows, follow these steps:

Requirements

Step-by-Step Installation

Step 1: Install Dependencies

Mac Users:

# Install Homebrew if you haven't already
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install required packages
brew install stockfish cairo pkg-config jq

Windows Users:

  1. Install Node.js (LTS version)
  2. Download Stockfish and add it to your PATH
  3. Install Cairo

Step 2: Install Chess Assistant

npm install -g chess-mcp

Step 3: Configure Claude Desktop

  1. Open Claude Desktop
  2. Navigate to the configuration file:
    • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%/Claude/claude_desktop_config.json
  3. Add this configuration:
{
    "mcpServers": {
        "chess": {
            "command": "npx",
            "args": ["chess-mcp"]
        }
    }
}
  1. Save and restart Claude Desktop

Using the Chess Assistant

  1. Open Claude Desktop
  2. Look for the tools icon (🔧) - it should show chess analysis tools
  3. Try these example prompts:
    • “Analyze this position: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1”
    • “Show me the current position”
    • “What’s the best move in this position?”
    • “Look up this position in the masters database”
在 GitHub 查看完整 README

安装

npx chess-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "chess": { "command": "npx", "args": ["chess-mcp"] } } }