pubmed-search-mcp-server

This project provides a server that simplifies searching the PubMed database. Implemented in Python, it allows users to retrieve literature information through an API. Users can quickly find relevant research papers based on specific keywords or criteria.

GitHub Stars

6

User Rating

Not Rated

Favorites

0

Views

31

Forks

5

Issues

0

README
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"
                ]
            },