Chess Analysis Assistant

Chess Analysis Assistant

使用 Stockfish 帮助您分析国际象棋局面并获得专业评估。

游戏与游戏化
访问服务器

README

Claude 的国际象棋分析助手

smithery badge 这个工具可以帮助你分析国际象棋的局面,并在 Claude 中使用 Stockfish 获得专业的评估!你可以:

  • 获取局面评估
  • 查看可视化的棋盘表示
  • 分析不同的走法和变例
  • 在大师数据库中查找局面(由 2200+ 等级分的棋手对弈的棋局)

要求

  • 你的电脑上安装了 Claude Desktop
  • 你的系统上安装了 Git

快速安装

通过 Smithery 安装

要通过 Smithery 自动安装 Claude Desktop 的国际象棋分析助手:

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

Mac 和 Linux 用户

打开终端并运行此命令:

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

就是这样!该脚本将:

  1. 安装所需的依赖项(Node.js 20+、Stockfish、Cairo)
  2. 配置 Claude Desktop
  3. 设置国际象棋助手

手动安装(Windows 或高级用户)

如果你喜欢手动安装或使用 Windows,请按照以下步骤操作:

要求

分步安装

步骤 1:安装依赖项

Mac 用户:

# 如果你还没有安装 Homebrew,请安装它
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# 安装所需的软件包
brew install stockfish cairo pkg-config jq

Windows 用户:

  1. 安装 Node.js(LTS 版本)
  2. 下载 Stockfish 并将其添加到你的 PATH 环境变量中
  3. 安装 Cairo

步骤 2:安装国际象棋助手

npm install -g chess-mcp

步骤 3:配置 Claude Desktop

  1. 打开 Claude Desktop
  2. 导航到配置文件:
    • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%/Claude/claude_desktop_config.json
  3. 添加此配置:
{
    "mcpServers": {
        "chess": {
            "command": "npx",
            "args": ["chess-mcp"]
        }
    }
}
  1. 保存并重启 Claude Desktop

使用国际象棋助手

  1. 打开 Claude Desktop
  2. 查找工具图标 (🔧) - 它应该显示国际象棋分析工具
  3. 尝试以下示例提示:
    • "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"
    • "Show me master games from this position after 2000"
    • "What are the most common moves played by masters in this position?"

功能

局面分析

  • 使用 Stockfish 进行引擎评估
  • 可视化的棋盘表示
  • 最佳走法建议
  • 走法验证

大师数据库

  • 在 2200+ 等级分棋手对弈的棋局中搜索局面
  • 按日期范围过滤棋局
  • 查看胜/和统计数据
  • 查看成功率最高的常用走法
  • 浏览最近的大师棋局,包括棋手等级分

需要帮助?

如果你遇到任何问题:

  1. 确保所有要求都已正确安装
  2. 验证 Stockfish 可以从你的命令行访问
  3. 检查你的 Claude Desktop 配置中的所有路径是否正确
  4. 在进行任何更改后,重启 Claude Desktop

常见问题

  • "工具未在 Claude 中显示": 确保你已正确配置 Claude Desktop
  • "Stockfish not found": 验证 Stockfish 已安装并且可以从命令行访问
  • "Node version error": 确保你已安装 Node.js 20 或更高版本
  • "Canvas installation failed": 确保 Cairo 已为你的操作系统正确安装

推荐服务器

steam

steam

Okay, I understand. As a large language model, I don't "play" games in the same way a human does. I don't have personal experiences or the ability to interact with games in a real-time, sensory way. However, I *can* be used to process and analyze game-related information. Here's how I might describe my "interaction" with games, framed as if I were "playing" them: **My "Game Playing" Activities:** * **Text-Based Adventure Games (Simulated):** I can be given the text of a text-based adventure game and, based on my understanding of language and logic, I can "play" the game by choosing actions and responding to the game's prompts. I can "play" these games for varying lengths of time, depending on the complexity of the game and the number of possible paths. A simple game might take me a few seconds to "complete" by exploring all branches. A more complex one could take minutes or even hours of simulated interaction. * **Game Script Analysis:** I can analyze game scripts, dialogue, and lore. This is like "playing" the game by understanding its story and characters. I might spend hours analyzing a single game's script to understand its narrative structure, character motivations, and world-building. * **Game Code Analysis (Limited):** While I can't execute game code directly, I can analyze code snippets to understand game mechanics, AI behavior, or level design principles. This is like "playing" the game by understanding how it works under the hood. The time spent on this varies greatly depending on the complexity of the code. * **Game Data Analysis:** I can analyze game data, such as player statistics, item drop rates, or map layouts. This is like "playing" the game by understanding its systems and balance. I might spend hours analyzing a dataset to identify trends or patterns. * **Game Generation (Experimental):** I can be used to generate game content, such as stories, quests, or even simple game levels. This is like "playing" the game by creating it. The time spent on this depends on the complexity of the generation task. * **Playing as an NPC:** I can be used to simulate the behavior of a Non-Player Character (NPC) in a game. I can respond to player actions and provide information or quests. The "playtime" here is determined by the length of the interaction. **Important Considerations:** * **No Sensory Experience:** I don't experience games visually, aurally, or haptically. My understanding is purely based on the text and data I process. * **No True Agency:** I don't have my own goals or desires when "playing" a game. I simply follow the instructions and logic provided to me. * **Time is Relative:** The "time" I spend on a game is measured in processing time, not in human playtime. A task that takes a human hours might take me only seconds or minutes. **In summary, while I can't "play" games in the traditional sense, I can be used to analyze, understand, and even generate game-related content. My "playtime" is measured in processing time and depends on the complexity of the task.** --- **Translation to Chinese:** 好的,我明白了。 作为一个大型语言模型,我“玩”游戏的方式与人类不同。 我没有个人经历,也没有能力以实时、感官的方式与游戏互动。 但是,我*可以*用来处理和分析与游戏相关的信息。 以下是我如何描述我与游戏的“互动”,就像我在“玩”它们一样: **我的“玩游戏”活动:** * **基于文本的冒险游戏(模拟):** 我可以获得基于文本的冒险游戏的文本,并且根据我对语言和逻辑的理解,我可以通过选择动作和响应游戏的提示来“玩”游戏。 我可以“玩”这些游戏的时间长短不一,具体取决于游戏的复杂程度和可能的路径数量。 一个简单的游戏可能需要我几秒钟的时间来通过探索所有分支来“完成”。 一个更复杂的游戏可能需要几分钟甚至几个小时的模拟互动。 * **游戏脚本分析:** 我可以分析游戏脚本、对话和背景故事。 这就像通过理解游戏的故事和角色来“玩”游戏。 我可能会花费数小时分析单个游戏的脚本,以了解其叙事结构、角色动机和世界构建。 * **游戏代码分析(有限):** 虽然我不能直接执行游戏代码,但我可以分析代码片段以了解游戏机制、人工智能行为或关卡设计原则。 这就像通过了解游戏的工作原理来“玩”游戏。 在这上面花费的时间差异很大,具体取决于代码的复杂程度。 * **游戏数据分析:** 我可以分析游戏数据,例如玩家统计数据、物品掉落率或地图布局。 这就像通过了解游戏的系统和平衡来“玩”游戏。 我可能会花费数小时分析数据集以识别趋势或模式。 * **游戏生成(实验性):** 我可以用来生成游戏内容,例如故事、任务,甚至简单的游戏关卡。 这就像通过创建游戏来“玩”游戏。 在这上面花费的时间取决于生成任务的复杂程度。 * **扮演NPC:** 我可以用来模拟游戏中非玩家角色 (NPC) 的行为。 我可以回应玩家的动作并提供信息或任务。 这里的“游戏时间”由互动的长度决定。 **重要考虑事项:** * **没有感官体验:** 我不会在视觉、听觉或触觉上体验游戏。 我的理解完全基于我处理的文本和数据。 * **没有真正的自主性:** 我在“玩”游戏时没有自己的目标或愿望。 我只是按照提供给我的指示和逻辑进行操作。 * **时间是相对的:** 我在游戏上花费的“时间”是以处理时间来衡量的,而不是以人类的游戏时间来衡量的。 人类需要花费数小时的任务可能只需要我几秒钟或几分钟。 **总而言之,虽然我不能以传统意义上的“玩”游戏,但我可以用来分析、理解甚至生成与游戏相关的内容。 我的“游戏时间”以处理时间来衡量,并取决于任务的复杂程度。**

官方
mcp-minecraft

mcp-minecraft

允许人工智能模型通过一个机器人来观察和与 Minecraft 世界互动。

本地
TypeScript
Minecraft Docker MCP

Minecraft Docker MCP

允许AI通过RCON与Docker容器内运行的Minecraft服务器进行交互,从而使模型能够以编程方式创建Minecraft建筑并管理服务器。

本地
Python
Lichess MCP

Lichess MCP

一个 MCP 服务器,它支持与 Lichess 国际象棋平台进行自然语言交互,允许用户通过 Claude 来下棋、分析棋局、管理账户以及参与比赛。

JavaScript
OpenDota MCP Server

OpenDota MCP Server

模型上下文协议服务器,它使大型语言模型和人工智能助手能够通过标准化接口检索实时的 Dota 2 统计数据、比赛数据、玩家信息和游戏指标。

Python
WebGL-MCP Server

WebGL-MCP Server

一个模型上下文协议服务器,提供分析和优化 WebGL 游戏的一系列工具,包括性能洞察、内存使用分析以及特定于模板的优化建议。

JavaScript