Enhanced PubMed MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add enhanced-pubmed -- npx -y enhanced-pubmed-mcp-server
README.md

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 search
  • get_full_abstract(pmid) - Complete abstract retrieval
  • search_pmc_fulltext(query, max_results) - PMC full-text search
  • retrieve_pubmed_results(search_id, page) - Paginated results
  • list_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

https://github.com/yourusername/enhanced-pubmed-mcp-server

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

claude_desktop_config.json
{"mcpServers": {"pubmed": {"command": "npx", "args": ["-y", "enhanced-pubmed-mcp-server"]}}}

Try it

→Search PubMed for recent articles on CRISPR gene editing published in 2023.
→Find open access full-text articles related to machine learning in medical imaging.
→Get the full abstract for the article with PMID 35504917.
→Show me my recent PubMed search history.
→Search for COVID-19 vaccine studies and return the top 10 results.

Frequently Asked Questions

What are the key features of Enhanced PubMed?

Pure Node.js implementation with no Python dependencies. Advanced PubMed search with MeSH term and keyword support. PMC full-text search for open access articles. Persistent search history using SQLite. Open access article detection.

What can I use Enhanced PubMed for?

Medical researchers conducting literature reviews on specific clinical topics. Students needing quick access to full abstracts for academic papers. Data scientists searching for open access full-text articles for NLP training. Healthcare professionals tracking the latest publications in specific medical fields.

How do I install Enhanced PubMed?

Install Enhanced PubMed by running: npx enhanced-pubmed-mcp-server

What MCP clients work with Enhanced PubMed?

Enhanced PubMed works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Enhanced PubMed docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare