PubMed

by grll

44 8.2k downloads Not rated yet MIT
GitHub

About

Integrates PubMed data for searching and fetching biomedical literature, enabling dynamic querying and analysis of scientific information.

Details

Repository
grll/pubmedmcp
License
MIT

Explore

- Search PubMed for biomedical citations
- Fetch article metadata and details
- Leverages the pubmedclient Python package
- Integrates with Claude Desktop via MCP
- Uses uv for installation and execution

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
    Command (node, npx, python, etc.) uvx
    Arguments
    • Argument 1 pubmedmcp@latest
    Environment
    • UV_PYTHON 3.12
    • UV_PRERELEASE allow

    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

Add the following to your claude_desktop_config.json file:

{
    "mcpServers": {
        "pubmedmcp": {
            "command": "uvx",
            "args": ["pubmedmcp@latest"],
            "env": {
                "UV_PRERELEASE": "allow",
                "UV_PYTHON": "3.12"
            }
        }
    }
}

Make sure uv is installed on your system and 'uvx' is available in your PATH (claude PATH sometimes is not the same as your system PATH).
You can add a PATH key in your claude_desktop_config.json file to make sure uv is available in claude PATH.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "pubmed": {
            "env": {
                "UV_PYTHON": "3.12",
                "UV_PRERELEASE": "allow"
            },
            "args": [
                "pubmedmcp@latest"
            ],
            "command": "uvx"
        }
    }
}

Linux

{
    "env": {
        "UV_PYTHON": "3.12",
        "UV_PRERELEASE": "allow"
    },
    "args": [
        "pubmedmcp@latest"
    ],
    "command": "uvx"
}

Macos

{
    "env": {
        "UV_PYTHON": "3.12",
        "UV_PRERELEASE": "allow"
    },
    "args": [
        "pubmedmcp@latest"
    ],
    "command": "uvx"
}

Windows

{
    "env": {
        "UV_PYTHON": "3.12",
        "UV_PRERELEASE": "allow"
    },
    "args": [
        "pubmedmcp@latest"
    ],
    "command": "uvx"
}

A MCP server that allows to search and fetch articles from PubMed.

PubMed is a database of over 35 million citations for biomedical literature from MEDLINE, life science journals, and online books.

This MCP server relies on the pubmedclient Python package to perform the search and fetch operations.

Usage

Add the following to your claude_desktop_config.json file:

{
    "mcpServers": {
        "pubmedmcp": {
            "command": "uvx",
            "args": ["pubmedmcp@latest"],
            "env": {
                "UV_PRERELEASE": "allow",
                "UV_PYTHON": "3.12"
            }
        }
    }
}

Make sure uv is installed on your system and 'uvx' is available in your PATH (claude PATH sometimes is not the same as your system PATH).
You can add a PATH key in your claude_desktop_config.json file to make sure uv is available in claude PATH.

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.

Videos about PubMed

Relevant YouTube tutorials, setups, and demos