What this kind of tool is for
- Let your agent search the web or a document set and cite what it found.
- Pull structured facts out of pages instead of copy-pasting by hand.
- Track changes on a topic over days without re-reading everything.
How to compare servers like this
- Source coverage:
- Check which engines, sites, or document types the tool can actually reach.
- Citation behavior:
- Prefer tools that return links you can open, not just summarized claims.
- Terms of service:
- Some sources forbid automated access; make sure the tool stays inside them.
- Maintenance signal:
- Scrapers break silently when pages change; recent commits are the best proxy.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the Alexandria MCP server?
Search, read, and cite across 152 libraries: 11 tools, 3 prompts, and a full-text resource.
How to install Alexandria
Copy-paste configuration for popular MCP clients.
OPENAI_API_KEYsecretOpenAI key for routing (library_ask), synthesis (library_answer, library_research), and embeddings (library_ingest). Search and read tools work without it.
ALEXANDRIA_BASE_URLOpenAI-compatible gateway base URL shared by every LLM role (router, synth, research, embeddings, rerank). Falls back to https://api.openai.com/v1.
ALEXANDRIA_API_KEYsecretAPI key paired with ALEXANDRIA_BASE_URL. Falls back to OPENAI_API_KEY.
CORE_API_KEYsecretUnlocks the core source (CORE, 57M+ open access papers). Free key from core.ac.uk/services/api.
COURTLISTENER_API_KEYsecretUnlocks the courtlistener source (US federal and state court opinions). Free key from courtlistener.com.
GOVINFO_API_KEYsecretUnlocks govinfo (Congressional Record, Federal Register, US Code); also accepted by congress and regulations. Free key from api.data.gov.
GOOGLE_BOOKS_API_KEYsecretUnlocks the googlebooks source (40M+ books). Free key from the Google Cloud Console (Books API).
GITHUB_TOKENsecretUnlocks githubsearch and githubmcp (GitHub code search); optional for ghsa and openiti. Public-repo read scope is enough.
NASA_ADS_API_KEYsecretUnlocks the nasaads source (NASA Astrophysics Data System). Free key from ui.adsabs.harvard.edu.
EUROPEANA_API_KEYsecretUnlocks the europeana source (50M+ European cultural heritage items). Free key from apis.europeana.eu.
SEMANTIC_SCHOLAR_API_KEYsecretOptional for semanticscholar and library_recommend; raises the rate limit. Free key from semanticscholar.org/product/api.
{
"mcpServers": {
"alexandria-mcp": {
"command": "npx",
"args": [
"-y",
"@the-40-thieves/alexandria-mcp"
],
"env": {
"OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
"ALEXANDRIA_BASE_URL": "<YOUR_ALEXANDRIA_BASE_URL>",
"ALEXANDRIA_API_KEY": "<YOUR_ALEXANDRIA_API_KEY>",
"CORE_API_KEY": "<YOUR_CORE_API_KEY>",
"COURTLISTENER_API_KEY": "<YOUR_COURTLISTENER_API_KEY>",
"GOVINFO_API_KEY": "<YOUR_GOVINFO_API_KEY>",
"GOOGLE_BOOKS_API_KEY": "<YOUR_GOOGLE_BOOKS_API_KEY>",
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>",
"NASA_ADS_API_KEY": "<YOUR_NASA_ADS_API_KEY>",
"EUROPEANA_API_KEY": "<YOUR_EUROPEANA_API_KEY>",
"SEMANTIC_SCHOLAR_API_KEY": "<YOUR_SEMANTIC_SCHOLAR_API_KEY>"
}
}
}
}Related MCP servers

codecalc
Code & logic calculator for AI agents: 31 languages, symbolic math, SMT/logic solving, Big-O.

Obsidian Turbocharged
Governed Obsidian vault access: hybrid retrieval, Markdown-native memory, HITL confirmations.

RFP Hub
Search Ethereum-ecosystem funding opportunities; submit one behind a human approval step.

Local research agent that verifies its own answers. Runs on Gemma 3 4B + Ollama, $0/query.
Tenant-scoped control layer for agent-to-agent systems: governed routing, approvals, evidence.
View repository →College-access writing and financial-aid analysis tools for counselors, students, and families.
