zotero-mcp
Provides tools for interacting with a Zotero 7 library, supporting read-only access to items and attachments via the local API, and write operations (such as updating items and moving them to trash) through the Research Workbench Zotero extension.
Click on "Deploy 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., "@zotero-mcp search my library for 'machine learning'"
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.
zotero-mcp
zotero-mcp is the Research Workbench's capability-honest stdio adapter for Zotero 7.
It uses Zotero's built-in, GET-only local API for reads and the separately installed
Research Workbench Zotero extension for authenticated writes. It never opens
zotero.sqlite or the Zotero data directory.
The stdio entry supports MCP 2026-07-28's stateless server/discover lifecycle and
legacy initialize-based clients. Its static tool catalog is publicly cacheable for five
minutes, reducing repeated catalog transfer and prompt churn.
Requirements and setup
Node.js 20 or newer
Zotero 7 for live use
The Research Workbench Zotero extension for write tools
npm install
npm run build
npm test
node dist/src/index.jsConfiguration:
ZOTERO_MCP_BASE_URLdefaults tohttp://127.0.0.1:23119. Only plain-HTTP URLs using the exact loopback hostnames127.0.0.1,localhost, or[::1]are accepted; userinfo is rejected and redirects are never followed.ZOTERO_MCP_TOKEN_FILEdefaults to~/.research-workbench/zotero-bridge.json.
The server always starts and advertises all 15 contracted tools. When Zotero or the extension is unavailable, calls return the shared structured error envelope with an actionable code and message.
Related MCP server: zotio
Capability notes
Reads are local and read-only.
Writes are narrow Zotero data-layer operations provided by the extension.
Moving an item to trash is supported; permanent deletion is not exposed.
Linked-URL attachments are supported; file-content upload is not.
The item full-text endpoint is probed only when requested. Zotero on the target machine currently returns 404 for
/api/users/0/items/<key>/fulltext, so the tool returnsunsupported_capabilityrather than claiming abstract metadata is full text.zotero_health.writeAuthis true only when extension health explicitly confirms the supplied token; the existence of a token file alone is not reported as valid auth.
Tests
npm test is fully offline. A mock HTTP server replays checked-in, synthetic local-API
fixtures and covers Zotero-down, token-missing, extension-absent, stale-version, and
full-text-unsupported behavior. No automated test writes to a real Zotero library.
License: MIT. See LICENSE.
Available Tools
15 toolszotero_add_tagsAdd Zotero tagsC
Add tags to a Zotero item through the authenticated extension.
Inputs: key (required), tags (required).
zotero_add_to_collectionAdd items to Zotero collectionA
Add existing items to a Zotero collection through the authenticated extension.
Inputs: itemKeys (required), collectionKey (required).
zotero_attach_linkAttach Zotero linkA
Create a linked-URL attachment. File-content uploads are not supported in v1.
Inputs: url (required), parentKey (required), title.
zotero_create_collectionCreate Zotero collectionC
Create a Zotero collection through the authenticated extension.
Inputs: name (required), parentKey.
zotero_create_itemCreate Zotero itemC
Create a Zotero item through the authenticated Research Workbench extension.
Inputs: fields (required), itemType (required), tags, creators, +1 more.
zotero_create_noteCreate Zotero noteB
Create a standalone or child HTML note through the authenticated extension.
Inputs: html (required), tags, parentKey.
zotero_get_collection_itemsGet Zotero collection itemsBRead-only
List top-level items in a Zotero collection. Read-only.
Inputs: collectionKey (required), limit, start.
zotero_get_itemGet Zotero itemARead-only
Get one Zotero item and optionally its children or indexed full text. Read-only.
Inputs: key (required), include.
zotero_get_item_notesGet Zotero item notesBRead-only
List note children for a Zotero item. Read-only.
Inputs: key (required).
zotero_healthCheck Zotero adapter healthARead-only
Check Zotero, its local read API, the Research Workbench write API, and bearer authentication. Never errors.
Inputs: no named parameters.
zotero_list_collectionsList Zotero collectionsBRead-only
List local Zotero collections. Read-only.
Inputs: limit, start.
zotero_list_tagsList Zotero tagsCRead-only
List tags from the local Zotero library. Read-only.
Inputs: q, limit.
zotero_search_itemsSearch Zotero itemsBRead-only
Search the local Zotero library by title, creator, and year. Read-only.
Inputs: q (required), tag, limit, start, +1 more.
zotero_trash_itemMove Zotero item to trashB
Move an item to Zotero trash. This never permanently deletes it.
Inputs: key (required).
zotero_update_itemUpdate Zotero itemC
Update Zotero fields with optimistic version checking through the authenticated extension.
Inputs: key (required), fields (required), version (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools target a distinct Zotero resource and action, such as search_items, get_item, list_collections, and add_tags. There is minor overlap where get_item can optionally return children while get_item_notes specifically lists note children, but descriptions are clear enough to usually guide correct selection.
All tools use the zotero_ prefix and follow a consistent verb_noun snake_case pattern: search_items, get_item, list_collections, create_item, update_item, add_tags, trash_item. The one exception, zotero_health, is a simple and recognizable single-purpose action rather than a confusing deviation.
With 15 tools, this server sits at the upper boundary of a well-scoped toolset, and each tool maps to a meaningful Zotero operation. Read operations, write operations, collection management, tagging, attachments, and health checking are all represented without obvious redundancy.
The toolset covers core item search/read/create/update, note creation, tag adding, collection creation, and item trashing, but there are notable gaps: no remove-from-collection, no remove-tags, no note update/delete, and no restore-from-trash. The attach_link tool also explicitly does not support file-content uploads, which limits one common attachment workflow.
Related MCP Connectors
Zotero MCP server for Claude and ChatGPT: search, citations, safe writes, PDF passages and pages.
Remote MCP server for full read/write access to a Zotero library
Unofficial OpenAlex MCP — wraps the OpenAlex API (scholarly works, free, no auth)
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP server that exposes 45 tools for Zotero reference management, enabling AI agents to read/write items, search, extract PDF text, and manage workspaces via the Zotero CLI.221AGPL 3.0
- AlicenseAqualityBmaintenanceA Zotero MCP server built for agent safety: a capability-tagged tool registry (every command carries operation/requires/destructive annotations), preview-first writes behind a mutation journal, and read-only defaults. Single Go binary with an MCPB one-click manifest for Claude Desktop.64MIT
- FlicenseNot gradedqualityCmaintenanceMCP server for interacting with a Zotero library via the local API. Enables searching, retrieving, creating, updating, and deleting Zotero items, managing collections and tags, and generating citations.-
- AlicenseAqualityBmaintenanceMCP server for local Zotero on Windows and WSL, enabling read access to items, collections, annotations, and notes via the Local API, and safe write operations through a plan/apply workflow with Web API verification.13MIT