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.
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.
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.
AI agent observability for production traces, natural-language insights, and improvement loops.
Connect Claude and Cursor to OpenROAD semiconductor design tools for AI-assisted physical design and RTL-to-GDS flows.

