MCP PubMed Search
The MCP PubMed Search server enables you to:
Search PubMed: Query the medical literature database with customizable parameters
Control Results: Limit search results (1-15, default: 15)
Manage Notes: Store and access notes with a custom
note://URI schemeAdd Notes: Create new notes with specified names and content
Summarize Notes: Generate brief or detailed summaries of all stored notes
Allows searching PubMed, a database of biomedical literature, via MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP PubMed Search search for recent studies on Alzheimer's disease treatments"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pubmed_search MCP server
search pubmed via MCP
Components
Resources
The server implements a simple note storage system with:
Custom note:// URI scheme for accessing individual notes
Each note resource has a name, description and text/plain mimetype
Prompts
The server provides a single prompt:
summarize-notes: Creates summaries of all stored notes
Optional "style" argument to control detail level (brief/detailed)
Generates prompt combining all current notes with style preference
Tools
The server implements one tool:
add-note: Adds a new note to the server
Takes "name" and "content" as required string arguments
Updates server state and notifies clients of resource changes
Related MCP server: pubmed-search
Configuration
[TODO: Add configuration details specific to your implementation]
Quickstart
Install
Claude Desktop
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Development
Building and Publishing
To prepare the package for distribution:
Sync dependencies and update lockfile:
uv syncBuild package distributions:
uv buildThis will create source and wheel distributions in the dist/ directory.
Publish to PyPI:
uv publishNote: You'll need to set PyPI credentials via environment variables or command flags:
Token:
--tokenorUV_PUBLISH_TOKENOr username/password:
--username/UV_PUBLISH_USERNAMEand--password/UV_PUBLISH_PASSWORD
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm with this command:
npx @modelcontextprotocol/inspector uv --directory /Users/nofuture/Documents/GitHub/pubmed_search run pubmed-searchUpon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
Available Tools
1 toolpubmed_searchC
Search PubMed medical literature database
Inputs: query (required), max_results.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool's purpose is clearly defined as searching the PubMed database, leaving no room for misselection.
A single tool inherently has perfect naming consistency, as there are no other tools to compare it against. The tool name 'pubmed_search' follows a clear verb_noun pattern that is appropriate for its function.
One tool is too few for a server named 'MCP PubMed Search', which suggests a broader scope for interacting with PubMed. A single search tool feels thin and incomplete, lacking operations like filtering results, retrieving article details, or managing queries.
The tool surface is severely incomplete for a PubMed search domain. While searching is a core function, there are obvious gaps such as no ability to get article metadata, filter searches, save results, or handle citations, which limits agent workflows significantly.
Maintenance
Related MCP Connectors
Auditable MCP server for PubMed, Europe PMC, ClinicalTrials.gov, and bioRxiv/medRxiv queries
PubMed MCP — wraps the NCBI E-utilities API (biomedical literature, free, no auth)
Search biomedical literature, get article details, find related articles, and explore MeSH terms
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that provides access to PubMed articles through the Entrez API.284 PyPI171MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for PubMed search and literature summarization52MIT
- AlicenseBqualityDmaintenanceThis MCP server provides 16 intelligent tools for searching, retrieving, and linking biomedical literature from PubMed and PMC. It enables LLM applications to perform complex queries, batch processing, and cross-database linking.168MIT
- AlicenseNot gradedqualityDmaintenanceThis server enables searching PubMed articles, fetching metadata, and downloading PMC PDFs.3MIT