Pure Node.js implementation of PubMed search MCP server
Enhanced PubMed MCP Server
š¬ No Python Required - Pure Node.js implementation of PubMed search MCP server
Quick Start
# Claude Desktop Configuration
{
"mcpServers": {
"pubmed": {
"command": "npx",
"args": ["-y", "enhanced-pubmed-mcp-server"]
}
}
}
Features
- ā No Python Dependencies - Pure Node.js implementation
- š¬ Enhanced PubMed Search - Complete abstracts, MeSH terms, keywords
- š PMC Full-Text Search - Search within open access articles
- š¾ Search History - SQLite database for persistent storage
- š Open Access Detection - Identify freely available articles
- š Cross-Platform - Works on Windows, macOS, and Linux
Usage
Command Line
# Direct execution (no installation needed)
npx enhanced-pubmed-mcp-server
# Help and version info
npx enhanced-pubmed-mcp-server --help
npx enhanced-pubmed-mcp-server --version
Claude Desktop Integration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"pubmed": {
"command": "npx",
"args": ["-y", "enhanced-pubmed-mcp-server"]
}
}
}
Configuration file locations:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Available Tools
search_pubmed(query, max_results)- Enhanced PubMed searchget_full_abstract(pmid)- Complete abstract retrievalsearch_pmc_fulltext(query, max_results)- PMC full-text searchretrieve_pubmed_results(search_id, page)- Paginated resultslist_pubmed_searches()- Search history
Search Examples
// Basic search
search_pubmed("COVID-19 vaccine", 10)
// Field-specific search
search_pubmed("CRISPR[Title]", 5)
// Date range search
search_pubmed("cancer therapy AND 2023[Date - Publication]", 15)
// Full-text search in open access articles
search_pmc_fulltext("machine learning medical imaging", 20)
// Get complete abstract
get_full_abstract("35504917")
Requirements
- Node.js 14.0.0 or higher
- Internet connection for PubMed API access
License
MIT
Repository
Tools (5)
search_pubmedPerforms an enhanced PubMed search with support for MeSH terms and keywords.get_full_abstractRetrieves the complete abstract for a specific PubMed ID.search_pmc_fulltextSearches within open access articles in the PMC database.retrieve_pubmed_resultsFetches paginated results from a previous search.list_pubmed_searchesLists the search history stored in the local SQLite database.Configuration
{"mcpServers": {"pubmed": {"command": "npx", "args": ["-y", "enhanced-pubmed-mcp-server"]}}}