lichess-review-mcp
Read-only MCP server for reviewing completed public Lichess games, providing tools to fetch a game or list recent completed games with strict safety and cost boundaries.
README
lichess-review-mcp
Read-only MCP server for reviewing completed public Lichess games in ChatGPT. It fetches a game or a small recent-game list and refuses ongoing, missing-status, or unknown-status games.
Tools
get_completed_game: accepts an eight-character game ID or exact-hosthttps://lichess.orggame URL.list_recent_completed_games: accepts a public username and returns 5 games by default, at most 10.
Safety and cost boundaries
- Read-only; no OAuth, database, move playing, messaging, challenges, or account management.
- No server-side Stockfish or bulk history imports.
- Fixed Lichess origin, one upstream request at a time, bounded queue, 8-second timeout, manual redirect refusal, 512 KiB response limit, no automatic retries, and at least 60 seconds of cooldown after HTTP 429.
- Small in-memory TTL/LRU caches only.
- Completed-game status allowlist.
created,started, missing, and unknown statuses fail closed. - Localhost-only Host/Origin defaults. A deployment must explicitly set
ALLOWED_HOSTSandALLOWED_ORIGINS. - HTTP backstops default to 120 MCP requests per minute globally and 8 in-flight MCP requests. Excess work is rejected before parsing or dispatch.
- Optional structured request logs contain only a generated request ID, method, route class, response status, and duration. Tool arguments, usernames, game IDs, IP addresses, hosts, origins, and raw paths are not logged.
Local use
Requires Node.js 22 or newer.
npm ci
npm run check
npm test
npm run build
npm run smoke
npm start
Default endpoints:
- Health:
http://127.0.0.1:3000/health - MCP:
http://127.0.0.1:3000/mcp
For a tunnel or deployment, set exact comma-separated values, for example:
ALLOWED_HOSTS=example-tunnel.example \
ALLOWED_ORIGINS=https://chatgpt.com \
HOST=0.0.0.0 PORT=3000 npm start
HTTP hardening can be tuned with positive integers:
HTTP_RATE_LIMIT_REQUESTS=120 \
HTTP_RATE_LIMIT_WINDOW_MS=60000 \
HTTP_MAX_IN_FLIGHT_REQUESTS=8 \
LOG_REQUESTS=1 \
npm start
The built-in request limiter is a process-wide emergency backstop, not a substitute for per-client limits at a trusted reverse proxy or edge. The /health endpoint remains minimal and is excluded from request logs and MCP request limits.
Do not deploy publicly until the integration tests, deployment limits, publisher requirements, and support ownership are separately approved.
Protocol surface
The server implements the stateless JSON-response portion of Streamable HTTP needed for initialization, ping, tools/list, and tools/call. It returns HTTP 202 for notifications and HTTP 405 for unsupported GET/DELETE streaming sessions.
Documentation
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.