Alexandria MCP Server

Search, read, and cite across 152 libraries: 11 tools, 3 prompts, and a full-text resource. It runs locally over stdio via the published package.

People who work with gemini cli extension and research and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-07 · ★ 2 · #98 OF 208 MAINTAINED DOCUMENTATION · VERIFIED 2026-09-18

MIT · TypeScript servers · how we verify → /methodology

01 · Install Alexandria

before you install - you'll need

Set SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY before connecting. OPENAI_API_KEY, ALEXANDRIA_BASE_URL, ALEXANDRIA_API_KEY are optional or environment-specific per the README.

Claude Code

claude mcp add the-40-thieves-alexandria-mcp -- npx -y @the-40-thieves/alexandria-mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "the-40-thieves-alexandria-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@the-40-thieves/alexandria-mcp"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @the-40-thieves/alexandria-mcp - published under the repo owner's npm scope (@the-40-thieves)

registry namespace io.github.The-40-Thieves is GitHub-verified and matches the repo owner

03 · What Alexandria can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

An agent gets 1 documented tool, including library_list_sources.

The 1 tools it gives your agent

Extracted from the project's README - what Alexandria lets an agent do.

library_list_sources
- List all 152 sources with descriptions and full-text capabilities

Latest releases

v11.0.0 · 2026-09-05

Added · Server instructions: the MCP initialize response now carries an · instructions block that tells clients which tool to reach for first · (library_ask), when to use the targeted and synthesis tools, and how the…

04 · Who maintains Alexandria

Alexandria is maintained by the-40-thieves. We track 3 MCP servers from the-40-thieves - 3 actively maintained, 10 combined GitHub stars, oldest repo from May 2026. Full record: all servers from the-40-thieves.

  1. Obsidian Turbocharged Model-agnostic, agent-ready Obsidian MCP server with RBAC, SLSA provenance, and native search. ★ 5
  2. codecalc Code & logic calculator for AI agents: 31 languages, symbolic math, SMT/logic solving, Big-O. ★ 3

05 · Facts

category
documentation - ranked #98 of 208 actively-maintained documentation servers as of 2026-09-18.
release cadence
1 release in the last 90 days (latest 2026-09-05)
registry
io.github.The-40-Thieves/alexandria-mcp (active, first published 2026-09-05)
packages
npm:@the-40-thieves/alexandria-mcp

06 · Alexandria FAQ

What is Alexandria?

Search, read, and cite across 152 libraries: 11 tools, 3 prompts, and a full-text resource. It runs locally over stdio via the published package.

Is Alexandria still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-07 and it shipped 1 release in the last 90 days. We re-verify nightly.

How do I install Alexandria?

Run `npx -y @the-40-thieves/alexandria-mcp`. The README documents 5 environment variables (OPENAI_API_KEY, SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY…) to set first. Set SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY before connecting. OPENAI_API_KEY, ALEXANDRIA_BASE_URL, ALEXANDRIA_API_KEY are optional or environment-specific per the README. You can also paste the ready-made client config above.

Does Alexandria run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Alexandria

More documentation MCP servers · Obsidian Turbocharged · Perfex CRM · Tidewave Phoenix · Tidewave Rails

More TypeScript MCP servers · Squad · Openroad MCP (the-openroad-project) · RFP Hub · The402ai MCP Server · see all