Lichess MCP
Provides tools for playing chess games, analyzing positions with cloud Stockfish evaluation, solving puzzles, and managing Lichess account activities. Supports creating challenges, making moves in UCI notation, streaming live game states, offering draws, and retrieving user profiles and game history.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Lichess MCPWhat's my current blitz rating?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lichess-mcp
A Model Context Protocol (MCP) server that connects Claude to Lichess. Play chess, analyze positions, solve puzzles, manage challenges, and explore stats — all from Claude.
Installation
Claude Desktop
Add the following to your Claude Desktop config:
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"]
}
}
}Restart Claude Desktop after saving.
Claude Code
claude mcp add lichess-mcp -- npx -y lichess-mcpRelated MCP server: ChessAgine MCP
Authentication
After installation, ask Claude to "start Lichess auth". A browser window will open for you to authorize the app with your Lichess account. Your token is cached locally at ~/.lichess-mcp-auth/token.json and reused automatically on future sessions.
Tools
Auth
Tool | Description |
| Begin OAuth login — opens a browser window |
| Check if you're logged in |
Account & Users
Tool | Description |
| Your ratings and account stats |
| Any player's public profile |
| Your recent game history (filter by color, rated/casual) |
| Rating history over time for any player |
| Head-to-head record between two players |
| Top players by time control (bullet, blitz, rapid, etc.) |
Challenges
Tool | Description |
| List your incoming and outgoing challenges |
| Accept an incoming challenge |
| Decline a challenge (with optional reason) |
| Cancel a challenge you sent |
| Challenge a specific player |
| Play against Stockfish AI (levels 1–8) |
Games
Tool | Description |
| List your active games |
| Play a move (UCI notation, e.g. |
| Get live board state for a game |
| Stream incoming events (challenges, game starts) |
| Abort a game in its early moves |
| Resign a game |
| Offer, accept, or decline a draw |
| Request, accept, or decline a takeback |
| Send a chat message in a game |
Puzzles & Analysis
Tool | Description |
| Today's Lichess puzzle |
| A specific puzzle by ID |
| Your next recommended puzzle |
| Your recent puzzle history and results |
| Stockfish cloud evaluation for a FEN position |
Example prompts
"What's my current blitz rating?"
"Show me my last 5 games as white"
"Challenge @DrNykterstein to a 5+3 rated game"
"Start a game against Stockfish level 5, 10 minutes, I'll play white"
"List my incoming challenges"
"Accept challenge abc123"
"What's the head-to-head record between Magnus and Hikaru?"
"Show me the top 10 bullet players"
"What's today's puzzle?"
"Get my next puzzle"
"Show my puzzle activity for the last 50 attempts"
"What's the best move in this position:
rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1""Resign my current game"
"Send 'good luck' to my opponent in game xyz"
Requirements
Node.js 18+
A Lichess account
License
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.Last updated90817MIT
- Alicense-qualityAmaintenanceEnables 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.Last updated27MIT
- Alicense-qualityDmaintenanceEnables natural language interaction with Lichess chess platform to play games, analyze positions, manage challenges and tournaments, and interact with other players through Claude Desktop.Last updated8MIT
- Alicense-qualityDmaintenanceEnables 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.Last updatedMIT
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