Lichess MCP
@karayaman
About Lichess MCP
A Model Context Protocol (MCP) server that enables Claude Desktop to interact with Lichess chess platform through natural language. Play games, analyze positions, manage your account, and participate in tournaments—all by simply talking to Claude.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"lichess-mcp": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@karayaman/lichess-mcp",
"--client",
"claude"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Lichess MCP?
Lichess MCP is a Model Context Protocol server that lets you interact with the Lichess chess platform using natural language. Built for Claude Desktop and other MCP clients, it enables account management, game play, analysis, tournaments, and more through a set of tools.
How to use Lichess MCP?
Install globally via npm (npm install -g lichess-mcp) or use Smithery (npx -y @smithery/cli install @karayaman/lichess-mcp --client claude). Configure a Lichess API token via environment variable LICHESS_TOKEN or the set_token tool, then add the server to your Claude Desktop config under mcpServers.
Key features of Lichess MCP
- Manage your Lichess account and view profiles
- Create challenges, make moves, and manage games
- Analyze positions with cloud evaluations and PGN export
- Join and create arena tournaments
- Interactive chess UIs: puzzles, game viewer, opening explorer (in supported clients)
Use cases of Lichess MCP
- Ask Claude to show your Lichess profile or ongoing games
- Start a new chess game with a specific time control via a chat command
- Get cloud evaluation for a position from a FEN string
- Join or create an arena tournament without leaving the desktop
- Step through a Lichess game or PGN interactively in the chat
FAQ from Lichess MCP
How do I get a Lichess API token?
Generate one at https://lichess.org/account/oauth/token. Provide it via the LICHESS_TOKEN environment variable or the set_token tool during runtime.
What move formats does the server accept?
The API accepts moves in UCI format (e.g., e2e4) for most endpoints, and SAN format (e.g., e4) for some endpoints.
Can I use the server without Claude Desktop?
Yes. After building (npm run build), you can start the server standalone with npm start. It works with any MCP client.
Is there interactive visual feedback for chess boards?
In clients that support MCP Apps (like Claude Desktop), certain tools (play_puzzle, view_pgn, explore_openings) render an interactive chess board. In other clients, they fall back to text (FEN/PGN/Lichess links).
What should I do if the server won't connect?
Ensure lichess-mcp is installed globally and available in your PATH, check the configuration file uses the mcpServers format (not mcp_servers), and verify your Lichess API token is valid. Restart Claude Desktop completely after changes.
More Other MCP servers
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Comments