PubMed skills for Claude Code — literature search, citation export, and Zotero integration via Chrome DevTools MCP
概览
Claude Code skills that let Claude interact with PubMed through Chrome DevTools MCP. Search papers, view detailed metadata, access full text, and export to Zotero with PDF attachments — all from the Claude Code CLI. - Claude Code CLI installed - Chrome browser - Zotero desktop app (optional, for export) - Python 3 (optional, for Zotero push script) — orchestrates all 6 skills. Handles PubMed API interaction, tab management, and multi-step workflows like "search → filter → export to Zotero". Skills and agent are picked up automatically. Try /pm-search CRISPR to verify. All skills use PubMed's E-utilities API (esearch, esummary, efetch) via evaluate_script calls through Chrome DevTools MCP. The export skill uses a 3-step flow to attach PDFs to Zotero: 1. — push paper metadata to Zotero via Connector API 2. — fetch PDF from PMC/publisher via Python 3.
README
以下为原文 README 节选,完整内容请查看原文。
PubMed Skills for Claude Code
| WeChat Official Account (公众号) | WeChat Group (微信群) | Discord |
|---|---|---|
| Join Discord | ||
| 未来论文实验室 | 扫码加入交流群 | English & Chinese |
English
Claude Code skills that let Claude interact with PubMed through Chrome DevTools MCP.
Search papers, view detailed metadata, access full text, and export to Zotero with PDF attachments — all from the Claude Code CLI.
Prerequisites
- Claude Code CLI installed
- Chrome browser
- Zotero desktop app (optional, for export)
- Python 3 (optional, for Zotero push script)
Skills
| Skill | Description | Invocation |
|---|---|---|
pm-search |
Keyword search via PubMed API with structured results | /pm-search gastric cancer |
pm-advanced-search |
Filtered search: author, journal, date, MeSH terms, article type | /pm-advanced-search Nature 2020-2025 review |
pm-paper-detail |
Full paper metadata (abstract, keywords, MeSH, references) | /pm-paper-detail 38547890 |
pm-fulltext |
Full-text access links: PMC, DOI, Sci-Hub, publisher | /pm-fulltext 38547890 |
pm-navigate-pages |
Search result pagination | /pm-navigate-pages next |
pm-export |
Export to Zotero with PDF attachment (3-step flow) | /pm-export 38547890 |
Agent
pm-researcher — orchestrates all 6 skills. Handles PubMed API interaction, tab management, and multi-step workflows like “search → filter → export to Zotero”.
Installation
1. Install Chrome DevTools MCP server
claude mcp add chrome-devtools -- npx -y chrome-devtools-mcp@latest
2. Install PubMed skills
git clone https://github.com/cookjohn/pm-skills.git
cd pm-skills
cp -r skills/ agents/ .claude/
Or add to an existing project:
git clone https://github.com/cookjohn/pm-skills.git /tmp/pm-skills
cp -r /tmp/pm-skills/skills/ your-project/.claude/skills/
cp -r /tmp/pm-skills/agents/ your-project/.claude/agents/
3. Start Chrome with remote debugging
# Windows
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222
# macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
# Linux
google-chrome --remote-debugging-port=9222
4. Launch Claude Code
claude
Skills and agent are picked up automatically. Try /pm-search CRISPR to verify.
How It Works
All skills use PubMed’s E-utilities API (esearch, esummary, efetch) via evaluate_script calls through Chrome DevTools MCP. The export skill uses a 3-step flow to attach PDFs to Zotero:
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add cookjohn/pm-skills