pubmed-search-mcp-server
The PubMedSearch MCP Server is a Model Content Protocol server designed to facilitate searching and retrieving academic papers from the PubMed database. It allows users to search by keywords or author names and obtain detailed paper information.
PubMedSearch MCP Server
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
-
Clone this repository:
git clone <repository-url> cd pubmed-search-mcp-server
-
Install dependencies:
pip install fastmcp requests python-dotenv
-
Create a
.env
file in the project root (if needed for configuration)
Usage
-
Start the server in development mode:
mcp dev pubmed_search_mcp_server.py
-
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" ] },