Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Pubmed MCP

MCP server by DJMIMA Verified · npm:@djmima

Searches and reads PubMed and PubMed Central literature for Claude, Codex, and other LLM clients. It runs on your own machine through the NCBI E-utilities API, for people who want biomedical citations inside their AI assistant. It is free and open source.

  • Score 77
  • 0 stars
  • 303 a week
  • MIT
  • Updated

Install Pubmed MCP

Built from the published package, never by AI.

claude mcp add pubmed-mcp -- npx -y @djmima/pubmed-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Pubmed MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the pubmed-mcp block.

About

PubMed MCP is an MCP server and command-line tool that gives Claude, Codex, and other LLM clients structured access to PubMed and PubMed Central (PMC) through the NCBI E-utilities API. It offers tools to search articles, get metadata and abstracts, find related articles, look up PMIDs from citation details, convert between PMID, PMCID and DOI, and retrieve full text for PMC Open Access articles. It is free, open source, and runs on your own machine.

The server is published on npm and can be started with npx in an MCP client configuration. Search results include diagnostics about Automatic Term Mapping, so users can check the query translation before concluding that no literature exists. It is aimed at people who want biomedical literature searched and read from their AI assistant. No account is needed, and an NCBI API key is optional.

Written from the project's README and checked against it.

Tools it gives your assistant

  • search_articlesSearches PubMed with PubMed syntax or keywords, with field restriction, date filters and sorting.
  • get_article_metadataGets the title, abstract, authors, MeSH terms and keywords for given PMIDs.
  • find_related_articlesFinds similar articles and links to other NCBI databases using ELink.
  • lookup_article_by_citationLooks up PMIDs from citation data such as journal, year, volume and first author.
  • convert_article_idsConverts between PMID, PMCID and DOI.
  • get_full_text_articleGets the full body text of PMC Open Access articles as plain text.
  • get_copyright_statusChecks full text availability, license, copyright statement and OA status.

What you need

  • Node.js 22 or later
  • NCBI API key (optional)
  • jq (optional, for CLI output filtering)
  • An MCP client such as Claude Desktop, Claude Code or Codex

Try asking

  • Find recent papers on CRISPR gene editing in cancer treatment
  • Get the abstract and MeSH terms for PMIDs 12345678 and 23456789
  • Convert this DOI to its PMID and PMCID

Good to know

  • Full text is only available for PMC Open Access articles.
  • Without an NCBI API key, requests are limited to 3 per second.
  • Remote use on Cloud Run requires deployment and an OAuth access token.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Pubmed MCP

All alternatives →
Mirobody thetahealth
96

Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.

AAA Local 1.9k
Ruview ruvnet
94

RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.

AAA Local 106k
tooluniversemims-harvard
90

ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.

AAA Local 1.8k
Mirobody thetahealth
90

Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.

AAA Local 1.9k
Scansci PDF Rimagination
88

ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.

AAA Local 1.3k
Dsh Wensu hui-xu-ai
87

Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.

AAC Local 5k/wk

Compare with Mirobody, Ruview or tooluniverse

Pubmed MCP: common questions

Do I need an NCBI API key to use PubMed MCP?

No. The server works without one, but it is limited to 3 requests per second. With an API key the limit is 8 requests per second.

Can PubMed MCP return the full text of any article?

No. The get_full_text_article tool returns full body text only for PMC Open Access articles, as plain text. get_copyright_status shows whether full text is available and under which license.

Does PubMed MCP require an account or a paid plan?

The source says no account is needed and that the project is free and open source. An NCBI API key is optional.

How do I install Pubmed MCP?

In Claude Code run claude mcp add pubmed-mcp -- npx -y @djmima/pubmed-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Pubmed MCP the official server?

Pubmed MCP is published by npm:@djmima from its verified domain in the official MCP Registry.

Is Pubmed MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Pubmed MCP safe to use?

It scores 77 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Pubmed MCP?

Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.

Does Pubmed MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Pubmed MCP Install

Add to stack

Loading.