
Zotero Native MCP
io.github.dvdsosa由 GitHub 账号 dvdsosa 发布v1.0.2更新于 Oct 26, 2026
Read and write your local Zotero 10 library. No plugin, no zotero.org API key, no cloud.
发布方自己的服务:NativeExpress
概览
本地 MCP 服务器,让助手完全离线地搜索、读取、新建、修改和删除 Zotero 10 文献库中的条目,包括 PDF 全文。
- 可以做什么
- 搜索和读取条目、子条目、标签、已保存检索以及 PDF 全文
- 新建、更新、删除和恢复条目,并把条目加入或移出分类
- 新建、更新、删除和恢复分类
- 附加本地 PDF 文件并查询附件路径
- 列出和清空回收站、导出条目,以及查看状态、文献库和条目类型字段
- 适用场景
- 适合在本地 Zotero 10 文献库中管理参考文献的人,让助手查找资料、提取 PDF 文本、把论文归入分类,或添加条目与附件,而无需 zotero.org 账号或插件。
- 运行要求
- 本地运行 Zotero 10 或更新版本,并在 Zotero 的高级设置中启用“允许此计算机上的其他应用程序与 Zotero 通信”。npm 包需要 Node.js 22 或更新版本。可选环境变量 ZOTERO_LOCAL_APP_NAME 和 ZOTERO_LOCAL_PORT(默认 23119)。无需 API 密钥或账号。
安装
在 SourceWeft 中
- 打开 控制台中的 Zotero Native MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
zotero-native-mcp
An MCP server that reads and writes your Zotero 10+ library, entirely offline.
[Zotero 10+] [npm] [CI] [License: MIT] [DOI]
Connect Zotero to Claude, Claude Code, Cursor, or any Model Context Protocol client. Your assistant can search your library, read PDF full text, create collections, add references, and attach PDFs from your disk.
Every operation runs against the Zotero application on 127.0.0.1. No
zotero.org account. No web API key. No Zotero plugin. No cloud round trip.
Why this exists
Zotero 10 added write support to its built-in local API. Before that, every
Zotero MCP server had to work around a read-only local endpoint, either by
routing writes through api.zotero.org (slow, needs an API key, needs your
library synced to the cloud) or by shipping a separate Zotero plugin you had to
install and keep up to date.
This server uses the native capability directly. Nothing to install inside Zotero, no credentials to manage, and reads land in 8–60 ms because nothing touches the network.
Requirements
- Zotero 10 or newer, running. This is a hard floor, not a preference: writing through the local API did not exist before Zotero 10. On Zotero 7–9 the read tools work and every write fails.
- Zotero → Settings → Advanced → enable "Allow other applications on this computer to communicate with Zotero".
- Node.js 22 or newer. Node 20 reached end of life in April 2026.
Tested on
Everything below is a statement of evidence, not of intent. Other platforms
and clients are expected to work. The server is portable TypeScript talking to
127.0.0.1, with nothing platform-specific by design. But they have not been
verified, and this table is the honest extent of it.
CI runs the unit and mock-protocol suites across a matrix of Linux, macOS and
Windows × Node 22, 24 and 26, so portability of the code itself is covered on
all three platforms. What no runner can cover is the conversation with a real
Zotero, since none is installed there. That part was done by hand:
scripts/coverage.mjs reaches all 28 tools on all three operating systems,
against a live library.
Not yet verified. Intel Macs; Claude Code on Linux, where only the scripts were run; Claude Desktop, Cursor and other MCP clients anywhere.
If you run it somewhere not on this list, a report either way is welcome, those are the most useful issues this project can receive right now.
Back up your library first
[!WARNING] This server can modify and delete items in your Zotero library. Back it up before you start, and keep backing it up.
Deleting is reversible by default:
zotero_delete_itemsandzotero_delete_collectionmove things to Zotero's trash, where you can restore them from the Zotero window or withzotero_restore_items. But Zotero empties that trash automatically after 30 days, and both tools take apermanent: truethat erases outright, no undo, attachment files removed from disk, nothing in the API able to bring them back.zotero_empty_trashdoes the same to everything already in the trash.These tools are driven by an assistant interpreting instructions in natural language, which can misread which item you meant.
To back up: quit Zotero, then copy your whole data directory,
~/Zoteroon macOS and Linux,%USERPROFILE%\Zoteroon Windows, or whatever Settings → Advanced → Files and Folders reports. It holdszotero.sqliteand thestoragefolder with every attachment. Zotero's own guidance is at zotero.org/support/zotero_data.Syncing to zotero.org is not a backup: a deletion syncs too.
This software is provided as is, without warranty of any kind, and its authors accept no liability for data loss. See LICENSE.
Quick start
Other clients (Claude Desktop, Cursor, …)
--scope user registers it for every project. Without it, claude mcp add
defaults to the local scope, which ties the server to the one directory you
ran the command in, open anything else and the tools are simply absent.
No environment variables are needed. Start a new session, then ask your
assistant to run zotero_status to confirm the connection.
The first time a tool writes, Zotero shows a dialog asking whether to allow it. Choose "Always Allow" so you are not asked again.
Documentation
Tools at a glance
Collections: list_collections get_collection create_collection
update_collection delete_collection restore_collection
Items: search_items get_item get_item_children create_items
update_item delete_items restore_items add_items_to_collection
remove_items_from_collection get_item_fulltext export_items
Trash: list_trash empty_trash (and the restore_* tools above)
Attachments: attach_file get_attachment_path
Discovery: list_tags list_saved_searches run_saved_search
System: status authorize list_libraries get_item_type_fields
All names are prefixed zotero_. See the reference for
full signatures.
Prior art
This project is not a fork. It was written from scratch once Zotero 10 made native local writes possible, but it stands on the shoulders of earlier work that solved the same problem under tighter constraints:
- 54yyyu/zotero-mcp: the most
widely used Zotero MCP server. Rich feature set including semantic search;
writes go through
api.zotero.org. - cookjohn/zotero-mcp: a Zotero 7 plugin exposing an MCP endpoint from inside Zotero, with vector search.
- Ayanya-0628/zotero-mcp and
dzackgarza/zotero-local-write-api: local-first writes via a companion
.xpiwrite endpoint. - kujenga/zotero-mcp: a lightweight Python server for the Zotero API.
If you need Zotero 7/8/9 support, semantic or vector search, or writes to a library you only have cloud access to, then those projects remain the right choice.
Contributing
Issues and pull requests are welcome. CI must pass on Linux, macOS and Windows across Node 22, 24 and 26.
See CONTRIBUTING for the development setup, the test suite, and the scripts that exercise every tool against a live Zotero.
License
MIT © David Sosa
Keywords: Zotero MCP server · Model Context Protocol · Zotero Claude integration · Zotero local API · offline reference manager automation · Zotero AI assistant · BibTeX export · academic research tooling · Claude Code Zotero · Cursor Zotero
来源:README.md,提交 3a612c8
工具
0版本历史
2- v1.0.2最新Oct 7, 2026
- v1.0.1Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Native 集成
NativeExpress
express.native.www官方发布者
确定移动应用首个版本的范围,从免费的 Expo 模板开始,并通过应用商店审核。AI 翻译
Purple8 — AI-Native Application Backend
ai.purple8.www
远程 MCP 后端,为 AI 助手提供 176 个工具,用于构建和运行应用的数据、认证、工作流、SLA、人工介入与 RAG。

Ruby Native
由 GitHub 账号 ruby-native 发布
Ruby Native Rails gem 的本地 MCP 服务器,可检查原生视图信号与配置,并驱动应用构建、上架信息与商店提交。

Pages Native
由 GitHub 账号 viames 发布
原生 Apple Pages:受保护的编辑、模板、批处理、配方历史和 PDF 预览。AI 翻译

Numbers Native
由 GitHub 账号 viames 发布
让助手在 macOS 上通过 Numbers 应用创建、查看和编辑真实的 Apple Numbers 表格,支持公式、图表和 CSV。