Alexandria MCP
An MCP server providing natural-language search, full-text reading, and cited answers across 152 digital library sources including academic papers, books, law, government records, security advisories, news, and developer docs. It supports local search and reading without environment variables, with optional integration for advanced research and ingestion via OpenAI and Supabase credentials.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Search across academic papers, books, and legal records
- Read full-text content from digital libraries
- Generate cited answers from multiple sources
- Ingest new documents into the knowledge base
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@the-40-thieves/alexandria-mcp 11.0.0
{
"version": "11.0.0",
"transport": "stdio",
"identifier": "@the-40-thieves/alexandria-mcp",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "OPENAI_API_KEY",
"format": "string",
"description": "OpenAI key for routing (library_ask), synthesis (library_answer, library_research), and embeddings (library_ingest). Search and read tools work without it."
},
{
"name": "ALEXANDRIA_BASE_URL",
"format": "string",
"description": "OpenAI-compatible gateway base URL shared by every LLM role (router, synth, research, embeddings, rerank). Falls back to https://api.openai.com/v1.",
"placeholder": "https://gateway.example.com/v1"
},
{
"name": "ALEXANDRIA_API_KEY",
"format": "string",
"description": "API key paired with ALEXANDRIA_BASE_URL. Falls back to OPENAI_API_KEY."
},
{
"name": "CORE_API_KEY",
"format": "string",
"description": "Unlocks the core source (CORE, 57M+ open access papers). Free key from core.ac.uk/services/api."
},
{
"name": "COURTLISTENER_API_KEY",
"format": "string",
"description": "Unlocks the courtlistener source (US federal and state court opinions). Free key from courtlistener.com."
},
{
"name": "GOVINFO_API_KEY",
"format": "string",
"description": "Unlocks govinfo (Congressional Record, Federal Register, US Code); also accepted by congress and regulations. Free key from api.data.gov."
},
{
"name": "GOOGLE_BOOKS_API_KEY",
"format": "string",
"description": "Unlocks the googlebooks source (40M+ books). Free key from the Google Cloud Console (Books API)."
},
{
"name": "GITHUB_TOKEN",
"format": "string",
"description": "Unlocks githubsearch and githubmcp (GitHub code search); optional for ghsa and openiti. Public-repo read scope is enough."
},
{
"name": "NASA_ADS_API_KEY",
"format": "string",
"description": "Unlocks the nasaads source (NASA Astrophysics Data System). Free key from ui.adsabs.harvard.edu."
},
{
"name": "EUROPEANA_API_KEY",
"format": "string",
"description": "Unlocks the europeana source (50M+ European cultural heritage items). Free key from apis.europeana.eu."
},
{
"name": "SEMANTIC_SCHOLAR_API_KEY",
"format": "string",
"description": "Optional for semanticscholar and library_recommend; raises the rate limit. Free key from semanticscholar.org/product/api."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"alexandria-mcp": {
"command": "npx",
"args": [
"-y",
"@the-40-thieves/alexandria-mcp@11.0.0"
],
"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>"
}
}
}
}Cline
{
"mcpServers": {
"alexandria-mcp": {
"command": "npx",
"args": [
"-y",
"@the-40-thieves/alexandria-mcp@11.0.0"
],
"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>"
}
}
}
}VS Code
{
"servers": {
"alexandria-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@the-40-thieves/alexandria-mcp@11.0.0"
],
"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>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"alexandria-mcp": {
"command": "npx",
"args": [
"-y",
"@the-40-thieves/alexandria-mcp@11.0.0"
],
"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>"
}
}
}
}Let your agent find its tools
Find servers like Alexandria MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.