PubMed

v1.0.0Search & Data Extractionstable

Provides comprehensive access to NCBI's PubMed database of over 36 million biomedical citations, allowing users to search, retrieve, and analyze literature directly through MCP tools. It supports advanced queries, citation management, full-text retri

pubmed-mcp-servermcpai-integration
Share:
115
Stars
0
Downloads
0
Weekly
0/5

What is PubMed?

PubMed is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to provides comprehensive access to ncbi's pubmed database of over 36 million biomedical citations, allowing users to search, retrieve, and analyze literature directly through mcp tools. it supports adva...

Provides comprehensive access to NCBI's PubMed database of over 36 million biomedical citations, allowing users to search, retrieve, and analyze literature directly through MCP tools. It supports advanced queries, citation management, full-text retri

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Provides comprehensive access to NCBI's PubMed database of o

Use Cases

Search 36+ million biomedical articles.
Retrieve and analyze scientific literature.
JackKuo666

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx pubmed-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use PubMed

PubMed MCP Server connects AI assistants to NCBI's PubMed database, which indexes over 36 million biomedical citations. It exposes tools for keyword search, advanced filtered queries, article metadata retrieval by PMID, PDF download attempts, and deep paper analysis — making it ideal for researchers, clinicians, and students who want to explore scientific literature without leaving their AI workflow.

Prerequisites

  • Python 3.8 or higher installed
  • pip and virtualenv for dependency management
  • An MCP-compatible client such as Claude Desktop or Cline
  • Git to clone the repository (or install via Smithery CLI)
1

Clone the repository

Clone the PubMed MCP Server repository from GitHub and navigate into it.

git clone https://github.com/JackKuo666/PubMed-MCP-Server.git
cd PubMed-MCP-Server
2

Install Python dependencies

Install all required Python packages listed in requirements.txt.

pip install -r requirements.txt
3

Start the server

Launch the PubMed MCP server. It will listen on stdio for MCP client connections.

python pubmed_server.py
4

Alternative: install via Smithery

You can also install directly via the Smithery CLI, which handles configuration automatically for Claude Desktop.

npx -y @smithery/cli install @JackKuo666/pubmed-mcp-server --client claude
5

Add to Claude Desktop configuration

Edit your Claude Desktop config file (claude_desktop_config.json) to register the server. Replace the path with the actual path to pubmed_server.py on your system.

{
  "mcpServers": {
    "pubmed": {
      "command": "python",
      "args": ["/path/to/PubMed-MCP-Server/pubmed_server.py"]
    }
  }
}

PubMed Examples

Client configuration

Claude Desktop configuration block for the PubMed MCP Server using a local Python installation.

{
  "mcpServers": {
    "pubmed": {
      "command": "python",
      "args": ["/path/to/PubMed-MCP-Server/pubmed_server.py"]
    }
  }
}

Prompts to try

Example natural language prompts that exercise the five available tools: keyword search, advanced search, metadata lookup, PDF download, and deep analysis.

- "Search PubMed for recent papers about CRISPR gene editing published after 2022"
- "Find articles on COVID-19 mRNA vaccine efficacy with more than 500 citations"
- "Get the metadata for PubMed article PMID 35839922"
- "Perform a deep analysis of the paper with PMID 33446519"
- "Try to download the full-text PDF for PMID 34567890"

Troubleshooting PubMed

Server fails to start with import errors

Ensure all dependencies are installed in the correct Python environment. Try running 'pip install -r requirements.txt' again, or use a virtual environment: 'python -m venv venv && source venv/bin/activate && pip install -r requirements.txt'.

PDF download returns 'no PDF available' for most articles

Full-text PDFs are only available for open-access articles. PubMed Central (PMC) hosts free full-text versions; for paywalled journals, only the abstract and metadata can be retrieved.

Claude Desktop does not show PubMed tools

Verify the config file path is correct for your OS (~/Library/Application Support/Claude/claude_desktop_config.json on macOS) and that the Python path in 'command' points to the correct interpreter. Restart Claude Desktop after saving the config.

Frequently Asked Questions about PubMed

What is PubMed?

PubMed is a Model Context Protocol (MCP) server that provides comprehensive access to ncbi's pubmed database of over 36 million biomedical citations, allowing users to search, retrieve, and analyze literature directly through mcp tools. it supports advanced queries, citation management, full-text retri It connects AI assistants to external tools and data sources through a standardized interface.

How do I install PubMed?

Follow the installation instructions on the PubMed GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with PubMed?

PubMed works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is PubMed free to use?

Yes, PubMed is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "pubmed-mcp-server": { "command": "npx", "args": ["-y", "pubmed-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use PubMed?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides