/ Verzeichnis / Playground / zotero-mcp
● Community cookjohn ⚡ Sofort

zotero-mcp

von cookjohn · cookjohn/zotero-mcp

Let Claude search your Zotero library, read saved PDFs, and cite sources — runs as a local Zotero plugin, nothing leaves your machine.

zotero-mcp is a Zotero plugin (not a standalone server) that exposes ~20 MCP tools over Streamable HTTP on port 23120. Covers search, semantic matching, annotation retrieval, and write operations on your local library. Because it ships inside Zotero, PDFs never need to be re-uploaded.

Warum nutzen

Hauptfunktionen

Live-Demo

In der Praxis

zotero.replay ▶ bereit
0/0

Installieren

Wählen Sie Ihren Client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "zotero": {
      "command": "npx",
      "args": [
        "-y",
        "zotero-mcp"
      ],
      "_inferred": true
    }
  }
}

Öffne Claude Desktop → Settings → Developer → Edit Config. Nach dem Speichern neu starten.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "zotero": {
      "command": "npx",
      "args": [
        "-y",
        "zotero-mcp"
      ],
      "_inferred": true
    }
  }
}

Cursor nutzt das gleiche mcpServers-Schema wie Claude Desktop. Projektkonfiguration schlägt die globale.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "zotero": {
      "command": "npx",
      "args": [
        "-y",
        "zotero-mcp"
      ],
      "_inferred": true
    }
  }
}

Klicken Sie auf das MCP-Servers-Symbol in der Cline-Seitenleiste, dann "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "zotero": {
      "command": "npx",
      "args": [
        "-y",
        "zotero-mcp"
      ],
      "_inferred": true
    }
  }
}

Gleiche Struktur wie Claude Desktop. Windsurf neu starten zum Übernehmen.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "zotero",
      "command": "npx",
      "args": [
        "-y",
        "zotero-mcp"
      ]
    }
  ]
}

Continue nutzt ein Array von Serverobjekten statt einer Map.

~/.config/zed/settings.json
{
  "context_servers": {
    "zotero": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "zotero-mcp"
        ]
      }
    }
  }
}

In context_servers hinzufügen. Zed lädt beim Speichern neu.

claude mcp add zotero -- npx -y zotero-mcp

Einzeiler. Prüfen mit claude mcp list. Entfernen mit claude mcp remove.

Anwendungsfälle

Praxisnahe Nutzung: zotero-mcp

How to draft a literature review from your Zotero library

👤 Researchers, PhD students, analysts ⏱ ~45 min intermediate

Wann einsetzen: You've collected 50+ papers on a topic in Zotero and need to synthesize them into a coherent review.

Voraussetzungen
  • Zotero desktop with zotero-mcp plugin installed — Download .xpi from releases, Tools → Add-ons → Install from file
  • PDFs attached and indexed — Right-click collection → Rebuild Full-Text Index if search is empty
Ablauf
  1. Scope the review
    Semantically search my Zotero collection 'Agentic AI' for papers on tool selection strategies. Return top 15.✓ Kopiert
    → Ranked list with titles, authors, year, abstract snippet
  2. Extract key claims per paper
    For each of those 15, read the full text and extract (a) the main claim, (b) method, (c) dataset or setting.✓ Kopiert
    → Structured table you can sort
  3. Synthesize with citations
    Write a 3-page review clustering these by approach. Cite every claim with Zotero item keys in (Author, Year) style.✓ Kopiert
    → Draft with bracketed citations mapping back to your library

Ergebnis: A first-draft review grounded in papers you actually own, every claim traceable to a Zotero item.

Fallstricke
  • Full-text search returns nothing — Zotero only indexes text-layer PDFs. Run OCR on image PDFs first
  • Citations hallucinated — Ask for the Zotero item key (e.g. ABCD1234) alongside every citation — you can paste it into a verifier
Kombinieren mit: arxiv

Summarize your highlights across a Zotero collection

👤 Avid readers, knowledge workers ⏱ ~20 min beginner

Wann einsetzen: You've highlighted things across 30 books/papers and want a thematic summary.

Ablauf
  1. Pull annotations by color/tag
    Search my yellow highlights in collection 'Product Strategy'. Return the highlighted text plus the parent item.✓ Kopiert
    → List of highlights grouped by source
  2. Cluster into themes
    Cluster the highlights into 5-7 themes. For each theme, give a 2-sentence synthesis with the source items.✓ Kopiert
    → Themed notes with citations

Ergebnis: Scattered highlights turned into a personal knowledge-base note.

Kombinieren mit: anytype

Auto-tag and annotate newly added Zotero papers

👤 Library maintainers ⏱ ~15 min intermediate

Wann einsetzen: You drop papers into a 'Unsorted' collection and want them triaged weekly.

Ablauf
  1. List items added this week in 'Unsorted'
    List Zotero items added in the last 7 days to my 'Unsorted' collection.✓ Kopiert
    → Inbox of new items
  2. Generate tags and a 1-line summary per item
    For each, propose 3-5 tags and a 1-line summary based on abstract. Apply them via the write tools.✓ Kopiert
    → Items now tagged; summary saved as a note attachment

Ergebnis: A self-maintaining Zotero library with consistent tagging.

Fallstricke
  • Write tools modify your library irreversibly — no undo — Run against a test collection first, or back up zotero.sqlite before enabling writes

Kombinationen

Mit anderen MCPs für 10-fache Wirkung

zotero + arxiv

Arxiv-first exploration then auto-save to Zotero for reading

Find 10 recent arxiv papers on retrieval-augmented agents, then add the ones I don't already have to my 'Agents' Zotero collection.✓ Kopiert
zotero + anytype

Literature notes live in Anytype; source PDFs stay in Zotero

For the top 10 papers in my 'Agents' collection, create an Anytype page per paper with the summary and a backlink to the Zotero item key.✓ Kopiert

Werkzeuge

Was dieses MCP bereitstellt

WerkzeugEingabenWann aufrufenKosten
search_library query: str, filters?: { collection, tag, itemType } Text/metadata search across your library 0 — local DB
search_fulltext query: str Search inside PDF bodies (only indexed text layers) 0
semantic_search query: str, top_k?: int Concept-level match instead of keyword 0 — local embeddings
search_annotations color?, tag?, query? Pull your highlights/notes 0
get_item_details item_key: str Expand a reference from a search hit 0
get_content item_key or attachment_key Feed the full paper to Claude 0

Kosten & Limits

Was der Betrieb kostet

API-Kontingent
None — fully local
Tokens pro Aufruf
Full PDF fetches can hit 30k+ tokens; chunk before feeding
Kosten in €
Free (Zotero is free; the plugin is MIT)
Tipp
Prefer search_fulltext returning snippets over get_content returning the whole PDF

Sicherheit

Rechte, Secrets, Reichweite

Credential-Speicherung: None — plugin runs inside Zotero; local HTTP on 127.0.0.1:23120
Datenabfluss: None in read mode; writes modify zotero.sqlite locally

Fehlerbehebung

Häufige Fehler und Lösungen

MCP client can't connect on port 23120

Open Zotero → Preferences → Zotero MCP Plugin → verify 'Enable server' is checked and port isn't blocked

Prüfen: curl http://127.0.0.1:23120/health
Full-text search returns empty

PDF has no text layer. Right-click item → Reindex Item, or run OCR via Zotero's built-in OCR

Write operations forbidden

Enable write mode in plugin preferences — off by default for safety

Alternativen

zotero-mcp vs. andere

AlternativeWann stattdessenKompromiss
Official Zotero Web APIYou need cloud sync access from a remote serverRequires API key; rate-limited; no semantic search
Readwise MCPYour highlights live in Readwise not ZoteroCloud-based, subscription required

Mehr

Ressourcen

📖 Offizielle README auf GitHub lesen

🐙 Offene Issues ansehen

🔍 Alle 400+ MCP-Server und Skills durchsuchen