Koskamo

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.

Alexandria MCP logo, by The-40-ThievesCommunity listingLocal stdioSource reviewed; not executedPublished by The-40-Thieves
Vendor documentation

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

Community listingRegistry 11.0.0
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

npmnpx
@the-40-thieves/alexandria-mcp package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.