Skip to content
LangChain

lichess mcp for LangChain

io.github.mrfentmen/lichess-mcp

Use this MCP server to Lichess, chess puzzles by rating, player stats, and top players. Tools...

client:LangChain transport:stdio runtime:npm

Install lichess mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "lichess-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@mrfentmen/lichess-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

lichess mcp in other clients