# PubMed

Search PubMed for medical and life-science papers, retrieve article details, and follow related work. Useful when an agent needs literature lookup.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 42137 installs
- Author: pubmed
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/pubmed
- Updated: 2026-03-27
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/pubmed

## What it does

PubMed gives an AI coding client access to biomedical literature. It can search for papers, return article metadata, locate related records, and resolve a publication from citation details. Other tools translate PMID, PMCID, and DOI values, check copyright details, and request full text from PubMed Central.

The server uses the HTTP endpoint `https://pubmed.run.tools`. It can be connected to Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and the other listed clients. Claude Code uses a single setup command. PubMed covers medical and life-science records, so it is a poor fit for searches outside that scope.

## Requirements
- Remote server: `https://pubmed.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http pubmed https://pubmed.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add pubmed --url https://pubmed.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "pubmed": {
            "url": "https://pubmed.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "pubmed": {
            "type": "http",
            "url": "https://pubmed.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http pubmed https://pubmed.run.tools
```

## When to use it
- search biomedical papers by topic
- retrieve metadata from a PMID or citation
- convert between PMID, PMCID, and DOI
- discover related PubMed records
- check full-text and copyright availability

## Example prompts
- Search PubMed for studies on sleep and memory, then return titles, PMIDs, and abstracts.
- Use these citation details to find the paper and list related PubMed articles with available full text.
- Convert this DOI to a PMID and check the article’s copyright status.

## Similar
- [pubmed-search](https://affpapa.org/en/nevibecode/skills/pubmed-search.md) — skill · 711 installs
- [pubmed-database](https://affpapa.org/en/nevibecode/skills/google-deepmind-pubmed-database.md) — skill · 3000 installs
- [pubmed-mcp-server](https://affpapa.org/en/nevibecode/mcp/pubmed-mcp-server.md) — MCP server · ★ 169 repo stars
- [PubMed Search](https://affpapa.org/en/nevibecode/mcp/pubmed-search.md) — MCP server · ★ 29 repo stars
- [journal-abbrev](https://affpapa.org/en/nevibecode/skills/journal-abbrev.md) — skill · 3000 installs
- [paper-search-mcp-openai-v2](https://affpapa.org/en/nevibecode/mcp/paper-search-mcp-openai-v2.md) — MCP server · 7042 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
