timesfm
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Search, read, and cite across 152 libraries: 11 tools, 3 prompts, and a full-text resource.
Skills that teach the AI this kind of work; they work alongside this one
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…
scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 7/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 19/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Alexandria. Follow https://mcp.popnx.com/i/the-40-thieves-alexandria-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a Alexandria key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Alexandria for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "alexandria": { "command": "npx", "args": [ "-y", "@the-40-thieves/alexandria-mcp" ], "env": { "OPENAI_API_KEY": "your-value", "ALEXANDRIA_API_KEY": "your-value", "CORE_API_KEY": "your-value", "COURTLISTENER_API_KEY": "your-value", "GOVINFO_API_KEY": "your-value", "GOOGLE_BOOKS_API_KEY": "your-value", "NASA_ADS_API_KEY": "your-value", "EUROPEANA_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OPENAI_API_KEY, ALEXANDRIA_API_KEY, CORE_API_KEY, COURTLISTENER_API_KEY, GOVINFO_API_KEY, GOOGLE_BOOKS_API_KEY, NASA_ADS_API_KEY, EUROPEANA_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Alexandria tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
SettingsDeveloperEdit Config
{
"mcpServers": {
"alexandria": {
"command": "npx",
"args": [
"-y",
"@the-40-thieves/alexandria-mcp"
],
"env": {
"OPENAI_API_KEY": "your-value",
"ALEXANDRIA_API_KEY": "your-value",
"CORE_API_KEY": "your-value",
"COURTLISTENER_API_KEY": "your-value",
"GOVINFO_API_KEY": "your-value",
"GOOGLE_BOOKS_API_KEY": "your-value",
"NASA_ADS_API_KEY": "your-value",
"EUROPEANA_API_KEY": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use Alexandria and tell me what you can do for me, then show me one thing✓ If Claude says it is using Alexandria or shows a Alexandria tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
ALEXANDRIA_BASE_URL OpenAI-compatible gateway base URL shared by every LLM role (router, synth, research, embeddings, rerank). Falls back to https://api.openai.com/v1.GITHUB_TOKEN Unlocks githubsearch and githubmcp (GitHub code search); optional for ghsa and openiti. Public-repo read scope is enough.SEMANTIC_SCHOLAR_API_KEY Optional for semanticscholar and library_recommend; raises the rate limit. Free key from semanticscholar.org/product/api.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Alexandria yet
Alexandria runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Alexandria
Works with Claude Code, with some setup first
You need a Alexandria key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Alexandria for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user alexandria --env OPENAI_API_KEY=your-value --env ALEXANDRIA_API_KEY=your-value --env CORE_API_KEY=your-value --env COURTLISTENER_API_KEY=your-value --env GOVINFO_API_KEY=your-value --env GOOGLE_BOOKS_API_KEY=your-value --env NASA_ADS_API_KEY=your-value --env EUROPEANA_API_KEY=your-value -- npx -y @the-40-thieves/alexandria-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OPENAI_API_KEY, ALEXANDRIA_API_KEY, CORE_API_KEY, COURTLISTENER_API_KEY, GOVINFO_API_KEY, GOOGLE_BOOKS_API_KEY, NASA_ADS_API_KEY, EUROPEANA_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Alexandria tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user alexandria --env OPENAI_API_KEY=your-value --env ALEXANDRIA_API_KEY=your-value --env CORE_API_KEY=your-value --env COURTLISTENER_API_KEY=your-value --env GOVINFO_API_KEY=your-value --env GOOGLE_BOOKS_API_KEY=your-value --env NASA_ADS_API_KEY=your-value --env EUROPEANA_API_KEY=your-value -- npx -y @the-40-thieves/alexandria-mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see Alexandria listed as connected
Use Alexandria and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Alexandria or shows a Alexandria tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
ALEXANDRIA_BASE_URL OpenAI-compatible gateway base URL shared by every LLM role (router, synth, research, embeddings, rerank). Falls back to https://api.openai.com/v1.GITHUB_TOKEN Unlocks githubsearch and githubmcp (GitHub code search); optional for ghsa and openiti. Public-repo read scope is enough.SEMANTIC_SCHOLAR_API_KEY Optional for semanticscholar and library_recommend; raises the rate limit. Free key from semanticscholar.org/product/api.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a Alexandria key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Alexandria for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "alexandria": { "command": "npx", "args": [ "-y", "@the-40-thieves/alexandria-mcp" ], "env": { "OPENAI_API_KEY": "your-value", "ALEXANDRIA_API_KEY": "your-value", "CORE_API_KEY": "your-value", "COURTLISTENER_API_KEY": "your-value", "GOVINFO_API_KEY": "your-value", "GOOGLE_BOOKS_API_KEY": "your-value", "NASA_ADS_API_KEY": "your-value", "EUROPEANA_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OPENAI_API_KEY, ALEXANDRIA_API_KEY, CORE_API_KEY, COURTLISTENER_API_KEY, GOVINFO_API_KEY, GOOGLE_BOOKS_API_KEY, NASA_ADS_API_KEY, EUROPEANA_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Alexandria tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the Alexandria settings, OPENAI_API_KEY, ALEXANDRIA_API_KEY, CORE_API_KEY, COURTLISTENER_API_KEY, GOVINFO_API_KEY, GOOGLE_BOOKS_API_KEY, NASA_ADS_API_KEY, EUROPEANA_API_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Alexandria and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Alexandria or shows a Alexandria tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
ALEXANDRIA_BASE_URL OpenAI-compatible gateway base URL shared by every LLM role (router, synth, research, embeddings, rerank). Falls back to https://api.openai.com/v1.GITHUB_TOKEN Unlocks githubsearch and githubmcp (GitHub code search); optional for ghsa and openiti. Public-repo read scope is enough.SEMANTIC_SCHOLAR_API_KEY Optional for semanticscholar and library_recommend; raises the rate limit. Free key from semanticscholar.org/product/api.Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a Alexandria key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Alexandria for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "alexandria": { "type": "stdio", "command": "npx", "args": [ "-y", "@the-40-thieves/alexandria-mcp" ], "env": { "OPENAI_API_KEY": "your-value", "ALEXANDRIA_API_KEY": "your-value", "CORE_API_KEY": "your-value", "COURTLISTENER_API_KEY": "your-value", "GOVINFO_API_KEY": "your-value", "GOOGLE_BOOKS_API_KEY": "your-value", "NASA_ADS_API_KEY": "your-value", "EUROPEANA_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OPENAI_API_KEY, ALEXANDRIA_API_KEY, CORE_API_KEY, COURTLISTENER_API_KEY, GOVINFO_API_KEY, GOOGLE_BOOKS_API_KEY, NASA_ADS_API_KEY, EUROPEANA_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Alexandria tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the Alexandria settings, OPENAI_API_KEY, ALEXANDRIA_API_KEY, CORE_API_KEY, COURTLISTENER_API_KEY, GOVINFO_API_KEY, GOOGLE_BOOKS_API_KEY, NASA_ADS_API_KEY, EUROPEANA_API_KEY is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Alexandria and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Alexandria or shows a Alexandria tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
ALEXANDRIA_BASE_URL OpenAI-compatible gateway base URL shared by every LLM role (router, synth, research, embeddings, rerank). Falls back to https://api.openai.com/v1.GITHUB_TOKEN Unlocks githubsearch and githubmcp (GitHub code search); optional for ghsa and openiti. Public-repo read scope is enough.SEMANTIC_SCHOLAR_API_KEY Optional for semanticscholar and library_recommend; raises the rate limit. Free key from semanticscholar.org/product/api.Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Claude Code
claude mcp add --scope user alexandria --env OPENAI_API_KEY=your-value --env ALEXANDRIA_API_KEY=your-value --env CORE_API_KEY=your-value --env COURTLISTENER_API_KEY=your-value --env GOVINFO_API_KEY=your-value --env GOOGLE_BOOKS_API_KEY=your-value --env NASA_ADS_API_KEY=your-value --env EUROPEANA_API_KEY=your-value -- npx -y @the-40-thieves/alexandria-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"alexandria": {
"command": "npx",
"args": [
"-y",
"@the-40-thieves/alexandria-mcp"
],
"env": {
"OPENAI_API_KEY": "your-value",
"ALEXANDRIA_API_KEY": "your-value",
"CORE_API_KEY": "your-value",
"COURTLISTENER_API_KEY": "your-value",
"GOVINFO_API_KEY": "your-value",
"GOOGLE_BOOKS_API_KEY": "your-value",
"NASA_ADS_API_KEY": "your-value",
"EUROPEANA_API_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"alexandria": {
"command": "npx",
"args": [
"-y",
"@the-40-thieves/alexandria-mcp"
],
"env": {
"OPENAI_API_KEY": "your-value",
"ALEXANDRIA_API_KEY": "your-value",
"CORE_API_KEY": "your-value",
"COURTLISTENER_API_KEY": "your-value",
"GOVINFO_API_KEY": "your-value",
"GOOGLE_BOOKS_API_KEY": "your-value",
"NASA_ADS_API_KEY": "your-value",
"EUROPEANA_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"alexandria": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@the-40-thieves/alexandria-mcp"
],
"env": {
"OPENAI_API_KEY": "your-value",
"ALEXANDRIA_API_KEY": "your-value",
"CORE_API_KEY": "your-value",
"COURTLISTENER_API_KEY": "your-value",
"GOVINFO_API_KEY": "your-value",
"GOOGLE_BOOKS_API_KEY": "your-value",
"NASA_ADS_API_KEY": "your-value",
"EUROPEANA_API_KEY": "your-value"
}
}
}
}OPENAI_API_KEY secret required envALEXANDRIA_BASE_URL envALEXANDRIA_API_KEY secret required envCORE_API_KEY secret required envCOURTLISTENER_API_KEY secret required envGOVINFO_API_KEY secret required envGOOGLE_BOOKS_API_KEY secret required envGITHUB_TOKEN secret envNASA_ADS_API_KEY secret required envEUROPEANA_API_KEY secret required envSEMANTIC_SCHOLAR_API_KEY secret envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
The registry name was verified with the GitHub account The-40-Thieves, which owns the repo
Code last changed 2 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for @the-40-thieves/alexandria-mcp@11.0.0
Checks only this package version, not every dependency · checked Nov 15, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/the-40-thieves-alexandria-mcp)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: OPENAI_API_KEY, ALEXANDRIA_API_KEY, CORE_API_KEY, COURTLISTENER_API_KEY, GOVINFO_API_KEY, GOOGLE_BOOKS_API_KEY, NASA_ADS_API_KEY, EUROPEANA_API_KEY
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 2 days ago, and the latest version (11.0.0) reached the registry 2 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
Search and read Empryo's documentation. Read-only, no auth, no local access.
cotal.ai actions: product overview, site search, build log, feedback, Cloud waitlist, updates, calls
| This one Alexandria | OpenSEO | Exa | Microsoft Learn MCP | Docs | COTAL actions (cotal.ai) | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | Yes | Yes | Yes | No | No |
| Basic checks | 3/3 | 5/5 | 2/4 | 4/4 | 4/4 | 4/4 |
| License | MIT | MIT | MIT | CC-BY-4.0 | NOASSERTION | Apache-2.0 |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Install in Goose
A Model Context Protocol (MCP) server for querying, reading, and ingesting texts from 152 public digital libraries. Works with any MCP-compatible client (Claude Desktop, Cursor, VS Code Copilot, etc.).
| Tool | Description | ||
|---|---|---|---|
library_list_sources | List all 152 sources with descriptions and full-text capabilities | ||
library_ask(query, max_sources?, results_per_source?) | Natural language search — routes your query to the best sources, searches in parallel, returns unified deduplicated results | ||
library_search(query, source, limit?) | Search a specific source by title, author, or keywords | ||
library_read(id, source) | Fetch full text or metadata for an item (200k char limit) | ||
library_index(id, source) | Dry run: chunk and score text quality without writing anything | ||
library_ingest(id, source) | Chunk → embed → store in your vector database. Idempotent. | ||
library_recommend(id, limit?) | Get similar papers via Semantic Scholar's recommendation engine (up to 500) | ||
library_answer(query, max_sources?, results_per_source?, read_top?) | Ask a question and get a synthesized answer with inline [n] citations, fused across sources with reciprocal rank fusion; warnings[] flags an uncited or all-dropped answer | ||
library_research(query, depth?, breadth?, max_minutes?) | Recursive multi-round research: generates queries, answers each, extracts learnings, and writes a final cited report over every source found | ||
library_health_check(source?, cluster?) | Report per-source health (ok, degraded, down, key_missing, unknown), merging this process's live error rate/latency with the last off-process probe run | ||
library_citations(id, source, direction, limit?, format?) | List the works an item cites (direction: "references") or the works that cite it (direction: "citations"), via OpenAlex's citation graph with OpenCitations as a fallback; `format: "bibtex" \ | "ris" \ | "apa" also returns a formatted` bibliography string |
library_ask is the primary entry point. library_search is for targeted queries against a known source. library_index / library_ingest are for building a vector knowledge base from retrieved texts. library_answer and library_research synthesize a cited answer or report instead of returning raw results. library_health_check tells you whether a source is worth calling before you call it. library_citations walks the citation graph around an item and can export it as a bibliography.
library_ask, library_search, library_answer, library_research, library_health_check, and library_citations take a response_format: "concise" | "detailed" parameter (default concise); concise trims results and citations to the high-signal fields (title, source, id, year, hasFullText, url; answer/report + citations; name, cluster, status), detailed returns the full payload, including routing reasons, relevance scores, per-stage diagnostics, and per-source error rate/latency/quota usage. In detailed mode, library_search also attaches a resource_link content item for each full-text result, pointing at that item's library://doc/{source}/{id} resource (see below): a client with resource support can read the full text directly instead of a second library_read call.
Three ready-made research workflows, surfaced by MCP clients as slash commands (Claude Code's /alexandria: , VS Code's /alexandria.prompt). Each returns a single message naming the tools to call, in order. It does not call any tool itself.
| Prompt | Description |
|---|---|
literature_review(topic, depth?) | Survey a topic across sources and produce a cited report |
fact_check_claim(claim) | Check one claim against the library and report whether it is supported |
verify_bibliography(references) | Check that a list of references (one per line) resolves to real, findable items |
library://doc/{source}/{id} reads the same text library_read(id, source) returns (including the open-access fallback below), addressed by the source/id pair library_search or library_ask returned. Clients that support MCP resources (Claude Code's @srv:uri, VS Code's Add Context) can pull an item's full text directly.
152 sources across 19 clusters (36 hidden pending a key or config not present in this deployment). Full per-source detail, including auth env vars and last-verified dates, is generated in docs/sources.md.
| Cluster | Sources | Hidden |
|---|---|---|
| academic | 22 | 3 |
| ai_research | 3 | 0 |
| archives | 4 | 2 |
| culture | 8 | 3 |
| developer | 17 | 5 |
| economics | 11 | 3 |
| geopolitical | 3 | 3 |
| government | 7 | 3 |
| law | 4 | 1 |
| literature | 16 | 2 |
| markets | 2 | 1 |
| news_global | 5 | 2 |
| news_regional | 15 | 0 |
| real_estate | 2 | 2 |
| science | 8 | 2 |
| security | 14 | 0 |
| standards | 3 | 0 |
| video | 1 | 1 |
| web | 7 | 3 |
| Total | 152 | 36 |
Most tools query external library APIs directly and need no credentials at all. The two optional dependencies are scoped to specific tools:
Required by two tools only:
gpt-4o-mini to route your natural language query to the right sources and generate optimized per-source search terms. Without this key, use library_search to query sources directly.text-embedding-3-small to embed chunked text before writing to the vector store.library_list_sources, library_search, library_read, library_index, and library_recommend all work without an OpenAI key.
Every LLM/embedding call (routing in library_ask, embeddings in library_ingest) goes through a small per-role provider table (src/utils/providers.ts, THE-318) instead of talking to OpenAI's SDK directly. There are five roles: router, synth, research, embeddings, rerank. Each is resolved from env in this order:
ALEXANDRIA_ _BASE_URL, ALEXANDRIA_ _API_KEY, ALEXANDRIA_ _MODEL (per-role overrides; is the role name upper-cased, e.g. ALEXANDRIA_ROUTER_BASE_URL)ALEXANDRIA_BASE_URL, ALEXANDRIA_API_KEY (shared defaults across every role)OPENAI_API_KEY, with baseURL defaulted to https://api.openai.com/v1With only OPENAI_API_KEY set, every role resolves through step 3, which is exactly today's behavior (gpt-4o-mini for router/synth against api.openai.com, text-embedding-3-small for embeddings).
To route every role through a LiteLLM gateway instead:
ALEXANDRIA_BASE_URL=http://100.78.123.100:4001/v1
ALEXANDRIA_API_KEY=sk-litellm-...
To route through Cloudflare AI Gateway (its OpenAI-compatible endpoint):
ALEXANDRIA_BASE_URL=https://gateway.ai.cloudflare.com/v1/<account_id>/<gateway_id>/openai
ALEXANDRIA_API_KEY=
Or point just one role at a gateway while the rest stay on OpenAI directly, e.g. ALEXANDRIA_ROUTER_BASE_URL + ALEXANDRIA_ROUTER_API_KEY for routing only.
See docs/cloudflare.md for the fuller Cloudflare integration guide: AI Gateway's newer unified endpoint, Workers AI for the embeddings/rerank roles, Tunnel + Access for a private /mcp, WAF rate limiting for a public one, R2 as an optional cache store, the Browser Run fetch tier below, and why Alexandria stays a hybrid (Node core, Cloudflare services) rather than a full Workers port.
When ALEXANDRIA_ _BASE_URL/ALEXANDRIA_BASE_URL is set *and* OPENAI_API_KEY is also present, OPENAI_API_KEY is wired up as a one-shot fallback: a network error or 5xx from the gateway falls through to a direct OpenAI call once before the request fails. chatJSON (used by routing) always validates the model's response against a zod schema and retries once, on the same backend, with the validation error appended to the prompt, which helps when a gateway is proxying a smaller or local model that doesn't reliably follow the JSON contract on the first try. It requests response_format: json_object only against api.openai.com, or when ALEXANDRIA_ _JSON_MODE=1 confirms the gateway/model supports it; otherwise it asks for JSON in the prompt instead.
Required by one tool only:
Everything else — searching, reading, browsing, getting recommendations — queries external sources in real time and needs no database.
Some sources require their own API key. These are free registrations. Sources without a key listed here work without any credentials.
| Env Var | Source(s) | Get It |
|---|---|---|
CORE_API_KEY | core | core.ac.uk/services/api |
COURTLISTENER_API_KEY | courtlistener | courtlistener.com/profile/tokens |
GOVINFO_API_KEY | govinfo; also accepted by congress and regulations as a fallback for DATA_GOV_API_KEY | api.data.gov/signup. Does not cover smithsonian, which needs its own SMITHSONIAN_API_KEY from the same signup page |
GOOGLE_BOOKS_API_KEY | googlebooks | Google Cloud Console → APIs & Services → Books API |
BHL_API_KEY | bhl | biodiversitylibrary.org/getapikey |
DIGITALNZ_API_KEY | digitalnz | digitalnz.org/developers |
DPLA_API_KEY | dpla | pro.dp.la/developers/api-codex |
EUROPEANA_API_KEY | europeana | apis.europeana.eu — test key immediate, personal ~1 week |
GITHUB_TOKEN | required by githubsearch and githubmcp; optional for ghsa and openiti | github.com/settings/tokens, public repo read scope. githubsearch and githubmcp are hidden without it; ghsa falls back to 60s pacing and openiti to an unauthenticated search path |
NASA_ADS_API_KEY | nasaads | ui.adsabs.harvard.edu/user/settings/token |
SPRINGER_OA_API_KEY + SPRINGER_META_API_KEY | springer | dev.springernature.com — same registration, two keys |
| ZENODO_API_KEY | zenodo | [zenodo.org/account/settin