Connect Lichess to Claude Code, ChatGPT, Cursor and any AI agent. Lichess MCP server, no API key from Lichess needed.

How 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

More: https://cotlet.dev/integrations/lichess-api-mcp-server?utm_source=github&utm_medium=readme&utm_campaign=lichess

Start free: https://cotlet.dev/signup?app=lichess&utm_source=github&utm_medium=readme&utm_campaign=lichess

MCP Server ยท Populars

MCP Server ยท New

    roman-rr

    Trading Signals

    17 triggers ร— 44 algorithms ร— 3 AI experts โ€” live crypto trading signals with reasoning for Claude Code, Codex, Cursor & 30+ agents. Free key; Pro adds entry, SL and TP.

    Community roman-rr
    OyadotAI

    Oya Browser

    The browser control plane for AI agents. One API over Oya Cloud, Browserbase, Steel, Anchor, Browser Use and your own Chrome, with persistent personas, CAPTCHA and MFA handling, and live human takeover.

    Community OyadotAI
    unibaseio

    Membase

    Memory layer for AI agents โ€” SDKs, CLI and MCP server for Membase

    Community unibaseio
    EternalNight996

    ๐Ÿง  memory-eternal โ€” a second brain for your AI

    Your AI forgets every session. Give it a memory you can audit: local-first, review-gated agent memory โ€” one SQLite vault for DSH, Claude Code, Codex, Cursor, OpenClaw, Hermes and MengBot (any MCP client), with an immutable audit log and a token ledger. Agents propose, humans approve. MIT, self-hosted, no cloud.

    Community EternalNight996
    quarkiverse

    Model Context Protocol Servers in Quarkus/Java

    Model Context Protocol Servers in Quarkus

    Community quarkiverse