PubMed MCP Server

PubMed MCP Server

Enables AI assistants to search and retrieve biomedical research articles from PubMed's database of over 35 million citations, including metadata, abstracts, MeSH terms, and full-text PDFs when available.

Category
访问服务器

README

Unofficial PubMed MCP Server

A Model Context Protocol (MCP) server that provides access to PubMed's vast database of over 35 million biomedical citations. This server enables AI assistants and applications to search, retrieve metadata, and access full-text research articles from the world's largest biomedical literature database.

Features

  • Keyword Search: Search PubMed with natural language queries and medical terms
  • Advanced Search: Filter by author, journal, publication date, and more
  • Rich Metadata: Get comprehensive article information including abstracts, MeSH terms, and DOIs
  • PDF Access: Download full-text PDFs when available through PMC
  • Fast & Reliable: Built on NCBI's official E-utilities API
  • MCP Compatible: Works seamlessly with Claude Desktop and other MCP clients

Usage

{
  "mcpServers": {
    "pubmed": {
      "command": "node",
      "args": ["/path/to/pubmed-mcp-server/build/index.js"]
    }
  }
}

API Reference

The server provides a single unified tool pubmed_articles with four methods:

1. Search Keywords (search_keywords)

Search PubMed using keywords and natural language queries.

Parameters:

  • method: "search_keywords"
  • keywords (required): Search query string
  • num_results (optional): Number of results (1-100, default: 10)

Example:

{
  "method": "search_keywords",
  "keywords": "CRISPR gene editing cancer therapy",
  "num_results": 5
}

2. Advanced Search (search_advanced)

Perform filtered searches with specific criteria.

Parameters:

  • method: "search_advanced"
  • term (optional): General search term
  • title (optional): Search in article titles
  • author (optional): Author name(s)
  • journal (optional): Journal name or abbreviation
  • start_date (optional): Start date (YYYY/MM/DD format)
  • end_date (optional): End date (YYYY/MM/DD format)
  • num_results (optional): Number of results (1-100, default: 10)

Example:

{
  "method": "search_advanced",
  "author": "Smith J",
  "journal": "Nature",
  "start_date": "2023/01/01",
  "end_date": "2024/12/31",
  "num_results": 10
}

3. Get Article Metadata (get_article_metadata)

Retrieve detailed metadata for a specific article.

Parameters:

  • method: "get_article_metadata"
  • pmid (required): PubMed ID (string or integer)

Example:

{
  "method": "get_article_metadata",
  "pmid": "12345678"
}

4. Download PDF (get_article_pdf)

Attempt to access the full-text PDF of an article.

Parameters:

  • method: "get_article_pdf"
  • pmid (required): PubMed ID (string or integer)

Example:

{
  "method": "get_article_pdf",
  "pmid": "12345678"
}

Response Format

All methods return detailed article information including:

{
  "pmid": "12345678",
  "title": "Article Title",
  "authors": ["Smith, John", "Doe, Jane"],
  "journal": "Nature Medicine",
  "publication_date": "2024-03-15",
  "abstract": "Article abstract...",
  "doi": "10.1038/s41591-024-12345-6",
  "pmcid": "PMC1234567",
  "keywords": ["keyword1", "keyword2"],
  "mesh_terms": ["MeSH Term 1", "MeSH Term 2"],
  "url": "https://pubmed.ncbi.nlm.nih.gov/12345678/"
}

Search Tips

Keyword Search Best Practices

  • Use medical terminology and standardized terms when possible
  • Combine multiple concepts: "diabetes AND insulin AND therapy"
  • Use wildcards for variations: "cardi*" (matches cardiac, cardiology, etc.)
  • Include drug names, disease names, and intervention types

Advanced Search Examples

Find recent COVID-19 vaccine studies:

{
  "method": "search_advanced",
  "term": "COVID-19 vaccine",
  "start_date": "2023/01/01",
  "num_results": 20
}

Search specific author's work in high-impact journals:

{
  "method": "search_advanced",
  "author": "Smith JA",
  "journal": "New England Journal of Medicine",
  "start_date": "2020/01/01"
}

Note: This is an unofficial tool. Please respect PubMed's usage guidelines and rate limits when using this server.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选