MCP 简单PubMed logo

MCP 简单PubMed

Community
andybrandt

MCP server for searching and querying PubMed medical papers/research database

Publisherandybrandt
Repositorymcp-simple-pubmed
LanguagePython
Forks
32
Stars
172
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    MCP 简单PubMed exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    172 stars and 32 forks from the linked repository.

MseeP Badge

MCP Simple PubMed

Trust Score smithery badge

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

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:

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

Installation

TypingMind
{
  "mcpServers": {
    "mcp-simple-pubmed": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-simple-pubmed"
      ],
      "env": {
        "PUBMED_EMAIL": "<PUBMED_EMAIL>"
      }
    }
  }
}

Use MCP 简单PubMed MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once MCP 简单PubMed is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add MCP 简单PubMed as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the MCP 简单PubMed MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "mcp-simple-pubmed": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-simple-pubmed"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the MCP 简单PubMed MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the MCP 简单PubMed MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP 简单PubMed to help me with this task?
MCP 简单PubMed
Sure. I read it.
Here is what I found using MCP 简单PubMed.

Frequently asked questions

What is the MCP 简单PubMed MCP server used for?

MCP 简单PubMed is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use MCP 简单PubMed MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use MCP 简单PubMed with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use MCP 简单PubMed MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With MCP 简单PubMed connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect MCP 简单PubMed MCP to TypingMind?

MCP 简单PubMed runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does MCP 简单PubMed MCP provide in TypingMind?

MCP 简单PubMed exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use MCP 简单PubMed MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If MCP 简单PubMed requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇