PubMed Enhanced Search MCP Server logo

PubMed Enhanced Search MCP Server

by leescot

This is a Model Content Protocol server that enhances PubMed search capabilities. It provides tools to search and retrieve academic papers from PubMed, with features like MeSH term lookup and PICO-based searches.

View on GitHub

Last updated: N/A

What is PubMed Enhanced Search MCP Server?

This server is a Model Content Protocol (MCP) server designed to provide enhanced search and retrieval capabilities for the PubMed database. It offers features beyond basic keyword searches, including MeSH term lookup, publication count statistics, and structured PICO-based evidence searches.

How to use PubMed Enhanced Search MCP Server?

To use the server, first install the necessary prerequisites (Python 3.6+ and pip) and dependencies (fastmcp and requests). Then, clone the repository and run the server locally using python pubmed_enhanced_mcp_server.py or mcp dev pubmed_enhanced_mcp_server.py for development mode. You can also integrate it with Claude Desktop by adding the server configuration to the claude_desktop_config.json file.

Key features of PubMed Enhanced Search MCP Server

  • Search PubMed by keywords with optional journal filter

  • Support for sorting results by relevance or date

  • Get MeSH terms related to a search word

  • Get publication counts for multiple search terms

  • Retrieve detailed paper information including abstract, DOI, authors, and keywords

  • Perform structured PICO-based searches with support for synonyms and combination queries

  • Automatic retry mechanism for rate limiting

Use cases of PubMed Enhanced Search MCP Server

  • Researchers conducting literature reviews

  • Clinicians seeking evidence-based information

  • Students learning about medical concepts

  • Anyone needing to efficiently search and retrieve academic papers from PubMed

FAQ from PubMed Enhanced Search MCP Server

What is MeSH?

MeSH (Medical Subject Headings) is a comprehensive controlled vocabulary used for indexing journal articles in PubMed.

What is PICO?

PICO stands for Population, Intervention, Comparison, and Outcome, a framework used to formulate and refine clinical questions for evidence-based practice.

How does the PICO search work?

The PICO search allows you to specify multiple synonym terms for each PICO element, combine terms within each element using OR operators, and perform AND combinations between elements.

What is rate limiting?

Rate limiting is a mechanism used by NCBI's E-utilities service to prevent abuse and ensure fair access to the database. The server implements automatic retry with backoff to handle rate limiting.

How can I contribute to this project?

Please refer to the LICENSE file for details on the BSD 3-Clause License and contribution guidelines.