Mcp 簡易 Pubmed
概覽
什麼是 MCP Simple PubMed?
MCP Simple PubMed 是一個強大的伺服器,旨在搜尋和查詢 PubMed 醫學論文和研究數據庫。它為用戶提供了一種高效的方式來訪問大量醫學文獻,使研究人員、醫療專業人士和學生更容易找到相關的研究和文章。
MCP Simple PubMed 的特點
- 友好的用戶界面:該平台設計簡單,使用戶能夠輕鬆導航,無需麻煩即可找到所需的信息。
- 全面的搜索能力:用戶可以使用各種過濾器進行詳細搜索,根據特定標準(如出版日期、作者和關鍵字)縮小結果範圍。
- 訪問全文:MCP Simple PubMed 通常提供指向全文文章的鏈接,使用戶能夠直接從搜索結果中訪問完整的研究論文。
- 定期更新:數據庫經常更新,以包括最新的研究結果,確保用戶能夠訪問到最新的信息。
- 開放訪問:作為公共資源,MCP Simple PubMed 允許任何人搜索和訪問其資源,無需訂閱費用。
如何使用 MCP Simple PubMed
- 訪問網站:前往 MCP Simple PubMed 網站以訪問搜索界面。
- 輸入搜索詞:在搜索欄中輸入相關的關鍵字、短語或作者名稱以開始查詢。
- 應用過濾器:利用可用的過濾器根據出版日期、文章類型或其他標準來細化搜索結果。
- 審查結果:瀏覽符合您搜索標準的文章列表。點擊標題以查看摘要或可用的全文。
- 保存或分享:您可以保存搜索結果或與同事分享以便進一步討論或合作。
常見問題
問:MCP Simple PubMed 是免費使用的嗎?
答:是的,MCP Simple PubMed 是一個公共資源,所有用戶均可免費訪問。
問:數據庫多久更新一次?
答:數據庫定期更新,以包括最新的研究文章和出版物。
問:我可以通過 MCP Simple PubMed 訪問全文文章嗎?
答:是的,許多文章提供指向其全文的鏈接,使用戶能夠閱讀完整的研究。
問:我可以在 MCP Simple PubMed 找到什麼類型的文章?
答:您可以找到各種文章,包括臨床研究、綜述、元分析和各種醫學領域的病例報告。
問:我如何聯繫 MCP Simple PubMed 的支持?
答:如需支持或查詢,您通常可以在網站或幫助部分找到聯繫信息。
詳細
MCP Simple PubMed
An MCP server that provides access to PubMed articles through the Entrez API.
<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>
Features
- Search PubMed database using keywords
- Access article abstracts
- Download full text when available (for open access articles available directly on PubMed)
Please note that the tool returns XML-ized version of full text. It is however more useful for AIs than a "human readable" text would have been as it gives them additional information about document's structure. At least, this is what Claude 3.5 Sonnet said he prefers.
Please also note that inability of this tool and possibly other tools to deliver a paper's full text may not be due to the fact that it is not available. When testing this tool I came across a paper that did not have full text on PubMed and when Claude accessed the publication URL (which we did get through DOI) using fetch he did get a "forbidden” error. However, I was able to access the very same page using a regular browser.
In other words if your AI assistant is not able to get the full text of a paper using this tool it is worth trying manually with a regular web browser.
Finally, this tool of course can’t give you access to paywalled/paid papers. You may be able to read them through your library access or – as a last resort – through a certain site that strives to make publicly funded research freely available.
Installation
Installing via Smithery
To install Simple PubMed for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install mcp-simple-pubmed --client claude
Manual Installation
pip install mcp-simple-pubmed
Configuration
The server requires the following environment variables:
PUBMED_EMAIL
: Your email address (required by NCBI)PUBMED_API_KEY
: Optional API key for higher rate limits
The standard rate limit is 3 requests / second. No rate limiting was implemented, as it is highly unlikely in the typical usage scenario that your AI would generate more traffic. If you need it, you can register for an API key which will give you 10 requests / second. Read about this on NCBI pages.
Usage with Claude Desktop
Add to your Claude Desktop configuration (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"
}
}
}
}
macOS SSL Certificate Fix
If you encounter SSL certificate verification errors on macOS (such as [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain
), you need to install the proper certificate bundle:
/Applications/Python\ 3.13/Install\ Certificates.command
Replace 3.13
with your Python version number. This script comes with Python installations from python.org.
You can also run it from the Finder:
If you perform this change while Claude Desktop is open you will need to quit it and start it again for it to take effect.
License
MIT License
伺服器配置
{
"mcpServers": {
"mcp-simple-pubmed": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--andybrandt--mcp-simple-pubmed--mcp-simple-pubmed",
"mcp-simple-pubmed"
],
"env": {
"PUBMED_EMAIL": "pubmed-email",
"PUBMED_API_KEY": "pubmed-api-key"
}
}
}
}