MCP Simple PubMed

MCP Simple PubMed

AI-accessible PubMed server with structured XML output

141
Stars
31
Forks
141
Watchers
3
Issues
MCP Simple PubMed is a server implementing the Model Context Protocol (MCP) that enables AI models to access PubMed articles via the Entrez API. It provides capabilities for searching the PubMed database, retrieving article abstracts, and downloading full text for open access articles. The server returns articles in an XML format optimized for AI consumption, preserving document structure. Installation is available via Smithery or pip, and integration with tools like Claude Desktop is supported.

Key Features

Searches PubMed articles using keywords
Retrieves article abstracts
Fetches full text for open access articles
Delivers outputs in AI-optimized XML format
Integrates with Claude Desktop and other AI assistants
Supports installation via Smithery CLI and pip
Environment variable-based configuration
Optional API key support for higher rate limits
Explicit Model Context Protocol (MCP) compliance
Troubleshooting guidance for SSL/certificate issues

Use Cases

Assisting AI models in biomedical literature review tasks
Enabling desktop or automated AI assistants to access PubMed content
Enhancing context for large language models handling scientific articles
Structured ingestion of PubMed data for research or analysis
Facilitating integration of PubMed access within automated workflows
Supporting AI-driven clinical or academic search tools
Improving information retrieval quality by providing document structure
Providing access to open access full texts for AI summarization
Assisting users in verifying access to full text versus paywalled papers
Automating PubMed search tasks as part of larger biomedical pipelines

README

MseeP Badge

MCP Simple PubMed

Trust Score smithery badge

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

Features

  • Search PubMed database using keywords
  • Access article abstracts
  • Download full text when available (for open access articles available directly on PubMed)

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:

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

Manual Installation

bash
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)

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

(Windows)

json
{
  "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:

bash
/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

Star History

Star History Chart

Repository Owner

andybrandt
andybrandt

User

Repository Details

Language Python
Default Branch master
Size 196 KB
Contributors 6
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

Python
98.75%
Dockerfile
1.25%

Tags

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • NCBI Literature Search MCP Server

    NCBI Literature Search MCP Server

    Seamless PubMed literature search via Model Context Protocol server.

    NCBI Literature Search MCP Server provides a Model Context Protocol (MCP) interface to search the vast PubMed database using natural language queries. It enables AI assistants to conduct comprehensive and advanced literature searches across biological and biomedical disciplines, returning metadata such as abstracts, author lists, MeSH terms, and DOIs. Designed for integration with AI tools, it supports advanced query capabilities and streamlines literature review and research discovery processes.

    • 6
    • MCP
    • vitorpavinato/ncbi-mcp-server
  • ArXiv MCP Server

    ArXiv MCP Server

    Seamless AI access to arXiv papers via MCP interface

    ArXiv MCP Server enables AI assistants to search, retrieve, and interact with research papers from arXiv using the Model Context Protocol. It provides programmatic access for paper search, download, reading, and management, supporting integration with MCP-compatible clients. The solution offers both installation via Smithery and manual setup, along with tools for efficient paper handling. Local storage ensures quick access to previously downloaded papers and relevant research prompts.

    • 1,863
    • MCP
    • blazickjp/arxiv-mcp-server
  • Dappier MCP Server

    Dappier MCP Server

    Real-time web search and premium data access for AI agents via Model Context Protocol.

    Dappier MCP Server enables fast, real-time web search and access to premium data sources, including news, financial markets, sports, and weather, for AI agents using the Model Context Protocol (MCP). It integrates seamlessly with tools like Claude Desktop and Cursor, allowing users to enhance their AI workflows with up-to-date, trusted information. Simple installation and configuration are provided for multiple platforms, leveraging API keys for secure access. The solution supports deployment via Smithery and direct installation with 'uv', facilitating rapid setup for developers.

    • 35
    • MCP
    • DappierAI/dappier-mcp
  • tavily-search MCP server

    tavily-search MCP server

    A search server that integrates Tavily API with Model Context Protocol tools.

    tavily-search MCP server provides an MCP-compliant server to perform search queries using the Tavily API. It returns search results in text format, including AI responses, URLs, and result titles. The server is designed for easy integration with clients like Claude Desktop or Cursor and supports both local and Docker-based deployment. It facilitates AI workflows by offering search functionality as part of a standardized protocol interface.

    • 44
    • MCP
    • Tomatio13/mcp-server-tavily
  • MCP ChatGPT Server

    MCP ChatGPT Server

    Enables direct access to OpenAI's ChatGPT API from Claude Desktop via the Model Context Protocol.

    MCP ChatGPT Server runs as an MCP-compliant server, allowing users to access OpenAI's ChatGPT API seamlessly within Claude Desktop. It supports customizable model parameters, automated conversation state management, integrated web search for up-to-date information, and facilitates interactive discussions between Claude and ChatGPT. Users can configure model selection, temperature, token limits, and use their own OpenAI API keys.

    • 14
    • MCP
    • billster45/mcp-chatgpt-responses
  • Maigret MCP Server

    Maigret MCP Server

    OSINT username and URL search server for the Model Context Protocol.

    Maigret MCP Server provides Model Context Protocol (MCP) integration for the Maigret OSINT tool, enabling AI and context-aware applications to search for usernames across hundreds of social networks and analyze URLs. Designed for seamless operation with MCP-compatible clients like Claude Desktop, it supports multiple output formats and advanced filtering options. The server can be installed via Docker or npm, offers Docker-based deployment for consistent performance, and facilitates responsible OSINT research.

    • 205
    • MCP
    • BurtTheCoder/mcp-maigret
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results