Skip to main content
Glama
jamespdaily

Lichess MCP

by jamespdaily

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-mcp

Related MCP server: ChessAgine MCP

身份验证

安装完成后,请让 Claude “start Lichess auth”。浏览器窗口将会打开,供你使用 Lichess 账号授权该应用。你的令牌将缓存在本地 ~/.lichess-mcp-auth/token.json 中,并在以后的会话中自动重用。

工具

身份验证

工具

描述

lichess_auth_start

开始 OAuth 登录 — 打开浏览器窗口

lichess_auth_status

检查你是否已登录

账户与用户

工具

描述

lichess_get_my_profile

你的等级分和账户统计数据

lichess_get_user

任何玩家的公开资料

lichess_get_my_games

你最近的游戏历史(按颜色、排位/非排位筛选)

lichess_get_rating_history

任何玩家随时间变化的等级分历史

lichess_get_crosstable

两名玩家之间的对战记录

lichess_get_leaderboard

按时限(子弹、闪电、快棋等)排名的顶尖玩家

挑战

工具

描述

lichess_list_challenges

列出你收到的和发出的挑战

lichess_accept_challenge

接受收到的挑战

lichess_decline_challenge

拒绝挑战(可附带原因)

lichess_cancel_challenge

取消你发出的挑战

lichess_create_challenge

向特定玩家发起挑战

lichess_challenge_ai

与 Stockfish AI 对弈(等级 1–8)

游戏

工具

描述

lichess_get_ongoing_games

列出你正在进行的游戏

lichess_make_move

走棋(UCI 记谱法,例如 e2e4

lichess_stream_game

获取游戏的实时棋盘状态

lichess_stream_events

流式传输传入事件(挑战、游戏开始)

lichess_abort

在游戏初期中止游戏

lichess_resign

认输

lichess_offer_draw

提和、接受或拒绝和棋

lichess_takeback

请求、接受或拒绝悔棋

lichess_send_chat

在游戏中发送聊天消息

谜题与分析

工具

描述

lichess_get_daily_puzzle

今日 Lichess 谜题

lichess_get_puzzle

通过 ID 获取特定谜题

lichess_get_next_puzzle

你下一个推荐的谜题

lichess_get_puzzle_activity

你最近的谜题历史和结果

lichess_cloud_eval

针对 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’”

要求

许可证

MIT

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    C
    quality
    D
    maintenance
    An 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.
    90
    22
    17
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables 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.
    29
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables natural language interaction with Lichess chess platform to play games, analyze positions, manage challenges and tournaments, and interact with other players through Claude Desktop.
    22
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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