Home / Search & web / Alexandria

Alexandria

io.github.The-40-Thieves/alexandria-mcp · v11.0.0 stdio

Score 76. Maintenance 38 of 40, security 35 of 35, adoption 3 of 25.

Search, read, and cite across 152 libraries: 11 tools, 3 prompts, and a full-text resource.

Description supplied by the publisher in the MCP Registry. We have not tested this server.

Ranks #438 of 896 Search & web servers on Socketlist by score, with 3 GitHub stars and a last code push 14d ago.

Install

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

Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.

Connect Alexandria to Claude Code, Cursor or VS Code

Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.

Claude Code

Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.

claude mcp add --env OPENAI_API_KEY=<openai_api_key> --env ALEXANDRIA_API_KEY=<alexandria_api_key> --env CORE_API_KEY=<core_api_key> --env COURTLISTENER_API_KEY=<courtlistener_api_key> --env GOVINFO_API_KEY=<govinfo_api_key> --env GOOGLE_BOOKS_API_KEY=<google_books_api_key> --transport stdio alexandria -- npx -y @the-40-thieves/alexandria-mcp

.mcp.json (Claude Code project scope, VS Code with Copilot)

Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.

{
  "mcpServers": {
    "alexandria": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@the-40-thieves/alexandria-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "${OPENAI_API_KEY}",
        "ALEXANDRIA_API_KEY": "${ALEXANDRIA_API_KEY}",
        "CORE_API_KEY": "${CORE_API_KEY}",
        "COURTLISTENER_API_KEY": "${COURTLISTENER_API_KEY}",
        "GOVINFO_API_KEY": "${GOVINFO_API_KEY}",
        "GOOGLE_BOOKS_API_KEY": "${GOOGLE_BOOKS_API_KEY}"
      }
    }
  }
}

Cursor

Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.

{
  "mcpServers": {
    "alexandria": {
      "command": "npx",
      "args": [
        "-y",
        "@the-40-thieves/alexandria-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "${env:OPENAI_API_KEY}",
        "ALEXANDRIA_API_KEY": "${env:ALEXANDRIA_API_KEY}",
        "CORE_API_KEY": "${env:CORE_API_KEY}",
        "COURTLISTENER_API_KEY": "${env:COURTLISTENER_API_KEY}",
        "GOVINFO_API_KEY": "${env:GOVINFO_API_KEY}",
        "GOOGLE_BOOKS_API_KEY": "${env:GOOGLE_BOOKS_API_KEY}"
      }
    }
  }
}

Configuration the publisher declares

Environment variableRequiredSecretPublisher's note
OPENAI_API_KEYNoYesOpenAI key for routing (library_ask), synthesis (library_answer, library_research), and embeddings (library_ingest). Search and read tools work without it.
ALEXANDRIA_BASE_URLNoNoOpenAI-compatible gateway base URL shared by every LLM role (router, synth, research, embeddings, rerank). Falls back to https://api.openai.com/v1.
ALEXANDRIA_API_KEYNoYesAPI key paired with ALEXANDRIA_BASE_URL. Falls back to OPENAI_API_KEY.
CORE_API_KEYNoYesUnlocks the core source (CORE, 57M+ open access papers). Free key from core.ac.uk/services/api.
COURTLISTENER_API_KEYNoYesUnlocks the courtlistener source (US federal and state court opinions). Free key from courtlistener.com.
GOVINFO_API_KEYNoYesUnlocks govinfo (Congressional Record, Federal Register, US Code); also accepted by congress and regulations. Free key from api.data.gov.
GOOGLE_BOOKS_API_KEYNoYesUnlocks the googlebooks source (40M+ books). Free key from the Google Cloud Console (Books API).
GITHUB_TOKENNoYesUnlocks githubsearch and githubmcp (GitHub code search); optional for ghsa and openiti. Public-repo read scope is enough.
NASA_ADS_API_KEYNoYesUnlocks the nasaads source (NASA Astrophysics Data System). Free key from ui.adsabs.harvard.edu.
EUROPEANA_API_KEYNoYesUnlocks the europeana source (50M+ European cultural heritage items). Free key from apis.europeana.eu.
SEMANTIC_SCHOLAR_API_KEYNoYesOptional for semanticscholar and library_recommend; raises the rate limit. Free key from semanticscholar.org/product/api.

"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.

Allowlist entry

If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.

{
  "allowedMcpServers": [
    {
      "serverCommand": [
        "npx",
        "-y",
        "@the-40-thieves/alexandria-mcp"
      ]
    }
  ]
}

How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.

Score breakdown

PartPointsWhat we observedResult
Maintenance38/40Last push 14d ago, 2 open issuesStrong
Security hygiene35/35Licence MIT, SECURITY.md present, published package or hosted endpointStrong
Adoption3/253 GitHub stars, 0 npm downloads a weekWeak

Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.

Maintain this server? Claim or correct this listing, or get featured in Search & web. Paid placements are labelled and never change the score.

Five scored MCP servers, every Monday

The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.

Get The Plug Weekly
GitHub stars3
npm weekly downloads0
Last push14d ago
LicenceMIT
Open issues2
SECURITY.mdYes
LanguageTypeScript
Latest version published2026-09-05

Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.

Similar servers

JobAppAgent

Score 94. Maintenance 40 of 40, security 35 of 35, adoption 19 of 25.

io.github.vaibhavarora14/job-application-agent

Read-only job-search tools: community job feed, setup guides, and review-mode apply prompts.

★ 180↓ 1.4k/wkMITpushed today Search & web

Zotero MCP

Score 76. Maintenance 40 of 40, security 25 of 35, adoption 11 of 25.

io.github.kujenga/zotero-mcp

Search your Zotero library, retrieve item metadata, and read full text from AI assistants.

★ 162MITpushed 2d ago Search & web

Relay for WhatsApp

Score 74. Maintenance 39 of 40, security 30 of 35, adoption 6 of 25.

io.github.viaanshetty3-debug/relay-whatsapp-mcp

Your WhatsApp as 54 MCP tools: read, search, send and media across accounts, self-hosted.

★ 0↓ 198/wkMITpushed 8d ago Search & web