Pubmed MCP Server

CLI and Python SDK for biomedical literature search with MeSH, PICO, and intelligent query expansion

Local serverstdioPython

What is the Pubmed MCP Server?

CLI and Python SDK for biomedical literature search with MeSH, PICO, and intelligent query expansion

What the server does

CLI and Python SDK for biomedical literature search, query analysis, citation export, full-text lookup, and multi-source academic enrichment.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • search — Search biomedical literature across PubMed and optional academic sources
  • strategy — Generate MeSH expansion and search strategy materials
  • analyze-query — Analyze intent, complexity, identifiers, PICO, and source recommendations without running a search
  • details — Fetch detailed metadata for one or more PMIDs
  • export — Export citations as BibTeX, RIS, CSV, MEDLINE, CSL JSON, or JSON
  • fulltext — Locate full-text access through available source resolvers
  • text-mined — Retrieve text-mined biomedical terms when source data is available
  • related — Find related articles for a PMID
  • metrics — Fetch citation metrics where supported
  • timeline — Build research timeline summaries from a query or PMID set
  • cite-tree — Explore citation/reference relationships around a root PMID
  • pico — Parse a clinical question into PICO-style components

Recorded tools

  • search — Search biomedical literature across PubMed and optional academic sources.
  • strategy — Generate MeSH expansion and search strategy materials.
  • analyze-query — Analyze intent, complexity, identifiers, PICO, and source recommendations without running a search.
  • details — Fetch detailed metadata for one or more PMIDs.
  • export — Export citations as BibTeX, RIS, CSV, MEDLINE, CSL JSON, or JSON.
  • fulltext — Locate full-text access through available source resolvers.
  • text-mined — Retrieve text-mined biomedical terms when source data is available.
  • related — Find related articles for a PMID.
  • metrics — Fetch citation metrics where supported.
  • timeline — Build research timeline summaries from a query or PMID set.
  • cite-tree — Explore citation/reference relationships around a root PMID.
  • pico — Parse a clinical question into PICO-style components.

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
searchSearch biomedical literature across PubMed and optional academic sources.
strategyGenerate MeSH expansion and search strategy materials.
analyze-queryAnalyze intent, complexity, identifiers, PICO, and source recommendations without running a search.
detailsFetch detailed metadata for one or more PMIDs.
exportExport citations as BibTeX, RIS, CSV, MEDLINE, CSL JSON, or JSON.
fulltextLocate full-text access through available source resolvers.
text-minedRetrieve text-mined biomedical terms when source data is available.
relatedFind related articles for a PMID.
metricsFetch citation metrics where supported.
timelineBuild research timeline summaries from a query or PMID set.
cite-treeExplore citation/reference relationships around a root PMID.
picoParse a clinical question into PICO-style components.

How to install the Pubmed MCP Server

{
  "mcpServers": {
    "pubmed-search-1": {
      "command": "uvx",
      "args": ["pubmed-search"],
      "env": {
        "NCBI_EMAIL": "your-value",
        "NCBI_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

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

Example prompts to try

  • “Use Pubmed to search.”
  • “Use Pubmed to strategy.”
  • “Use Pubmed to analyze-query.”

Frequently asked questions

CLI and Python SDK for biomedical literature search with MeSH, PICO, and intelligent query expansion Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.