MCP directory
PM

Pubmed Mcp Server

by github.com/cyanheads · v2.12.4 · updated Nov 24, 2026

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

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://pubmed.caseyjhand.com/mcp

Claude Code

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

Run it locally

Install the package and point your AI client at it.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • 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.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • MCP_TRANSPORT_TYPE

    Selects the HTTP transport.

  • 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.

More from github.com/cyanheads

More MCP servers