mcp-simple-pubmed

mcp-simple-pubmed

一个 MCP 服务器,通过 Entrez API 提供对 PubMed 文章的访问。

Category
访问服务器

Tools

search_pubmed

Search PubMed for medical and life sciences research articles. You can use these search features: - Simple keyword search: "covid vaccine" - Field-specific search: - Title search: [Title] - Author search: [Author] - MeSH terms: [MeSH Terms] - Journal: [Journal] - Date ranges: Add year or date range like "2020:2024[Date - Publication]" - Combine terms with AND, OR, NOT - Use quotation marks for exact phrases Examples: - "covid vaccine" - basic search - "breast cancer"[Title] AND "2023"[Date - Publication] - "Smith J"[Author] AND "diabetes" - "RNA"[MeSH Terms] AND "therapy" The search will return: - Paper titles - Authors - Publication details - Abstract preview (when available) - Links to full text (when available) - DOI when available - Keywords and MeSH terms Note: Use quotes around multi-word terms for best results.

get_paper_fulltext

Get full text of a PubMed article using its ID. This tool attempts to retrieve the complete text of the paper if available through PubMed Central. If the paper is not available in PMC, it will return a message explaining why and provide information about where the text might be available (e.g., through DOI). Example usage: get_paper_fulltext(pmid="39661433") Returns: - If successful: The complete text of the paper - If not available: A clear message explaining why (e.g., "not in PMC", "requires journal access")

README

MCP Simple PubMed

smithery badge

一个通过 Entrez API 提供对 PubMed 文章访问的 MCP 服务器。

<a href="https://glama.ai/mcp/servers/5wlfb8i6bj"><img width="380" height="200" src="https://glama.ai/mcp/servers/5wlfb8i6bj/badge" alt="mcp-simple-pubmed MCP server" /></a>

特性

  • 使用关键词搜索 PubMed 数据库
  • 访问文章摘要
  • 下载全文(适用于 PubMed 上直接提供的开放获取文章)

请注意,该工具返回全文的 XML 格式版本。 然而,对于人工智能来说,这比“人类可读”的文本更有用,因为它提供了关于文档结构的额外信息。 至少,Claude 3.5 Sonnet 表示它更喜欢这种格式。

另请注意,此工具以及可能其他工具无法提供论文全文,可能并非由于该论文不可用。 在测试此工具时,我遇到一篇在 PubMed 上没有全文的论文,当 Claude 使用 fetch 访问该出版物的 URL(我们通过 DOI 获得)时,它确实收到了“forbidden”错误。 但是,我可以使用常规浏览器访问完全相同的页面。

换句话说,如果您的 AI 助手无法使用此工具获取论文的全文,则值得使用常规 Web 浏览器手动尝试。

最后,当然,此工具无法让您访问付费/订阅的论文。 您可以通过您的图书馆访问权限阅读它们,或者 - 作为最后的手段 - 通过某个致力于免费提供公共资助研究的网站阅读它们。

安装

通过 Smithery 安装

要通过 Smithery 为 Claude Desktop 自动安装 Simple PubMed:

npx -y @smithery/cli install mcp-simple-pubmed --client claude

手动安装

pip install mcp-simple-pubmed

配置

该服务器需要以下环境变量:

  • PUBMED_EMAIL: 您的电子邮件地址(NCBI 要求)
  • PUBMED_API_KEY: 可选的 API 密钥,用于更高的速率限制

标准速率限制为 3 个请求/秒。 没有实施速率限制,因为在典型的使用场景中,您的 AI 不太可能产生更多的流量。 如果您需要它,您可以注册一个 API 密钥,这将为您提供 10 个请求/秒。 在 NCBI 页面 上阅读有关此内容的信息。

与 Claude Desktop 一起使用

添加到您的 Claude Desktop 配置 (claude_desktop_config.json):

(Mac OS)

{
  "mcpServers": {
    "simple-pubmed": {
      "command": "python",
      "args": ["-m", "mcp_simple_pubmed"],
      "env": {
        "PUBMED_EMAIL": "your-email@example.com",
        "PUBMED_API_KEY": "your-api-key" 
      }
    }
  }
}

(Windows)

{
  "mcpServers": {
    "simple-pubmed": {
      "command": "C:\\Users\\YOUR_USERNAME\\AppData\\Local\\Programs\\Python\\Python311\\python.exe",
      "args": [
        "-m",
        "mcp_simple_pubmed"
      ],
      "env": {
        "PUBMED_EMAIL": "your-email@example.com",
        "PUBMED_API_KEY": "your-api-key" 
      }
    }
  }
}

许可证

MIT 许可证

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选