
Connects Claude to your Zotero library through both the Web API v3 and the desktop app's local API, giving you read and write access without leaving the conversation. You can search your own papers with hybrid semantic search, add items by DOI or arXiv ID, format bibliographies in any CSL style, and pull full text with page numbers. The write operations are gated and reversible by default. It auto-detects a running Zotero instance for fast local reads and falls back to cloud for sync and groups. One command install via npx, optional API key for writes. This is the one if you want to cite your own collection instead of hallucinating references or searching the open web.
The everything Zotero MCP server. Give Claude, Cursor, and any MCP client complete, safe access to your Zotero library — search papers, add by DOI, format bibliographies in ~2,800 styles, run semantic search over your library (metadata and abstracts, or full PDF text when you turn it on), pull exact passages from your PDFs, and ground every answer in a source you actually own. Local-first. Private. One command.
npx -y @oscardvs/zoteus
For normal use there is nothing to download or unzip from GitHub — your AI app fetches Zoteus automatically when it first runs. New to this? Follow the no-code getting-started guide → docs/getting-started.md
| Client | Command |
|---|---|
| Claude Desktop (one-click) | download zoteus.mcpb from the latest release → double-click |
| Claude Code | claude mcp add --transport stdio zoteus -- npx -y @oscardvs/zoteus |
| Cursor / VS Code / Claude Desktop / Codex / Zed… | npx add-mcp @oscardvs/zoteus |
| claude.ai (web) | Add custom connector → your hosted URL (OAuth) |
Updating a desktop-extension install: manually installed extensions (
.mcpb, or the older.dxt) do not auto-update. Zoteus checks GitHub releases once a day and tells you in-chat (viazotero_whoami) when a newer version exists; download the newzoteus.mcpband reinstall it to upgrade.npxinstalls always run the latest published version.
Add your cloud key for sync, group libraries, and writes without the desktop app (optional — reads and personal-library writes work key-free against a running Zotero):
claude mcp add --transport stdio zoteus -e ZOTERO_API_KEY=xxxxx -- npx -y @oscardvs/zoteus
Get a key at zotero.org/settings/keys. For key-free local reads and writes, enable Settings → Advanced → "Allow other applications on this computer to communicate with Zotero" in the desktop app.
There are several Zotero MCP servers now. Zoteus is the one that does everything — and adds the parts everyone else skips. The difference that matters: Zoteus treats your library as the source of truth, not a search index. When you ask Claude to "draft a methods paragraph citing the five most relevant papers in my collection," it runs that against your verified, already-curated references — no invented citations, no Python stack, nothing leaves your machine.
| Zoteus | Other Zotero MCP servers | Web AI (Elicit/SciSpace) | |
|---|---|---|---|
| Operates on your own library | ✅ | ✅ (varies) | ❌ (web-wide) |
| Complete Web API v3 + desktop local API | ✅ | partial | n/a |
| Safe transactional writes (reversible, gated) | ✅ | rare | ❌ |
| CSL bibliographies (~2,800 styles) | ✅ | rare | ❌ |
| Local hybrid semantic search + full-text PDF retrieval | ✅ | some (cloud) | varies |
No Python — TypeScript, one npx | ✅ | varies | n/a |
| MCP Resources + Prompts + code-execution | ✅ | ❌ | n/a |
| Local-first / private · Open-source (MIT) | ✅ | varies | ❌ |
ZOTEUS_INDEX_FULLTEXT (or pass fulltext:true to zotero_index) and semantic search covers the body of every PDF too, so a claim that never made it into an abstract is still findable.docs/resolver.md).zotero_annotate adds real highlights, underlines, and notes, the same objects the Zotero PDF reader creates. Quote the passage and it is located in the PDF and anchored to the exact lines it occupies, wrapping and hyphenation included, so highlighting takes no page coordinates. zotero_attach_file stores a local file or a URL as an attachment under any item.zotero_get_fulltext returns the relevant passage with character offsets, nearest heading, and a page locator, extracting the text on the fly when Zotero hasn't indexed the PDF or the EPUB, straight from the running desktop app or from Zotero's own storage folder, so a file added a minute ago is readable immediately. It also reads a PDF's table of contents (outline:true) and any page range on demand, so working through a 400-page book costs two small calls rather than one that returns the book.zotero_*-namespaced, structured outputs, and a generated tool tree for the code-execution-with-MCP pattern.npx command (or the one-click .mcpb).Zoteus auto-detects your running Zotero desktop app and talks to it directly: its fast, key-free local API for reads (full PDFs, real saved-search results, the semantic-search index build), and the desktop app itself for personal-library writes (imports, annotations, attachments, trash). The cloud Web API v3 is the fallback — and stays required for sync, group libraries, and writes when the app isn't running. Details: docs/writing.md.
Semantic search — one-time setup. The first
zotero_semantic_searchbuilds the library index automatically in the background (auto-build). On very large libraries you can also runzotero_index(action:"build") yourself, then poll action:"status" until done. The build pages your library through the same local-first path as every other read, so it needs no cloud API key while the desktop app is running. That covers your personal library and, on Zotero 10+, any group library the app holds; a key is needed when the app is closed, and for a group the app does not hold.
Vector ranking is opt-in. Keyword (BM25) search works out of the box everywhere. On-device vectors need
@huggingface/transformers, which the desktop-extension bundle cannot ship (the resolved dependency tree, onnxruntime's native binaries included, is about 700 MB): install it into a directory of its own (mkdir -p ~/.zoteus-deps && cd ~/.zoteus-deps && npm init -y && npm i @huggingface/transformers) and setZOTEUS_TRANSFORMERS_PATHto~/.zoteus-deps/node_modules. Notnpm i -g: Claude Desktop runs the server on its own built-in Node, so a global install under a version manager sits next to a Node the extension never executes. When vectors are unavailable Zoteus says so inzotero_indexstatus,zotero_whoami, andzotero_semantic_searchrather than quietly returning nothing. Seedocs/semantic-search.md.
| Variable | Default | Purpose |
|---|---|---|
ZOTERO_API_KEY | — | Cloud auth (sync, groups, writes without the desktop app; optional otherwise) |
ZOTEUS_LOCAL | auto | auto|on|off — use the Zotero desktop app (reads + personal-library writes) |
ZOTEUS_LOCAL_API_KEY | — | Pre-provision the Zotero 10+ desktop write key (else granted once, in-app) |
ZOTEUS_EMBEDDINGS | local | local|openai|gemini|off for semantic search |
ZOTEUS_INDEX_OWN_WORDS | true | Index your own child notes and PDF annotations as searchable passages |
ZOTEUS_INDEX_FULLTEXT | false | Index PDF body text for semantic search (opt-in; costly) |
ZOTEUS_ALLOW_ELECTRON_FULLTEXT | false | Let a full-text build run under Electron (Claude Desktop), where it currently kills the server process (#37). Build headlessly instead; action:"update" is never gated |
ZOTEUS_INDEX_BACKEND | auto | auto|sqlite|memory — where the search index lives. auto uses SQLite (FTS5) on Node 22.13+, which is what a large library needs |
ZOTEUS_TRANSFORMERS_PATH | — | Where to find @huggingface/transformers for local embeddings when the install can't see it (desktop extension) |
ZOTEUS_ALLOW_DELETE | false | Must be true to expose permanent deletion |
Full table in docs/configuration.md. Running a shared/remote instance? See docs/remote-oauth.md (self-host the OAuth remote on loopback or behind your own proxy).
📚 zoteus.com/docs · Getting started · Configuration · Import & resolver · Architecture · Safe writes · Citations · Semantic search · Scholarly context · Code execution · Deployment
Zoteus runs locally, collects nothing, and has no telemetry. Your library data flows only between your machine and the services you configure (Zotero, and optionally scholarly-graph or embedding providers), directly and under your own keys. Full policy: PRIVACY.md.
Contributions welcome — see CONTRIBUTING.md. MIT licensed.
Built on the Model Context Protocol, the Zotero Web API, citeproc-js, and the Citation Style Language. Not affiliated with or endorsed by the Corporation for Digital Scholarship / Zotero.
ZOTERO_API_KEYsecretZotero API key (writes/sync/groups; optional for local-only reads).
ZOTEUS_LOCALUse the Zotero desktop local API: auto | on | off.
ZOTEUS_ALLOW_DELETESet to true to enable permanent deletion (off by default).