Pubmed MCP Server

A Model Context Protocol (MCP) server that provides access to PubMed's E-utilities API for searching and downloading scientific articles. This server

Local serverstdioPython

What is the Pubmed MCP MCP server?

A Model Context Protocol (MCP) server that provides access to PubMed's E-utilities API for searching and downloading scientific articles. This server enables LLM applications to search PubMed's vast database of biomedical literature and. The pubmed mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 1 defined tool rather than through you.

What it actually does

  • Article Search — Search PubMed database with flexible query terms
  • Article Download — Retrieve full article metadata, abstracts, and available content
  • Batch Operations — Download multiple articles in a single request
  • Article Summaries — Get document summaries with metadata
  • Multiple Formats — Support for XML, JSON, and text output formats
  • Rate Limiting — Automatic rate limiting to respect PubMed API limits

Its toolset

Everything the assistant can do here goes through one of these:

  • Dependencies — The Dependencies tool exposed by this server

Configuration

You will need 2 environment variables: NCBI_API_KEY, NCBI_EMAIL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

When to reach for it

Plenty of database access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Pubmed MCP's toolset — Dependencies — is a fair guide to whether it matches your workflow. It is maintained by aeghnnsw; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the pubmed mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
DependenciesThe Dependencies tool exposed by this server.

How to install the Pubmed MCP MCP server

{
  "mcpServers": {
    "pubmed": {
      "command": "/path/to/pubmed-mcp/venv/bin/python",
      "args": ["/path/to/pubmed-mcp/server.py"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
NCBI_API_KEYCredential the server authenticates with.Yes
NCBI_EMAILConfiguration value read at startup.Optional

Example prompts to try

  • Use Pubmed MCP to Dependencies.

Frequently asked questions

It connects Pubmed MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Dependencies) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Pubmed MCP directly.