Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Zotero + PubMed MCPNew to Visual Studio Code? Get it now.
Zotero + PubMed MCP

Zotero + PubMed MCP

Tz Ping Gau

|
511 installs
| (1) | Free
One-click Zotero 10+ Local API and PubMed research workspace for Copilot, Cline, and Codex.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Zotero + PubMed MCP Extension for VS Code

What's New in v0.7.0

  • Zotero 10+ Local API writes: Zotero Keeper 2.1.0 adds runtime-authorized, Server-ID-bound operations for nested collections, existing-item organization and metadata, child notes, saved searches, full-text, and attachments.
  • Attach to an existing item: the new attach_file_to_item path uses Zotero's official three-phase local upload instead of requiring a Connector session that created the parent.
  • Private and conflict-safe authorization: the local key stays inside the Keeper process; writes are loopback-only and version conflicts fail closed without automatic replay.
  • Explicit upload authorization: call authorize_local_writes(require_remembered=true) and choose Always Allow before attach_file_to_item, so all three upload phases remain authorized.
  • 32-tool Keeper surface: the existing 24 tools remain compatible and eight guarded Local API tools are added. Zotero 7–9 continue to use the Connector import path.
  • Release smoke hardening: a loopback Local API simulator exercises authorization and a real MCP call, managed installs verify Keeper 2.1.0/PubMed 0.6.1, and one checked VSIX artifact is reused for publishing.

Install the v0.7.0 VSIX from the VS Code Marketplace. Zotero 10+ is required for the new authorized Local API writes; read and Connector-import compatibility remains available on Zotero 7–9.

What's New in v0.6.0

  • MCP SDK 2.0 runtime: the managed environment now installs Zotero Keeper 2.0.0 and PubMed Search MCP 0.6.1 on the new MCPServer API. MCP SDK 2.x is not compatible with 1.x.
  • PubMed Search 0.6.1: pinned to commit ad85dde, with 45 tools across 16 categories. build_research_chronicle and read_research_chronicle replace the three earlier timeline tools.
  • Verified Zotero surface: Keeper exposes 24 default tools, including import_pdf, plus six concrete resources and four parameterized resource templates.
  • Fail-closed collection routing: interactive saves require an exact collection key (or double-confirmed ROOT); non-interactive save/import tools reject a missing destination unless explicit user approval is carried as allow_library_root=true.
  • Clean upgrade path: if an existing installation still resolves MCP SDK 1.x, run Zotero MCP: Reinstall Python Environment to rebuild the isolated venv.

Install the v0.6.0 VSIX from the VS Code Marketplace. This is the recommended 2.0 distribution; the separate uvx/PyPI package can remain on the older release line until it is published independently.

What's New in v0.5.35

  • Import PDF files into Zotero 📎: a new import_pdf tool imports a local PDF entirely within the Local/Connector architecture (no Web API key). Two modes — attach the PDF to a parent built from PubMed metadata, or drop a PDF and let Zotero auto-recognize it (extract the DOI/title and build the item).
  • Bundled Zotero Keeper 1.14.0 with the new Connector attachment upload support.

What's New in v0.5.34

  • Complete, type-aware Zotero metadata: imports now detect the correct Zotero item type (journal article, book, book chapter, conference paper, thesis, report, web page, preprint, software/repository, dataset, …) and route every field to that type's schema, so books keep ISBN/publisher/edition, chapters keep the book title, conferences keep the conference/proceedings name, and repositories become software items.
  • No metadata is ever lost: any field that a given item type does not support is preserved in the Zotero Extra field instead of being silently dropped.
  • Richer provenance: imported records now carry url, accessDate, and libraryCatalog, and duplicate detection also reads Zotero's native PMID field.
  • Bundled Zotero Keeper 1.13.0 with an expanded RIS importer (publisher, place, edition, ISBN vs ISSN, series, editors).

What's New in v0.5.33

  • PubMed Search 0.5.17 baseline: updates the managed PubMed Search MCP source pin, bundled assistant assets, and keeper dependency floor to the latest contact-email fallback release.
  • Managed install refresh: extension-managed installs now point at the v0.5.33-ext archive and the pubmed-search-mcp v0.5.17 commit archive.
  • Fulltext source contact fix: managed PubMed installs now inherit the runtime contact email for OpenAlex, CrossRef, Unpaywall, and fulltext downloader fallbacks.

What's New in v0.5.32

  • Zotero 9 readiness: connection checks now surface Zotero version headers, Connector API version, and Local API read status separately.
  • PubMed Search 0.5.12 baseline: updates the managed PubMed Search MCP source pin and keeper dependency floor to the latest release.
  • Zotero 7/8/9 docs: setup copy, walkthroughs, and compatibility docs now reflect Zotero 7, 8, and 9 support.

What's New in v0.5.31

  • Foam / LLM wiki workflow: installs new Cline and Codex llm-wiki-builder skills for building citation-aware Foam-compatible Markdown note graphs.
  • Wiki rendering rules: bundles .clinerules/35-foam-llm-wiki.md with Foam wikilink, filename, citation, and evidence hygiene guardrails.
  • End-to-end wiki build workflow: adds .clinerules/workflows/llm-wiki-build.md to coordinate Zotero, PubMed, full-text/document tools, Markdown writes, and link validation.

What's New in v0.5.30

  • Release install stability: pins the extension-managed Zotero Keeper install to the new v0.5.30-ext archive so users receive the latest runtime fixes.
  • PubMed citation metrics compatibility: accepts both sync and async PubMed Search MCP citation-metrics implementations.
  • CI and VSIX asset checks: fixes cross-directory Cline skill audits and Windows-safe asset synchronization checks.

What's New in v0.5.29

  • Codex MCP auto-configuration: extension now writes [mcp_servers.zotero-keeper] and [mcp_servers.pubmed-search-mcp] into Codex CLI's ~/.codex/config.toml automatically (parity with Cline). Honors $CODEX_HOME; preserves all unrelated user content.
  • Cline auto-configuration now actually triggers: added onStartupFinished activation event so Cline-only sessions reliably populate cline_mcp_settings.json instead of staying empty.

What's New in v0.5.28

  • Windows-safe installs and upgrades: system/custom Python fallback now creates a writable extension-managed venv before uv pip install, avoiding protected paths such as C:\Python314\Lib\site-packages.
  • Codex/Cline harness refresh: VSIX installs Codex AGENTS.md, .codex/skills, Cline MCP settings, and curated assistant skills while preserving user customizations.
  • VSIX release guards: packaging, asset sync, version sync, and direct VSIX content checks now verify the shipped harness and package sources.

Zotero + PubMed MCP banner

🔬 AI-powered research assistant - Integrates Zotero reference management and PubMed literature search with GitHub Copilot.

✨ What's New in v0.5.26

  • Historical PubMed Search 0.5.12 baseline: this was the bundled snapshot for v0.5.26; v0.6.0 now installs 0.6.1.
  • Cline asset compatibility: fixes strict YAML frontmatter for bundled skills and packages Zotero/PubMed Cline rules into the VSIX.
  • Marketplace banner fix: uses a GitHub raw image URL so the VSIX details page renders the banner correctly.

✨ What's New in v0.5.25

  • 🚀 Ready-to-publish maintenance: this release aligns VSIX metadata and installer source URL after the 0.5.24 hotfix.

✨ What's New in v0.5.24

  • 🎨 Marketplace Branding Refresh: keeper icon 與 VSX banner 改為新的系列化品牌視覺,對齊 Academic Figures MCP / MedPaper Assistant 的產品語言
  • 🔐 OpenAlex API Key Support: extension 新增 zoteroMcp.openAlexApiKey 設定,會將 OPENALEX_API_KEY 傳給 PubMed Search MCP
  • 🔄 Bundled Asset Refresh: extension 重新同步最新 pubmed-search-mcp agents / hooks / skills,並更新到包含修正 os import 的版本
  • PubMed Search baseline upgraded to 0.5.4: embedded environment now requires pubmed-search-mcp>=0.5.4, and startup now injects PUBMED_WORKSPACE_DIR to avoid VS Code regressions.
  • Fixed PubMed package source: embedded/manual 安裝改用已修正的 upstream snapshot,避免直接安裝有問題的 0.5.4 PyPI 套件

Features

This extension provides two MCP (Model Context Protocol) servers that enable AI assistants like GitHub Copilot to:

📚 Zotero Keeper

  • Search and browse your Zotero library through 32 default tools and six concrete resources
  • On Zotero 10+, authorize guarded Local API writes for collections, existing items, notes, saved searches, attachments, and full text
  • Add references from PubMed or DOI
  • Import local PDFs with import_pdf
  • Browse collections/tags and import into a confirmed collection
  • Smart duplicate detection
  • Batch selected search results through the import_articles handoff
  • Library analytics (stats, orphan detection)
  • PDF attachment access (list attachments, get indexed fulltext)

🔍 PubMed Search (v0.6.1, 45 tools / 16 categories)

  • unified_search - 統一搜尋入口,自動合併去重多來源結果
  • Multi-source search (PubMed, Europe PMC, CORE)
  • 預印本與多來源篩選 - 透過 unified_search 的 sources / filters / options 選擇來源與文獻類型
  • Parse PICO clinical questions
  • Find related and citing articles
  • Get citation metrics (RCR)
  • ICD ↔ MeSH 轉換 - 自動轉換 ICD 代碼和 MeSH 術語
  • Research Chronicle - 以 build_research_chronicle 建立、read_research_chronicle 讀取可持續的研究演進記錄(取代舊 timeline 工具)
  • 生物醫學圖片搜尋 - 搜尋 Open-i 和 Europe PMC 圖片
  • Full-text access (Europe PMC, CORE)
  • Session management (retrieve previous search results)
  • NCBI 延伸 (Gene, PubChem, ClinVar)
  • Export in multiple formats (RIS, BibTeX, etc.)

🌐 Connected APIs

API Description
PubMed / NCBI 36M+ biomedical articles
Europe PMC 33M+ articles, full-text, text mining
CORE 200M+ open access papers
Semantic Scholar AI-powered recommendations
PubChem Chemical compound database
NCBI Gene Gene information
ClinVar Clinical variants
Zotero Local Reference management

Requirements

  • VS Code 1.99.0 or later
  • Zotero 7, 8, 9, or 10+ running locally. Zotero 10+ is required for the authorized Local API write tools.

Note: Python is managed automatically by the extension using uv.

Installation

  1. Install this extension from the VS Code Marketplace
  2. The extension will automatically:
    • Download uv (fast Python package manager, ~10MB)
    • Create an isolated Python 3.12 environment
    • Install pinned packages (Zotero Keeper 2.1.0 and PubMed Search MCP 0.6.1 at ad85dde)
    • Register MCP servers with VS Code
    • Install official Copilot instructions, workflow guides, @research agent, and collaboration hook assets

Usage

Once installed, the MCP tools will be available to GitHub Copilot. Try asking:

  • "Search PubMed for remimazolam sedation"
  • "Find recent articles about CRISPR gene editing"
  • "Save this article to my 'AI Research' collection"
  • "Show my recent Zotero references"
  • "Get my last search results" (uses session management)

📊 Status Bar

Click the status bar item to access:

  • 📊 Usage Statistics - Track your research activity
  • 🌐 API Status - View/configure connected APIs
  • ⚙️ Settings - Quick access to configuration
  • 🧙 Setup Wizard - One-click setup

🎯 Assistant Research Assets

The extension installs workflow guides that teach Copilot and Cline:

  1. Search → Review → Ask Collection → Import workflow
  2. Use get_session_pmids instead of re-searching
  3. Use cached articles to save API quota
  4. Check for duplicates before importing
  5. Never infer the library root: ask for a collection; ROOT requires a second confirmation, and non-interactive calls require explicit allow_library_root=true

Run Zotero MCP: Install Official Assistant Assets to manually install/update.

Extension Settings

Setting Default Description
zoteroMcp.zoteroHost localhost Zotero host address
zoteroMcp.zoteroPort 23119 Zotero API port
zoteroMcp.ncbiEmail Email for NCBI API (自動偵測 git email,通常不需手動設定)
zoteroMcp.enableZoteroKeeper true Enable Zotero Keeper server
zoteroMcp.enablePubmedSearch true Enable PubMed Search server

Commands

Command Description
Zotero MCP: Setup Wizard One-click setup
Zotero MCP: Quick Menu Show quick access menu
Zotero MCP: Show Statistics View usage statistics
Zotero MCP: Show API Status View connected APIs
Zotero MCP: Check Zotero Connection Verify Zotero is accessible
Zotero MCP: Install Official Assistant Assets Install or refresh the bundled official Copilot and Cline assets
Zotero MCP: Reinstall Python Environment Reinstall uv and Python packages
Zotero MCP: Show Status Show full extension status
Zotero MCP: Open Settings Open extension settings

How It Works

This extension uses uv from Astral to manage Python:

  1. First Run: Downloads uv binary (~10MB) to extension storage
  2. Environment Setup: Creates isolated venv with Python 3.12
  3. Package Install: Installs zotero-keeper and the fixed pubmed-search-mcp snapshot (10-100x faster than pip)
  4. MCP Servers: Starts both servers and registers with VS Code
  5. Assistant Assets: Installs research workflow guides to workspace

The Python environment is completely isolated from your system Python.

Do not add 54yyyu/zotero-mcp to this managed environment. It is an MCP Registry-listed community server (not a Zotero-official server) and uses the same Python module name, zotero_mcp, as Keeper. If you need both, configure it as a separate MCP process in a separate virtual environment. See the Zotero MCP landscape.

Troubleshooting

Cannot connect to Zotero

  1. Make sure Zotero is running
  2. Check that the API is enabled (Edit → Settings → Advanced → Allow other applications...)
  3. Verify host/port settings match your setup

Extension not activating

  1. Check the "Zotero MCP" output channel for errors
  2. Try running Zotero MCP: Reinstall Python Environment command
  3. Restart VS Code

Copilot not using tools correctly

  1. Run Zotero MCP: Install Official Assistant Assets to update workflow guides
  2. The guides teach Copilot the correct order of operations

uv download failed

  1. Check your internet connection
  2. Check if your firewall blocks downloads from github.com
  3. The extension will retry on next activation

Related Projects

  • zotero-keeper - Zotero MCP server
  • pubmed-search-mcp - PubMed MCP server
  • uv - Fast Python package manager
  • Model Context Protocol - MCP specification

License

Apache-2.0

Contributing

Contributions welcome! Please see CONTRIBUTING.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft