# PubMed Search

> PubMed Search is an open-source MCP server for health and science. Biomedical literature search over PubMed, Europe PMC and OpenAlex for AI agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted
- **Website:** https://u9401066.github.io/pubmed-search-mcp/
- **Repository:** https://github.com/u9401066/pubmed-search-mcp
- **MCP Registry name:** io.github.u9401066/pubmed-search-mcp
- **Categories:** health and science
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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

- [Tooluniverse](https://ai-powered.com/mcp/tooluniverse): Tooluniverse is an open-source MCP server for health and science.
- [Oya Browser](https://ai-powered.com/mcp/oya-browser): Oya Browser is a freemium MCP server for browser automation.
- [Later Stages](https://ai-powered.com/mcp/later-stages): Later Stages is a free MCP server for health and science.
- [MedXpert 标准检索连接器](https://ai-powered.com/mcp/medxpert-2): MedXpert 标准检索连接器 is a free MCP server for legal and government.
- [MedXpert 全球法规连接器 (reg-connector)](https://ai-powered.com/mcp/medxpert-reg-connector): MedXpert 全球法规连接器 (reg-connector) is a free MCP server for legal and government.
- [Splyt](https://ai-powered.com/mcp/splyt): Splyt is a free MCP server for health and science.
- [Health Agent](https://ai-powered.com/mcp/health-agent): Health Agent is an MCP server for health and science.
- [Pausila](https://ai-powered.com/mcp/pausila): Pausila is a free MCP server for local services.

---
Source: https://ai-powered.com/mcp/pubmed-search
