PubMed MCP Server

PubMed MCP Server

pubmed-mcp-server-hanxuanliang•byhanxuanliang

A fastapi-mcp based service that exposes PubMed article search, metadata retrieval, and PMC PDF downloading to MCP clients.

License: MIT•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Searches the PubMed database for articles by keyword.
  • •Retrieves detailed metadata for a specific PubMed ID, including title, abstract, authors, and keywords.
  • •Downloads PMC article PDF files to a local directory.
  • •Runs as a server that MCP clients can connect to via SSE mode.

BEST FOR

  • •Searching biomedical literature on PubMed from an MCP client.
  • •Fetching abstracts and author details for known PubMed article IDs.
  • •Saving PMC article PDFs locally for offline reading.

ABOUT PUBMED-MCP-SERVER-HANXUANLIANG

PubMed MCP Server is cataloged as an MCP server attributed to hanxuanliang. A fastapi-mcp based service that exposes PubMed article search, metadata retrieval, and PMC PDF downloading to MCP clients. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for PubMed MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Where are downloaded PDF files stored by default?

By default, PDF files are saved in the /tmp/pubmed-pdfs directory, and the location can be customized with the DOWNLOAD_PATH setting.

Upstream README

View this exact version on GitHub

README.md · 95385811b759 · Fetched 2026-11-13 13:29:44 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

PubMed MCP Server

Python 3.12+ FastAPI

项目简介

PubMed MCP Server 是一个基于 fastapi-mcp 的服务,提供了对 PubMed 数据库的访问接口。该服务允许用户搜索 PubMed 文章、获取文章元数据以及下载 PMC 文章的 PDF 文件

基本功能:

  • 搜索文章:根据关键词搜索 PubMed 数据库中的文章
  • 获取元数据:获取特定 PubMed ID 的文章详细信息,包括标题、摘要、作者、关键词等
  • 下载 PDF:下载 PMC 文章的 PDF 文件到本地

安装与配置

  1. 克隆仓库
git clone https://github.com/yourusername/pubmed-mcp-server.git
cd pubmed-mcp-server

# 安装 uv 工具,用于管理虚拟环境和依赖项同步
pip install uv
  1. 创建并激活虚拟环境
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 文件。

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for PubMed MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/pubmed-mcp-server-hanxuanliang)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research