Alexandria
by github.com/The-40-Thieves · v11.0.0 · updated Sep 5, 2026
Search, read, and cite across 152 libraries: 11 tools, 3 prompts, and a full-text resource.
Run it locally
Install the package and point your AI client at it.
npm
npx -y @the-40-thieves/[email protected]Environment variables
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.
More from github.com/The-40-Thieves
More MCP servers
A2A Trust Plane
github.com/The-825
Independent witness for agent work: verified handoffs, bound approvals, and receipts.
CounselorAI
github.com/The-825
College-access writing and financial-aid analysis tools for counselors, students, and families.
The Context Company
github.com/The-Context-Company
AI agent observability for production traces, natural-language insights, and improvement loops.
Doxa MCP
github.com/The-Doxa-Way
Record and hold prophetic encouragement for decades. Doxa's Bible (BSB) and encouragement tools.
UpscaleX
github.com/The-Open-Source-Founder
Production 16K image upscaler and model gateway via RealESRGAN and Vulkan.
Openroad Mcp
github.com/The-OpenROAD-Project
The OpenROAD MCP server - interactive EDA sessions via Model Context Protocol