Skip to main content
Glama

mcp-pubmed

Search PubMed for biomedical literature, abstracts, and citations via the NCBI E-utilities API.

Free API — No API key required.

Tools

Tool

Description

search_articles

Search PubMed for biomedical articles. Supports full PubMed query syntax including field tags ([Title], [Author], [MeSH]), boolean operators (AND, OR, NOT), and date ranges.

get_article

Get full metadata for a specific PubMed article by PMID, including title, abstract, authors, journal, publication date, DOI, and MeSH terms.

get_citations

Get articles that cite a given PubMed article (PMID). Useful for forward citation tracking.

get_related

Get related articles for a given PubMed article (PMID), ranked by relevance using NCBI's algorithm.

search_mesh

Search the Medical Subject Headings (MeSH) vocabulary. Useful for finding standardized biomedical terms, tree numbers, and scope notes.

get_full_text_links

Get links to free full text versions of an article (e.g., PubMed Central). Returns PMC links and publisher free-access URLs.

Installation

git clone https://github.com/PetrefiedThunder/mcp-pubmed.git
cd mcp-pubmed
npm install
npm run build

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "pubmed": {
      "command": "node",
      "args": ["/path/to/mcp-pubmed/dist/index.js"]
    }
  }
}

Usage with npx

npx mcp-pubmed

License

MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PetrefiedThunder/mcp-pubmed'

If you have feedback or need assistance with the MCP directory API, please join our Discord server