Lichess MCP Server and API by Cotlet
RemoteAbout Lichess MCP Server and API by Cotlet
Lichess MCP Server and API by Cotlet connects AI clients to a signed-in Lichess account for chess players and team organizers. It focuses on team join requests and member updates, and offers hosted access as well as a local stdio server and CLI.
Key features
- 01Review pending team join requests
- 02Accept team join requests
- 03Send updates to team members
- 04Hosted connection or local stdio server
- 05CLI for setup and status
Use cases
- 01Review this week's team join requests
- 02Accept selected players into a team
- 03Announce an upcoming blitz arena
- 04Notify members of a lesson time change
MCP support
Exposes Lichess tools to MCP clients through Cotlet.dev's hosted MCP endpoint. A local stdio server is also available and forwards tool calls to the hosted service.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://cotlet.dev/mcp/v1/lichess/connectclaude mcp add --transport http dev-cotlet-lichess https://cotlet.dev/mcp/v1/lichess/connect{"mcpServers":{"dev-cotlet-lichess":{"type":"http","url":"https://cotlet.dev/mcp/v1/lichess/connect"}}}Open in Cursor{"servers":{"dev-cotlet-lichess":{"type":"http","url":"https://cotlet.dev/mcp/v1/lichess/connect"}}}Open in VS Code{"mcpServers":{"dev-cotlet-lichess":{"type":"http","url":"https://cotlet.dev/mcp/v1/lichess/connect"}}}{"mcpServers":{"dev-cotlet-lichess":{"serverUrl":"https://cotlet.dev/mcp/v1/lichess/connect"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://cotlet.dev/mcp/v1/lichess/connecthttps://cotlet.dev/mcp/v1/lichessAuth requiredTools
Details
From the project READMEHow to connect Lichess to Claude Code, ChatGPT and any AI agent
Yes, Claude, ChatGPT and other AI agents can work in your Lichess account. Cotlet.dev connects your own signed-in Lichess account to any AI agent, so you can ask in plain words and the AI accepts team join requests and sends updates to your team for you.
What you can ask
Accept the join requests from tom_k and anna_plays to my "Riverside Chess Club" team.
Show me all pending join requests for my team and who sent them this week.
Send a message to all members of "Riverside Chess Club": our blitz arena starts Thursday at 7 pm.
Accept every join request from today, then tell the team that 4 new players joined.
Message my team that Saturday's lesson with coach Maria moves to 10 am.
Connect in 2 minutes
Get your API key at https://cotlet.dev/app and export it as COTLET_API_KEY.
Claude Code
claude mcp add --transport http cotlet https://cotlet.dev/mcp/v1 --header "Authorization: Bearer $COTLET_API_KEY"
ChatGPT
Settings → Apps → add connector URL https://cotlet.dev/mcp/v1, then sign in with Cotlet.dev. No API key needed.
Cursor
Copy .cursor/mcp.json from this repo into your project:
{
"mcpServers": {
"cotlet": {
"url": "https://cotlet.dev/mcp/v1",
"headers": {
"Authorization": "Bearer ${COTLET_API_KEY}"
}
}
}
}
Run it locally (stdio)
This repo is a real MCP server. It speaks MCP over stdio, lists its Lichess tools without any key, and forwards every tool call to the hosted Cotlet.dev server. The hosted URL above stays the recommended way. Use this when your client only starts local servers.
{"mcpServers":{"lichess":{"command":"uvx","args":["lichess-mcp"],"env":{"COTLET_API_KEY":"your-key"}}}}
Or with Docker:
docker build -t lichess-mcp .
docker run -i --rm -e COTLET_API_KEY lichess-mcp
Tools: lichess_guide, lichess_status, lichess_open, lichess_read, lichess_click, lichess_type, lichess_close. Without COTLET_API_KEY a tool call answers: "Set COTLET_API_KEY. Get a key at https://cotlet.dev/app".
Command line
Python 3.10+, nothing else to install. From PyPI:
pip install lichess-mcp # or run it once: uvx lichess-mcp connect
lichess-mcp connect
Or straight from this repo:
export COTLET_API_KEY="your-key"
python3 lichess_agent.py connect # ready config for Claude Code, Cursor, ChatGPT
python3 lichess_agent.py status # is Lichess ready in your Cotlet.dev account
python3 lichess_agent.py guide # Lichess screens and sign-in link
python3 lichess_agent.py read # open Lichess, read the page, close the browser
python3 lichess_agent.py tools # list Cotlet.dev tools
python3 lichess_agent.py serve # start the stdio MCP server (same as no argument)
Questions from Lichess users
Does Lichess have an API?
Lichess has a full, free REST API with personal and OAuth tokens, but no official MCP server (checked 17 Oct 2026). The API covers teams, Arena and Swiss tournaments, studies, broadcasts, challenges and game export, so the gap is a hosted, maintained MCP with no token to create, scope or revoke. Cotlet.dev works in your own signed-in Lichess account, so your AI agent can accept team join requests and message your team with no API key and no code.
How do I connect Lichess to ChatGPT?
Add Cotlet.dev as an app in ChatGPT (Settings → Apps, connector URL https://cotlet.dev/mcp/v1), sign in to Lichess once in your Cotlet.dev Cloud Browser, and ask ChatGPT in plain words. No code and no Lichess API key.
Is there a way to use Claude with Lichess?
Yes. In Claude Code run the one-line claude mcp add command above; in the Claude app add https://cotlet.dev/mcp/v1 as a custom connector. Claude then works in your own Lichess account.
Is there a Lichess MCP server?
We found no official Lichess app in the ChatGPT or Claude directories. Cotlet.dev is a hosted MCP server that works in Lichess for you, 24/7, with Claude, ChatGPT, Cursor, Codex, n8n, Make and Zapier.
Find it on
Also works with
- Mangomint MCP
- Wanderlog MCP
- SmugMug MCP
- Garmin Connect MCP
- Housecall Pro MCP
- Medium MCP
- Crexi MCP
- DistroKid MCP
- LinkedIn MCP
- EstimateOne MCP
- Google Search Console MCP
- Strava MCP
- StreamElements MCP
- Meetup MCP
- AccuRanker MCP
- GetYourGuide MCP
- Idealista MCP
- Riverside MCP
- Udemy MCP
- Faire MCP
- Buildertrend MCP
- All apps connected through Cotlet.dev
Start free: https://cotlet.dev/signup?app=lichess&utm_source=github&utm_medium=readme&utm_campaign=lichess
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.