pmc-pdf-downloader
Click on "Install 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., "@pmc-pdf-downloader批量下载 input.csv 里的所有 PDF 到 D:/papers"
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.
PMC PDF 下载器 MCP Server
通过 MCP 协议批量下载 PMC 开放获取 PDF,支持 PoW 验证自动绕过、并行下载、失败重试。
快速开始
1. 安装 uv(一次性)
uv 是单一二进制的 Python 包管理工具,安装命令一行:
# Mac/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows PowerShell
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"2. 安装 Chromium(一次性)
Playwright 的 chromium 浏览器无法通过 pip 安装,需手动运行一次:
# 方式 A:使用 uvx 直接从 git 仓库运行(推荐,无需克隆)
uvx --from git+https://github.com/oranges7/pmc-pdf-downloader playwright install chromium
# 方式 B:克隆后本地运行
git clone https://github.com/oranges7/pmc-pdf-downloader
cd pmc-pdf-downloader
uv sync
uv run playwright install chromium3. 配置 MCP 客户端
Trae IDE / Claude Desktop
编辑 MCP 配置文件(如 claude_desktop_config.json),加入:
{
"mcpServers": {
"pmc-pdf-downloader": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/oranges7/pmc-pdf-downloader",
"pmc-pdf-downloader"
]
}
}
}Cursor
Settings → MCP → Add New MCP Server:
Type:
stdioCommand:
uvxArgs:
--from git+https://github.com/oranges7/pmc-pdf-downloader pmc-pdf-downloader
本地克隆版(不想推 GitHub 时用)
{
"mcpServers": {
"pmc-pdf-downloader": {
"command": "uv",
"args": [
"run",
"--directory",
"D:/path/to/pmc-pdf-downloader",
"pmc-pdf-downloader"
]
}
}
}4. 使用
配置完成后,LLM 即可调用以下 4 个工具:
工具 | 用途 | 关键参数 |
| 查询 PMID 对应的 PMCID |
|
| 下载单个 PMC PDF |
|
| 批量下载(CSV/TXT 输入) |
|
| 读取下载报告全文 |
|
示例对话:
"帮我查 PMID 42534757 的 PMCID"
"下载 PMC7440785 的 PDF 到 D:/papers"
"批量下载 input.csv 里的所有 PDF 到 D:/papers,CSV 格式"
"看一下 D:/papers 的下载报告"
Related MCP server: Paper Download MCP Server
关于浏览器
默认情况下无需配置浏览器位置。运行 playwright install chromium 后,浏览器会自动安装到用户目录的默认位置,MCP server 启动时自动查找:
Windows:
%USERPROFILE%\AppData\Local\ms-playwright\chromium-XXXXMac/Linux:
~/.cache/ms-playwright/chromium-XXXX
可选环境变量(特殊场景):
环境变量 | 用途 | 示例 |
| 自定义 chromium 安装/查找目录(如系统盘空间不足时) |
|
| 直接指向系统已装的 Chrome/Edge 可执行文件,跳过 chromium 下载 |
|
本地开发
git clone https://github.com/oranges7/pmc-pdf-downloader
cd pmc-pdf-downloader
uv sync # 自动建虚拟环境、装依赖
uv run playwright install chromium # 一次性
uv run pmc-pdf-downloader # 启动 MCP server输入文件格式
CSV 模式
含两列:PMID 和 PMCID:
PMID,PMCID
42534757,PMC7440785
37984867,PMC10787064TXT 模式
每行一个 PMID,server 会自动调 NCBI elink API 查询 PMCID:
42534757
37984867
38133632输出
PDF 文件命名:
<PMID>_<PMCID>.pdf(如42534757_PMC7440785.pdf)已存在文件自动跳过
下载报告:
<output_dir>/download_report.txt,含成功/失败统计与失败原因
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -license-quality-maintenanceAn MCP server implementation that enables searching and retrieving research articles from PubMed with specific focus on open access content filtering and full-text link retrieval.83
- AlicenseAqualityBmaintenanceAn MCP server for downloading academic papers from multiple sources using intelligent routing and year-aware priority selection. It enables users to retrieve metadata and download single or batch PDFs by DOI or URL.32MIT
- Alicense-qualityDmaintenanceA local MCP server enabling PubMed, PMC, and iCite API access via stdio for tools like search, fetch, full text, and citation counts.1602MIT
- AlicenseAqualityAmaintenanceMCP server for downloading academic papers from DOI or title, resolving references, and generating citations. Supports batch downloads, multiple mirrors, and optional Unpaywall integration.111MIT
Related MCP Connectors
PubMed MCP — wraps the NCBI E-utilities API (biomedical literature, free, no auth)
Academic research MCP server for paper search, citation checks, graphs, and deep research.
MCP server for Altmetric APIs - track research attention across news, policy, social media, and more
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/oranges7/pmc-pdf-downloader'
If you have feedback or need assistance with the MCP directory API, please join our Discord server