Skip to content
FunCoding

PubMed Search

Listed in the official MCP Registry

Multi-source biomedical literature search: PubMed, Europe PMC, OpenAlex, full text, citations

Star
30
Version
v0.12.0
License
Apache-2.0
Last commit
Dec 1, 2026

PubMed Search MCP

繁體中文 · Documentation site · Release history

An agent plugin for biomedical literature research. The host agent chooses a search strategy, follows citations and records what it read. The MCP server queries providers and keeps identifiers, search runs and evidence artifacts. A colleague using the same research workspace can pick up the outstanding reading.

The PubMed search code can be traced to November 25, 2025 in med-paper-assistant. GitHub records December 2, 2025 as the creation date of this repository. The first PyPI distribution followed on December 8. Project history and primary records

How an agent explores, expands, examines and explains a literature question

Quick install

Choose a versionStart here
Published v0.12.0Configure the client's stdio command as uvx, with [email protected] as its argument. Set NCBI_EMAIL to your research contact. The package exposes 44 MCP Tools, including a persistent research workspace and register_fulltext.
Development checkoutBuild the plugin from this checkout with the command below to test local changes.
uv run --frozen python scripts/build_agent_plugin.py --dev-output build/pubmed-research-plugin

Select the generated directory in your agent's plugin installer. Keep the checkout available. The generated launcher uses this source tree. The version-pinned launcher in plugins/pubmed-search/ uses the published package. Client configurations and plugin installation

Four blinded review cases tested whether MeSH previews improve search decisions. Methods, screening costs and results

What's new in v0.12.0

  • Fulltext beyond PMC XML: for an explicit single-article request, get_fulltext reads the public PMC article page when the publisher only allows front matter in PMC XML (for example JAMA). It is budgeted, identified and never used by search or batch paths.
  • A plan when no fulltext is available: fulltext_plan lists the next legal steps (host fetch, verified open-access PDF, institutional access, Zotero attachment, asking the user) with ready-made calls.
  • register_fulltext: register text the agent or user obtained, with required provenance. get_fulltext, notes and Chronicles reuse it, always labelled as supplied, never as provider-verified.
  • Agent-friendly search responses: JSON results are compact summary records by default (about 1.1 KB per record); transient upstream failures are retried and reported as retryable with a "repeat this call" suggestion.
  • PubMed records carry article type, PMCID and open-access status, which were previously always unknown; quality ranking, filters and badges now use them.

Upgrade note: if you import unified_search JSON articles wholesale, add options="full_records". v0.11.0 added saved-pipeline systematic-review records, precision-first search, MeSH correction and citation field corrections.

Details: CHANGELOG.

Start with a research question

For example, ask the agent to trace the early development of cochlear implants and leave the next paper to read for a colleague. Choose a workflow before memorizing 44 tool names.

Research taskWhat the agent can do
Define the scopeExpand MeSH and synonyms, validate agent-supplied PICO, or compare which papers a Boolean condition excludes. PubMed combination example
Search and extendSearch several providers, inspect per-source failures, then follow related papers, references or citing articles. User guide
Read and verifyInspect an abstract, an available full-text passage, figures or bibliography matches. Use diagnose_institutional_access for a configured resolver. Record the source and what was actually read. Tool guide
Reuse a review strategySave a PICO or citation-expansion pipeline, retrieve the complete PubMed set, export PRISMA-S records and RIS/CSV, analyse each concept block's contribution and log screening decisions for PRISMA 2020 counts. Eligibility judgements and statistical pooling remain researcher tasks. Pipeline tutorial
Explore research historyReview dated Chronicle branches, landmarks, earlier alternatives and revision differences. Historical case and workspace handoff
Share resultsExport citations or notes, record source identifiers and leave an open action. The host can cross-check an authorized local Zotero library. Capability inventory and evidence

For each of the 16 registry categories, see the implementation evidence and remaining limits in the inventory. The tool-by-tool audit and generated index give individual contracts.

Search limits and recovery

Generic literature discovery uses exactly one MCP entry point, unified_search. Deep search is precision-first: your query gets each source's full result budget, and lower-precision strategies only fill missing slots, disclosed in broadening. Inspect search_status and the run artifact before interpreting a small or empty result. OA identifiers, authorized institutional access and local copies determine which full-text passages can be read.

The search-run/v1 journal also covers inline, saved:<name>, or dry_run=true pipeline execution. Use read_session(request={"action":"replay_search","run_id":"..."}) to recover the original credential-free arguments. There is no public cursor-resume parameter yet. Submitting the recovered request starts a new search. A reply with search_run.status="history_unavailable" has no guaranteed durable replay. Recovery and artifact formats

Configuration

RuntimeState and access
stdio or loopback HTTPTrusted single-user deployment with a durable default tenant. The HTTP entry point is pubmed-search-mcp-http --mode local --host 127.0.0.1.
Authenticated service--mode service fails closed without a bearer principal. Authenticated callers cannot load file: pipelines or choose a server-host note path. The service Compose scheduler is disabled. Deployment
Copilot StudioSet PUBMED_AUTH_TOKENS and an assigned NGROK_DOMAIN before using scripts/start-copilot-studio.sh --with-ngrok. The local smoke launcher exercises the same canonical 44-tool strict registry. Copilot integration

Modern 2026-07-28 clients use MCP SDK v2 requests. Python applications can call pubmed_search.api directly. The optional pubmed-browser-fetch-broker runs on a machine with an authorized browser session. Integration guide · Python facade

Skills and development

Usage Skills (12) are shipped with the release plugin. Development Skills (15) stay in the repository for contributors. Plugin skills · Architecture · Testing · Contributing

Citation and license

We welcome patches, reproducible search cases, historically sourced Chronicle corrections and documentation updates. Include the version or commit you used and the observation you want someone else to reproduce. Contribution guide · Issues

The software is distributed under Apache License 2.0. When redistributing it, include the license, retain applicable notices and mark files you change. Articles, figures and datasets retrieved through the tools remain subject to their source terms. License text

Cite the software version used, and the commit for a branch experiment. Cite original papers for research claims. The manuscript is a working draft. Software citation · Manuscript and evaluation · Apache License 2.0

Similar MCP servers

Scrapling MCP Server

Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.

D4D4Vinci/Scrapling107k1,730 new stars in the last 7 days

Official

Fetch

Fetches web content and converts it to Markdown for an LLM to read

MOmodelcontextprotocol/servers92k190 new stars in the last 7 days

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

EVevery-app/open-seo29k533 new stars in the last 7 days

Agent Skills Search Server

Search and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.

AGagentskills/agentskills28k203 new stars in the last 7 days

XERJ

The search engine for AI agents: cited answers from your local code, docs, specs and logs.

XExerj-org/xerj23k1,833 new stars in the last 7 days

Featured

Apify

Run ready-made Apify scrapers to extract data from social media, maps and e-commerce sites.

APapify/apify-mcp-server19k1,076 new stars in the last 7 days