Librarian MCP Server

Librarian is a MCP (Model Context Protocol) Server that allows any LLM with a compatible MCP client to query Wikipedia for information. It can be

Local serverstdioPython

What is the Librarian MCP server?

Connect Librarian to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Librarian is a MCP (Model Context Protocol) Server that allows any LLM with a compatible MCP client to query Wikipedia for information. It can be configured to automatically fact-check information without requiring explicit user requests. The librarian mcp server is what makes that connection.

What the server does

  • Automatic Fact-Checking — Configure Claude Desktop to proactively verify factual claims using Wikipedia
  • Wikipedia Search — Search for relevant Wikipedia articles
  • Page Information — Get detailed information about specific Wikipedia pages
  • Page Summaries — Quick summaries of Wikipedia pages
  • Page Sections — Get specific sections from Wikipedia pages
  • Multi-language Support — Query Wikipedia in different languages

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Credentials and setup notes

Configuration is passed through the environment: PYTHONPATH. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

Among the AI and media services options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by mlziade; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How to install the Librarian MCP server

**For macOS/Linux:**
```json
{
    "mcpServers": {
        "librarian": {
            "command": "uv",
            "args": ["--directory", "/path/to/your/librarian", "run", "python", "librarian_stdio.py"],
            "env": {
                "PYTHONPATH": "/path/to/your/librarian"
            }
        }
    }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
PYTHONPATHFilesystem location the server is allowed to use.Optional

Frequently asked questions

It connects Librarian to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Librarian directly.