Skip to main content
MCP server CX Codex

PubMed — Claude Code MCP server: search and install

Search PubMed for medical and life-science papers, retrieve article details, and follow related work. Useful when an agent needs literature lookup.

no license 42,137 installs updated 2026-03-27

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http pubmed https://pubmed.run.tools
Open on GitHub

What PubMed does

PubMed gives an AI coding client access to biomedical literature. It can search for papers, return article metadata, locate related records, and resolve a publication from citation details. Other tools translate PMID, PMCID, and DOI values, check copyright details, and request full text from PubMed Central.

The server uses the HTTP endpoint https://pubmed.run.tools. It can be connected to Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and the other listed clients. Claude Code uses a single setup command. PubMed covers medical and life-science records, so it is a poor fit for searches outside that scope.

What it helps with

  • search biomedical papers by topic
  • retrieve metadata from a PMID or citation
  • convert between PMID, PMCID, and DOI
  • discover related PubMed records
  • check full-text and copyright availability

Example prompts for the agent

  • Search PubMed for studies on sleep and memory, then return titles, PMIDs, and abstracts.
  • Use these citation details to find the paper and list related PubMed articles with available full text.
  • Convert this DOI to a PMID and check the article’s copyright status.

How to install PubMed

Platform CLI: remote server

claude mcp add --transport http pubmed https://pubmed.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about PubMed

How do I install PubMed in Claude Code?

Run claude mcp add --transport http pubmed https://pubmed.run.tools.

What does PubMed do?

This MCP server searches PubMed, returns article metadata and related records, and converts between PMID, PMCID, and DOI identifiers.

What kind of literature can PubMed search?

Its scope includes medicine, clinical research, public health, biology, genetics, and related life-science areas. Full text is requested from PubMed Central when available.

Similar MCP servers

All MCP servers for Science and research →

More in the catalog

Project sponsors

Companies that keep this analytics open