Lichess MCP
lichess-mcp
一个将 Claude 连接到 Lichess 的 模型上下文协议 (MCP) 服务器。通过 Claude 即可下棋、分析棋局、解决谜题、管理挑战并查看统计数据。
安装
Claude Desktop
将以下内容添加到你的 Claude Desktop 配置文件中:
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"lichess-mcp": {
"command": "npx",
"args": ["-y", "lichess-mcp"]
}
}
}保存后重启 Claude Desktop。
Claude Code
claude mcp add lichess-mcp -- npx -y lichess-mcpRelated MCP server: ChessAgine MCP
身份验证
安装完成后,请让 Claude “start Lichess auth”。浏览器窗口将会打开,供你使用 Lichess 账号授权该应用。你的令牌将缓存在本地 ~/.lichess-mcp-auth/token.json 中,并在以后的会话中自动重用。
工具
身份验证
工具 | 描述 |
| 开始 OAuth 登录 — 打开浏览器窗口 |
| 检查你是否已登录 |
账户与用户
工具 | 描述 |
| 你的等级分和账户统计数据 |
| 任何玩家的公开资料 |
| 你最近的游戏历史(按颜色、排位/非排位筛选) |
| 任何玩家随时间变化的等级分历史 |
| 两名玩家之间的对战记录 |
| 按时限(子弹、闪电、快棋等)排名的顶尖玩家 |
挑战
工具 | 描述 |
| 列出你收到的和发出的挑战 |
| 接受收到的挑战 |
| 拒绝挑战(可附带原因) |
| 取消你发出的挑战 |
| 向特定玩家发起挑战 |
| 与 Stockfish AI 对弈(等级 1–8) |
游戏
工具 | 描述 |
| 列出你正在进行的游戏 |
| 走棋(UCI 记谱法,例如 |
| 获取游戏的实时棋盘状态 |
| 流式传输传入事件(挑战、游戏开始) |
| 在游戏初期中止游戏 |
| 认输 |
| 提和、接受或拒绝和棋 |
| 请求、接受或拒绝悔棋 |
| 在游戏中发送聊天消息 |
谜题与分析
工具 | 描述 |
| 今日 Lichess 谜题 |
| 通过 ID 获取特定谜题 |
| 你下一个推荐的谜题 |
| 你最近的谜题历史和结果 |
| 针对 FEN 局面的 Stockfish 云评估 |
示例提示词
“我现在的闪电棋等级分是多少?”
“展示我最近 5 局执白棋的游戏”
“向 @DrNykterstein 发起一场 5+3 的排位赛挑战”
“开始一场对阵 Stockfish 5 级的游戏,10 分钟,我执白”
“列出我收到的挑战”
“接受挑战 abc123”
“Magnus 和 Hikaru 之间的对战记录如何?”
“展示前 10 名子弹棋玩家”
“今天的谜题是什么?”
“获取我的下一个谜题”
“展示我最近 50 次尝试的谜题活动”
“这个局面的最佳走法是什么:
rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1”“认输我当前的游戏”
“在游戏 xyz 中向对手发送‘good luck’”
要求
Node.js 18+
一个 Lichess 账号
许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceAn MCP server that enables natural language interaction with the Lichess chess platform, allowing users to play games, analyze positions, manage their account, and participate in tournaments through Claude.902217MIT
- AlicenseNot gradedqualityAmaintenanceEnables comprehensive chess analysis through Stockfish engine integration, positional evaluation, puzzle training, game review, and access to extensive chess databases. Provides visual board rendering, interactive game viewers, and tactical puzzle training with 3+ million problems from Lichess.29MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language interaction with Lichess chess platform to play games, analyze positions, manage challenges and tournaments, and interact with other players through Claude Desktop.22MIT
- AlicenseNot gradedqualityDmaintenanceEnables playing chess games with legal move validation and AI opponent moves powered by the Stockfish engine. Supports multiple concurrent games and provides moves in UCI format.MIT
Related MCP Connectors
Live SEO workflow tools for Claude Code, Codex, and AI agents.
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Read, edit, publish, and preview your pepita websites from Claude.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jamespdaily/lichess-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server