HomeOther › pubmed-mcp-server

pubmed-mcp-server

Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.

TypeScript Remote
★ 150 stars Last pushed 2026-09-23 License: Apache-2.0

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Remote (streamable-http)

https://pubmed.caseyjhand.com/mcp Reachable (checked 2026-09-24)

Claude Code:

claude mcp add --transport http pubmed-mcp-server https://pubmed.caseyjhand.com/mcp

Or add to your MCP client config:

{
  "mcpServers": {
    "pubmed-mcp-server": {
      "url": "https://pubmed.caseyjhand.com/mcp"
    }
  }
}

Package (npm 2.10.18)

npx -y @cyanheads/pubmed-mcp-server@2.10.18

Or add to your MCP client config:

{
  "mcpServers": {
    "pubmed-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/pubmed-mcp-server@2.10.18"
      ],
      "env": {
        "MCP_LOG_LEVEL": "<YOUR_VALUE>",
        "NCBI_API_KEY": "<YOUR_VALUE>",
        "NCBI_ADMIN_EMAIL": "<YOUR_VALUE>",
        "UNPAYWALL_EMAIL": "<YOUR_VALUE>"
      }
    }
  }
}
  • MCP_LOG_LEVEL — Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
  • NCBI_API_KEY — NCBI API key for higher rate limits (10 req/s vs 3 req/s).
  • NCBI_ADMIN_EMAIL — Contact email sent with NCBI requests (recommended by NCBI).
  • UNPAYWALL_EMAIL — Contact email for Unpaywall. When set, pubmed_fetch_fulltext falls back to Unpaywall open-access copies for DOIs not in PMC.

This server takes extra arguments — see its repository.

Package (npm 2.10.18)

Package: npm @cyanheads/pubmed-mcp-server

  • MCP_HTTP_HOST — The hostname for the HTTP server.
  • MCP_HTTP_PORT — The port to run the HTTP server on.
  • MCP_HTTP_ENDPOINT_PATH — The endpoint path for the MCP server.
  • MCP_PUBLIC_URL — Public origin override for deployments behind a TLS-terminating reverse proxy (e.g. https://mcp.example.com).
  • MCP_AUTH_MODE — Authentication mode to use: 'none', 'jwt', or 'oauth'.
  • MCP_LOG_LEVEL — Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
  • NCBI_API_KEY — NCBI API key for higher rate limits (10 req/s vs 3 req/s).
  • NCBI_ADMIN_EMAIL — Contact email sent with NCBI requests (recommended by NCBI).
  • UNPAYWALL_EMAIL — Contact email for Unpaywall. When set, pubmed_fetch_fulltext falls back to Unpaywall open-access copies for DOIs not in PMC.

This server takes extra arguments — see its repository.

Related servers

Data from the Official MCP Registry