Install Alexandria for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"the-40-thieves-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": "",
"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"
}
}
}
}