Skip to main content

MseeP Badge

MCP Simple PubMed

Trust Score smithery badge

An MCP server that provides access to PubMed articles through the Entrez API.

mcp-simple-pubmed MCP server

Features

Tools

  • Search PubMed - Search the database using keywords, MeSH terms, author names, date ranges, and Boolean operators
  • Get Full Text - Download full text when available (for open access articles in PubMed Central)
  • Access Abstracts - Retrieve article abstracts and metadata via resource URIs

Prompts (New in v0.1.14)

MCP Prompts help you construct effective PubMed searches:

  • Systematic Review Search - Generate comprehensive search strategies with MeSH terms, synonyms, and date filters for systematic reviews
  • PICO Search - Build clinical question searches using the PICO framework (Population, Intervention, Comparison, Outcome)
  • Author Search - Find all publications by a specific author with proper name formatting

These prompts guide the AI to build optimized PubMed queries, making it easier to conduct thorough literature searches.

Notes

Please note that the tool returns XML-ized version of full text. It is however more useful for AIs than a "human readable" text would have been as it gives them additional information about document's structure. At least, this is what Claude 3.5 Sonnet said he prefers.

Please also note that inability of this tool and possibly other tools to deliver a paper's full text may not be due to the fact that it is not available. When testing this tool I came across a paper that did not have full text on PubMed and when Claude accessed the publication URL (which we did get through DOI) using fetch he did get a "forbidden” error. However, I was able to access the very same page using a regular browser.

In other words if your AI assistant is not able to get the full text of a paper using this tool it is worth trying manually with a regular web browser.

Finally, this tool of course can’t give you access to paywalled/paid papers. You may be able to read them through your library access or – as a last resort – through a certain site that strives to make publicly funded research freely available.

Installation

Installing via Smithery

To install Simple PubMed for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install mcp-simple-pubmed --client claude

Manual Installation

pip install mcp-simple-pubmed

Configuration

The server requires the following environment variables:

  • PUBMED_EMAIL: Your email address (required by NCBI)
  • PUBMED_API_KEY: Optional API key for higher rate limits

The standard rate limit is 3 requests / second. No rate limiting was implemented, as it is highly unlikely in the typical usage scenario that your AI would generate more traffic. If you need it, you can register for an API key which will give you 10 requests / second. Read about this on NCBI pages.

Usage with Claude Desktop

Add to your Claude Desktop configuration (claude_desktop_config.json):

(Mac OS)

{
  "mcpServers": {
    "simple-pubmed": {
      "command": "python",
      "args": ["-m", "mcp_simple_pubmed"],
      "env": {
        "PUBMED_EMAIL": "your-email@example.com",
        "PUBMED_API_KEY": "your-api-key" 
      }
    }
  }
}

(Windows)

{
  "mcpServers": {
    "simple-pubmed": {
      "command": "C:\\Users\\YOUR_USERNAME\\AppData\\Local\\Programs\\Python\\Python311\\python.exe",
      "args": [
        "-m",
        "mcp_simple_pubmed"
      ],
      "env": {
        "PUBMED_EMAIL": "your-email@example.com",
        "PUBMED_API_KEY": "your-api-key" 
      }
    }
  }
}

macOS SSL Certificate Fix

If you encounter SSL certificate verification errors on macOS (such as [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain), you need to install the proper certificate bundle:

/Applications/Python\ 3.13/Install\ Certificates.command

Replace 3.13 with your Python version number. This script comes with Python installations from python.org.

You can also run it from the Finder:

image

If you perform this change while Claude Desktop is open you will need to quit it and start it again for it to take effect.

License

MIT License

Release files for mcp-simple-pubmed 0.1.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-simple-pubmed 0.1.16
File Size Uploaded
mcp_simple_pubmed-0.1.16.tar.gz 18.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-simple-pubmed 0.1.16
File Interpreter ABI Platform
mcp_simple_pubmed-0.1.16-py3-none-any.whl Python 3 none any Details

Total release size:36.2 kB

Release files / mcp_simple_pubmed-0.1.16.tar.gz

Download URL mcp_simple_pubmed-0.1.16.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
eb9f72a50420eaefaf424ea545e6712b80ed9aa8f1334ab6ea2ddf26ee11f578
BLAKE2b-256 checksum
How to use checksums
1bd6387bd43f8604e29ab0b0dcaede155677019edf637e5248094ef212a9dc94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / mcp_simple_pubmed-0.1.16-py3-none-any.whl

Download URL mcp_simple_pubmed-0.1.16-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cfbf39d3e31161bbd9abdec53a9789505f4d26bbcc1f4e255d78157f7247deba
BLAKE2b-256 checksum
How to use checksums
5b58b2a2cf78b25df31b0770373c927342b19277331925af12fac4d7e83fc46d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

0.1.16 This release

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page