pubmed-mcp-server
Allows searching PubMed articles, retrieving metadata, and downloading PMC PDFs.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pubmed-mcp-serversearch for recent COVID-19 clinical trials"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PubMed MCP Server
项目简介
PubMed MCP Server 是一个基于 fastapi-mcp 的服务,提供了对 PubMed 数据库的访问接口。该服务允许用户搜索 PubMed 文章、获取文章元数据以及下载 PMC 文章的 PDF 文件
基本功能:
搜索文章:根据关键词搜索 PubMed 数据库中的文章
获取元数据:获取特定 PubMed ID 的文章详细信息,包括标题、摘要、作者、关键词等
下载 PDF:下载 PMC 文章的 PDF 文件到本地
Related MCP server: PubMed MCP Server
安装与配置
克隆仓库
git clone https://github.com/yourusername/pubmed-mcp-server.git
cd pubmed-mcp-server
# 安装 uv 工具,用于管理虚拟环境和依赖项同步
pip install uv创建并激活虚拟环境
uv sync
source .venv/bin/activate # Linux/Mac
# 或
.venv\Scripts\activate # Windows配置
创建 .env 文件来自定义配置:
DOWNLOAD_PATH=/path/to/store/pdfs默认情况下,PDF 文件将保存在 /tmp/pubmed-pdfs 目录下。
使用方法
uv run main.py服务器将在 http://localhost:8977 上运行。
然后你可以在 mcp client 中配置这个endpoint,并使用SSE模式
项目结构
.
├── app/ # API 应用定义
│ └── pubmed.py # PubMed API 端点
├── core/ # 核心功能
│ └── config.py # 配置管理
├── service/ # 服务层
│ ├── __init__.py # 基础 URL 和工具函数
│ ├── file.py # 文件下载功能
│ └── search.py # PubMed 搜索和解析功能
├── tests/ # 测试目录
├── .env # 环境变量配置
├── main.py # 应用入口
└── pyproject.toml # 项目依赖许可证
本项目采用 MIT 许可证。详情请参阅 LICENSE 文件。
This server cannot be deployed
Maintenance
Related MCP Connectors
Search biomedical literature, get article details, find related articles, and explore MeSH terms
Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.
Auditable MCP server for PubMed, Europe PMC, ClinicalTrials.gov, and bioRxiv/medRxiv queries
PubMed MCP — wraps the NCBI E-utilities API (biomedical literature, free, no auth)
Related MCP Servers
- AlicenseBqualityDmaintenanceServer to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.146MIT
- FlicenseNot gradedqualityCmaintenanceEnables searching PubMed's biomedical literature database and retrieving article metadata, abstracts, and full content through the E-utilities API. Supports advanced queries, batch operations, and multiple output formats with automatic rate limiting.2-
- AlicenseAqualityDmaintenanceAn MCP server that provides direct access to PubMed and PubMed Central via the NCBI E-utilities API. It enables AI models to search biomedical literature, retrieve detailed article metadata, and download open-access full texts.5MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for searching PubMed scientific articles using NCBI E-utilities API. Supports query, fetch summaries, and full text retrieval with caching and rate limiting.18 npmISC