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

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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
querystring, required): Search query (e.g., "COVID-19 vaccines", "machine learning AND healthcare")
max_resultsint, optional): Maximum results to return (default: 20, max: 200)
sortstring, optional): Sort order - "relevance", "pub_date", or "first_author" (default: "relevance")
pmidsList of requested PMIDs
total_countTotal number of matching articles
query_usedThe search query executed
results_returnedNumber of results returned
sort_orderSort order used
pmidThe PubMed ID
format_typestring, optional): Content format (default: "abstract")
return_modestring, optional): Return format (default: "xml")
contentCombined article content
content_lengthLength of content
article_countNumber of articles requested
summariesXML summary data

How to install the Pubmed MCP Server

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

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Pubmed MCP to Dependencies.”

Frequently asked questions

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 Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.