Lichess MCP
Connects Claude to Lichess for playing chess games, analyzing positions with Stockfish cloud evaluation, and solving puzzles. Supports real-time gameplay including moves, challenges, draw offers, and accessing user profiles and game history.
README
lichess-mcp
A Model Context Protocol (MCP) server that connects Claude to Lichess. Play chess, analyze positions, solve puzzles, and manage your games — 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-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 |
|---|---|
lichess_auth_start |
Begin OAuth login — opens a browser window |
lichess_auth_status |
Check if you're logged in |
Account
| Tool | Description |
|---|---|
lichess_get_my_profile |
Your ratings and account stats |
lichess_get_user |
Any player's public profile |
lichess_get_my_games |
Your recent game history |
Games
| Tool | Description |
|---|---|
lichess_get_ongoing_games |
List your active games |
lichess_create_challenge |
Challenge a player to a game |
lichess_make_move |
Play a move (UCI notation, e.g. e2e4) |
lichess_stream_game |
Get live board state for a game |
lichess_resign |
Resign a game |
lichess_offer_draw |
Offer, accept, or decline a draw |
Puzzles & Analysis
| Tool | Description |
|---|---|
lichess_get_daily_puzzle |
Today's Lichess puzzle |
lichess_get_puzzle |
A specific puzzle by ID |
lichess_cloud_eval |
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"
- "What's the best move in this position:
rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1" - "Get today's puzzle"
- "Resign my current game"
Requirements
- Node.js 18+
- A Lichess account
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.