经 AI Skill Hub 精选评估,PubMed MCP服务器 获评「强烈推荐」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
PubMed MCP服务器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
PubMed MCP服务器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/cyanheads/pubmed-mcp-server
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"pubmed-mcp---": {
"command": "npx",
"args": ["-y", "pubmed-mcp-server"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 PubMed MCP服务器 执行以下任务... Claude: [自动调用 PubMed MCP服务器 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"pubmed_mcp___": {
"command": "npx",
"args": ["-y", "pubmed-mcp-server"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms via MCP. STDIO or Streamable HTTP.
</div>
</div>
Public Hosted Server: https://pubmed.caseyjhand.com/mcp
</div>
---
Biomedical literature from PubMed, PubMed Central, and Europe PMC. Search it, fetch metadata and full text, resolve identifiers and partial citations, format references, and ground queries in MeSH vocabulary. Runs as a stdio process, a local Streamable HTTP server, or the public hosted endpoint above.
Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
PubMed-specific:
pubmed_fetch_fulltext also matches DOIs case-insensitively and PMC IDs with or without the PMC prefixAgent-friendly output:
source: "pmc" | "unpaywall", typed unavailable reasons, viaSource and triedTiers fields, so callers branch on data, not string parsinggit clone https://github.com/cyanheads/pubmed-mcp-server.git
cd pubmed-mcp-server
bun install
```sh cp .env.example .env
See CLAUDE.md for development guidelines and architectural rules. The short version:
try/catch in tool logicctx.log for logging, ctx.state for storagecreateApp() arrays in src/index.ts```
| Variable | Description | Default |
|---|---|---|
NCBI_API_KEY | NCBI API key; raises the rate limit from 3 to 10 req/s. | none |
NCBI_ADMIN_EMAIL | Contact email sent with NCBI requests, as NCBI recommends. | none |
NCBI_REQUEST_DELAY_MS | Minimum gap between NCBI request starts, in ms. | 400 (100 with a key) |
NCBI_MAX_CONCURRENT | Max concurrent in-flight NCBI requests. | 8 |
NCBI_MAX_RETRIES | Retry attempts for failed NCBI requests. | 6 |
NCBI_TIMEOUT_MS | Per-request HTTP timeout, in ms. | 30000 |
NCBI_TOTAL_DEADLINE_MS | Deadline for one NCBI call across queue wait, retries, and backoff, in ms. A call that can't start in time is rejected at once. | 60000 |
UNPAYWALL_EMAIL | Contact email for Unpaywall. Setting it enables the Unpaywall tier of pubmed_fetch_fulltext for non-PMC DOIs. | none |
UNPAYWALL_TIMEOUT_MS | Per-request timeout for Unpaywall lookups and content fetches, in ms. | 20000 |
EUROPEPMC_ENABLED | Set false to disable every Europe PMC call: both Europe PMC tools go unregistered, pubmed_fetch_fulltext skips that tier, and pubmed_find_related skips that fallback. | true |
EUROPEPMC_EMAIL | Optional contact email sent with Europe PMC requests. | none |
EUROPEPMC_REQUEST_DELAY_MS | Minimum gap between Europe PMC request starts, in ms. | 200 |
EUROPEPMC_MAX_RETRIES | Retry attempts for failed Europe PMC requests. | 3 |
EUROPEPMC_TIMEOUT_MS | Per-request timeout for Europe PMC calls, in ms. | 20000 |
MCP_TRANSPORT_TYPE | Transport: stdio or http. | stdio |
MCP_HTTP_PORT | HTTP server port. | 3010 |
MCP_SESSION_MODE | HTTP session mode: stateless, stateful, or auto. | stateless |
MCP_AUTH_MODE | Authentication: none, jwt, or oauth. | none |
MCP_LOG_LEVEL | Log level (debug, info, warning, error, etc.). | info |
LOGS_DIR | Directory for log files (Node.js only). | <app-root>/logs |
STORAGE_PROVIDER_TYPE | Storage backend: in-memory, filesystem, supabase, cloudflare-kv/r2/d1. | in-memory |
OTEL_ENABLED | Enable [OpenTelemetry](https://github.com/cyanheads/mcp-ts-core/tree/main/docs/telemetry). | false |
See .env.example for every server setting and the common framework overrides.
高质量的MCP工具,易于使用和扩展
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
AI Skill Hub 点评:PubMed MCP服务器 的核心功能完整,质量优秀。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | pubmed-mcp-server |
| 原始描述 | 开源MCP工具:Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), cit。⭐101 · TypeScript |
| Topics | mcpai-agentsbioinformaticsbiomedical |
| GitHub | https://github.com/cyanheads/pubmed-mcp-server |
| License | Apache-2.0 |
| 语言 | TypeScript |
收录时间:2026-05-30 · 更新时间:2026-05-30 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端