K
karayaman/lichess-mcp
Play and analyze games on Lichess
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
Client config (built from the install command this repo gives)
{
"mcpServers": {
"karayaman-lichess-mcp": {
"command": "npx",
"args": ["-y", "@smithery/cli"]
}
}
}Parsed from the README we fetched on 2026-11-06; we have not executed it.
command/args come from the install command the repository states. When it is ambiguous, the project README wins.
VS Code (.vscode/mcp.json - the key is servers)
{
"servers": {
"karayaman-lichess-mcp": {
"command": "npx",
"args": ["-y", "@smithery/cli"]
}
}
}Same server, but VS Code keeps it under <code>servers</code>.
Claude Code (command line)
claude mcp add --transport stdio karayaman-lichess-mcp -- npx -y @smithery/cli
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
- Install
npx -y @smithery/cli
FAQ (answers come from our records)
How do I install it?
The repository provides this install command:
npx -y @smithery/cli. It comes from the repository itself; we cannot guarantee it runs as-is in your client.Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# Lichess MCP
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Speak to Lichess in natural language to interact with the chess platform. Use it with Claude Desktop to play games, analyze positions, and manage your chess activities.
Built using the Model Context Protocol.
The server enables:
Managing your Lichess account
Playing chess games and challenges
Analyzing positions and games
Joining tournaments and teams
Interacting with other players
## Lichess Token
Create a token at https://lichess.org/account/oauth/token. Tick only the scopes you need. Some tools act on your account (sending messages, creating challenges, upgrading to a bot account), and the model reads text other Lichess users wrote. The token's scopes limit what a misled model can do.
Ways to give the server your token, most secure first:
1. Recommended: keep it in your OS secret store and pass it in at launch. The token never sits in a plaintext file or in the chat.
macOS (Keychain). Store it once; the command prompts for the token:
bash
security add-generic-password -s lichess-mcp -a "$USER" -w
Then have your MCP client start the server like this:
json
"lichess": {
"command": "/bin/sh",
"args": ["-c", "LICHESSTOKEN=\"$(security find-generic-password -s lichess-mcp -w)\" exec lichess-mcp"]
Linux (libsecret): store it with secret-tool store --label="Lichess MCP" service lichess-mcp and read it with $(secret-tool lookup service lichess-mcp) in the same way. A password manager CLI works too, for example $(op read "op://Private/Lichess/token") with 1Password.
2. The env block of your MCP client's config. Simple, but the token sits in plaintext in that config file. Don't share or commit the file.
json
"lichess": {
"command": "lichess-mcp",
"env": { "LICHESSTOKEN": "your-lichess-api-token" }
3. A .env file containing LICHESSTOKEN=your-lichess-api-token. Also plaintext. The server reads .env from the directory it starts in, and MCP clients often start it somewhere else, so this suits running from a clone with npm start. .env is in .gitignore; keep it private with chmod 600 .env.
4. Not recommended: the settoken tool. The token passes through the conversation, so it's stored in your chat history and sent to the model provider. If you use it for a quick test, use a short-lived token and revoke it afterwards at https://lichess.org/account/oauth/token.
## Available Tools
### 1. Account Management
typescript
// Get your Lichess profile
getmyprofile();
// Get another user's profile
getuserprofile({
username: "playername",
trophies: true // include trophies, optional
});
### 2. Game Play
Needs the challenges and board toolsets (see Toolsets).
typescript
// Create a challenge against another player
createchallenge({
username: "opponentusername",
timeControl: "10+0", // 10 minutes, no increment
color: "random" // or "white", "black"
});
// Make a move in a game
makemove({
gameId: "abcd1234",
move: "e2e4",
offeringDraw: false
});
// Get your ongoing games
getongoinggames({
nb: 10 // number of games to fetch
});
### 3. Game Analysis
typescript
// Export a game in PGN format
exportgame({
gameId: "abcd1234",
clocks: true,
evals: true
});
// Get cloud evaluation for a position
getcloudeval({
fen: "rnbqkbnr/ppp1pppp/8/3p4/4P3/8/PPPP1PPP/RNBQKBNR w KQkq - 0 2"
Built using the Model Context Protocol.
The server enables:
Managing your Lichess account
Playing chess games and challenges
Analyzing positions and games
Joining tournaments and teams
Interacting with other players
## Lichess Token
Create a token at https://lichess.org/account/oauth/token. Tick only the scopes you need. Some tools act on your account (sending messages, creating challenges, upgrading to a bot account), and the model reads text other Lichess users wrote. The token's scopes limit what a misled model can do.
Ways to give the server your token, most secure first:
1. Recommended: keep it in your OS secret store and pass it in at launch. The token never sits in a plaintext file or in the chat.
macOS (Keychain). Store it once; the command prompts for the token:
bash
security add-generic-password -s lichess-mcp -a "$USER" -w
Then have your MCP client start the server like this:
json
"lichess": {
"command": "/bin/sh",
"args": ["-c", "LICHESSTOKEN=\"$(security find-generic-password -s lichess-mcp -w)\" exec lichess-mcp"]
Linux (libsecret): store it with secret-tool store --label="Lichess MCP" service lichess-mcp and read it with $(secret-tool lookup service lichess-mcp) in the same way. A password manager CLI works too, for example $(op read "op://Private/Lichess/token") with 1Password.
2. The env block of your MCP client's config. Simple, but the token sits in plaintext in that config file. Don't share or commit the file.
json
"lichess": {
"command": "lichess-mcp",
"env": { "LICHESSTOKEN": "your-lichess-api-token" }
3. A .env file containing LICHESSTOKEN=your-lichess-api-token. Also plaintext. The server reads .env from the directory it starts in, and MCP clients often start it somewhere else, so this suits running from a clone with npm start. .env is in .gitignore; keep it private with chmod 600 .env.
4. Not recommended: the settoken tool. The token passes through the conversation, so it's stored in your chat history and sent to the model provider. If you use it for a quick test, use a short-lived token and revoke it afterwards at https://lichess.org/account/oauth/token.
## Available Tools
### 1. Account Management
typescript
// Get your Lichess profile
getmyprofile();
// Get another user's profile
getuserprofile({
username: "playername",
trophies: true // include trophies, optional
});
### 2. Game Play
Needs the challenges and board toolsets (see Toolsets).
typescript
// Create a challenge against another player
createchallenge({
username: "opponentusername",
timeControl: "10+0", // 10 minutes, no increment
color: "random" // or "white", "black"
});
// Make a move in a game
makemove({
gameId: "abcd1234",
move: "e2e4",
offeringDraw: false
});
// Get your ongoing games
getongoinggames({
nb: 10 // number of games to fetch
});
### 3. Game Analysis
typescript
// Export a game in PGN format
exportgame({
gameId: "abcd1234",
clocks: true,
evals: true
});
// Get cloud evaluation for a position
getcloudeval({
fen: "rnbqkbnr/ppp1pppp/8/3p4/4P3/8/PPPP1PPP/RNBQKBNR w KQkq - 0 2"
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/karayaman-lichess-mcp/)
- Source
- awesome · https://github.com/karayaman/lichess-mcp
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.