Skip to content
MCP server

PubMed Search

Biomedical literature search over PubMed, Europe PMC and OpenAlex for AI agents

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted
Runs
Locally
Version
0.8.0
Listing updated
2 days ago

About PubMed Search

PubMed Search is an open-source MCP server for health and science. It runs locally on your machine and is started by your AI client.

The server goes beyond wrapping an API, aiming to act as a task-oriented research assistant. It exposes 41 tools covering PubMed, Europe PMC, CORE and other NCBI databases, citation work and a versioned Research Chronicle. Pipelines can run on a schedule and report bounded changes, and snowball searches expand several citation seeds at once.

A normal search can opt into options="exclude_seen" to skip PMIDs and DOIs already returned in the session. Open-access figure extraction pulls captions, image URLs and PDF links from PMC articles. NCBI access needs a contact email, and an optional NCBI API key raises the rate limit from 3 to 10 requests per second.

It installs from PyPI over stdio under Apache-2.0. A multi-agent service mode adds per-tenant sessions, caches, bearer-token authentication and fair-share limits, and the repository includes 26 Claude skills, Copilot instructions and a bilingual documentation site.

Install

Run in a terminal

claude mcp add pubmed-search-mcp --env NCBI_API_KEY='<NCBI_API_KEY>' -- uvx pubmed-search-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "pubmed-search-mcp": {
      "command": "uvx",
      "args": [
        "pubmed-search-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "pubmed-search-mcp": {
      "command": "uvx",
      "args": [
        "pubmed-search-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "pubmed-search-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pubmed-search-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "pubmed-search-mcp": {
      "command": "uvx",
      "args": [
        "pubmed-search-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "pubmed-search-mcp": {
      "command": "uvx",
      "args": [
        "pubmed-search-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}

Configuration

  • NCBI_EMAILContact email sent to NCBI E-utilities; defaults to git user.email
  • NCBI_API_KEYOptional NCBI API key that raises the E-utilities limit from 3 to 10 requests per second

What it does

41 research tools
Search, full text, citations and database access in one server.
Multi-source broker
Combines PubMed, Europe PMC, CORE and OpenAlex.
Pipelines and snowballing
Scheduled diffs and multi-seed citation expansion.
Session deduplication
Optionally hides records already returned.
Figure extraction
Pulls captions and image links from PMC open-access articles.
Service mode
Serves many agents with tenant isolation and bearer tokens.

Good for

  • Run a literature search for a clinical question
  • Follow citations outward from a key paper
  • Track new papers on a topic over time
  • Pull figures from open-access articles
  • Host one shared research service for a team of agents

Pricing

Open source

Apache-2.0, installed from PyPI

Prices change. Check u9401066.github.io before you buy.

PubMed Search FAQ

How do I install it?

From PyPI as pubmed-search-mcp, run over stdio.

Do I need an NCBI key?

No, it is optional and raises the limit from 3 to 10 requests per second.

What licence applies?

The README badge lists Apache-2.0.

How many tools are there?

41, according to the README and docs site.

Is PubMed Search free?

Yes. PubMed Search is open source, so you can use and self-host it for free.

How do I add PubMed Search to Claude Code?

Run this command in your terminal: claude mcp add pubmed-search-mcp --env NCBI_API_KEY='<NCBI_API_KEY>' -- uvx pubmed-search-mcp

What are the best alternatives to PubMed Search?

The closest alternatives to PubMed Search are Tooluniverse, Oya Browser, Later Stages, MedXpert 标准检索连接器 and MedXpert 全球法规连接器 (reg-connector).

Alternatives to PubMed Search

  1. Tooluniverse

    MCP server

    MCP server giving AI agents access to thousands of scientific research tools

    Runs locally
    • Open source
    • 1.8K GitHub stars
    • Health and science
  2. Oya Browser

    MCP server

    HIPAA-oriented agentic browser with replayable playbooks, reachable over MCP

    • 32 tools
    • Remote
    • Freemium
    • 349 GitHub stars
    • Browser automation
  3. Later Stages

    MCP server

    California senior living and care provider records from state licensing and Medicare

    • 6 tools
    • Remote
    • Free
    • Health and science
  4. Read-only local index of medical-device standards with official links, no standard text

    Runs locally
    • 4 tools
    • Free
    • Legal and government
  5. Splyt

    MCP server

    Let Claude or ChatGPT read your Splyt workouts, records, plan, habits and sleep

    • Remote
    • Free
    • Health and science