PubMed Search

by gradusnikov

5 stars
259 downloads
Not rated
GitHub

About

Integrates with PubMed database via NCBI E-utilities API to search and retrieve academic papers, including titles, authors, journals, abstracts, and DOIs for biomedical research.

Details

Author
gradusnikov
Repository
gradusnikov/pubmed-search-mcp-server
GitHub stars
5
Downloads
259
License
BSD 3-Clause "New" or "Revised" License
Categories
AI, Developer Tools, Search, Infrastructure, Knowledge Base, API, Security

- Search PubMed by keywords in title/abstract or author names
- Retrieve detailed information including title, authors, journal, abstract, DOI and more

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name PubMed Search
    Command (node, npx, python, etc.) mcp
    Arguments
    • Argument 1 dev
    • Argument 2 pubmed_search_mcp_server.py

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Start the server in development mode:

   mcp dev pubmed_search_mcp_server.py

2. or add the server to Claude Desktop app CLAUDE_DIRECTORY/claude_desktop_config.json. For example if you are using Windows Subsystem for Linux (WSL) it may look like this:

   "pubmed-search": {
               "command": "wsl.exe",
               "args": [
                   "bash",
                   "-c",
                   "source /home/[user]/anaconda3/etc/profile.d/conda.sh && conda activate mcp && mcp run /home/[user]/pubmed-search-mpc-server/pubmed_search_mcp_server.py"
               ]
           },
   

To install pubmed-search-mcp-server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @gradusnikov/pubmed-search-mcp-server --client claude

1. Clone this repository:

   git clone <repository-url>
cd pubmed-search-mcp-server

2. Install dependencies:

   pip install fastmcp requests python-dotenv

3. Create a .env file in the project root (if needed for configuration)

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "pubmed search": {
            "env": {},
            "args": [
                "dev",
                "pubmed_search_mcp_server.py"
            ],
            "shell": false,
            "command": "mcp"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "dev",
        "pubmed_search_mcp_server.py"
    ],
    "shell": false,
    "command": "mcp"
}

Macos

{
    "env": [],
    "args": [
        "dev",
        "pubmed_search_mcp_server.py"
    ],
    "shell": false,
    "command": "mcp"
}

Windows

{
    "env": [],
    "args": [
        "bash",
        "-c",
        "source /home/[user]/anaconda3/etc/profile.d/conda.sh && conda activate mcp && mcp run /home/[user]/pubmed-search-mpc-server/pubmed_search_mcp_server.py"
    ],
    "shell": true,
    "command": "wsl.exe"
}

PubMedSearch MCP Server

smithery badge

A Model Content Protocol server that provides tools to search and retrieve academic papers from PubMed database.

Features

- Search PubMed by keywords in title/abstract or author names
- Retrieve detailed information including title, authors, journal, abstract, DOI and more

Installing via Smithery

To install pubmed-search-mcp-server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @gradusnikov/pubmed-search-mcp-server --client claude

Installing Manually

1. Clone this repository:
   git clone <repository-url>
   cd pubmed-search-mcp-server
   

2. Install dependencies:

   pip install fastmcp requests python-dotenv

3. Create a .env file in the project root (if needed for configuration)

Usage

1. Start the server in development mode:

   mcp dev pubmed_search_mcp_server.py

2. or add the server to Claude Desktop app CLAUDE_DIRECTORY/claude_desktop_config.json. For example if you are using Windows Subsystem for Linux (WSL) it may look like this:

   "pubmed-search": {
               "command": "wsl.exe",
               "args": [
                   "bash",
                   "-c",
                   "source /home/[user]/anaconda3/etc/profile.d/conda.sh && conda activate mcp && mcp run /home/[user]/pubmed-search-mpc-server/pubmed_search_mcp_server.py"
               ]
           },
   
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.