把你的 Zotero 文献库接入 Claude、ChatGPT、Cherry Studio、Cursor 等 AI 助手:搜索文献、读取元数据与 BibTeX、笔记、PDF 批注和全文,并可新建条目与笔记。
Connect your Zotero library to Claude, ChatGPT, Cherry Studio, Cursor and other MCP clients: search items, read metadata & BibTeX, notes, PDF annotations and full text, and create items and notes.
Create a Zotero API key
MCP。MCP.关于 userID:不需要手动填写,下一步会根据 key 自动查询。想自己核对的话,它就在 settings/keys 页面上方 “Your userID for use in API calls is …”。
Your numeric userID is looked up automatically from the key. It is also shown at the top of settings/keys (“Your userID for use in API calls is …”).
Generate your personal MCP URL
这个地址就是你的密码,请勿公开分享。· This URL works like a password. Do not share it.
Connect your client. Snippets below fill in your URL automatically after step 2.
Claude.ai:设置 → Connectors(连接器)→ Add custom connector,名称填 Zotero,URL 粘贴上面的地址,不填 OAuth。
Settings → Connectors → Add custom connector. Name: Zotero; URL: your personal URL; leave OAuth fields empty.
ChatGPT:设置 → Apps & Connectors → Advanced settings 打开 Developer mode → Create,填 URL,Authentication 选 No authentication。Deep Research 会用到 search/fetch 两个工具。
Settings → Apps & Connectors → Advanced settings → enable Developer mode → Create; paste the URL; Authentication: No authentication. Deep research uses the search/fetch tools.
编辑 claude_desktop_config.json(设置 → Developer → Edit Config),然后重启 Claude Desktop。
Edit claude_desktop_config.json (Settings → Developer → Edit Config), then restart Claude Desktop. Requires Node.js.
设置 → MCP 服务器 → 添加服务器:类型选 可流式传输的 HTTP(streamableHttp),URL 填上面的地址。也可以用“从 JSON 导入”:
Settings → MCP Servers → Add: type Streamable HTTP (streamableHttp), URL = your URL. Or import JSON:
写入 ~/.cursor/mcp.json(或项目里的 .cursor/mcp.json):
Add to ~/.cursor/mcp.json (or the project .cursor/mcp.json):
支持请求头的客户端,也可以用 /mcp 加 Bearer:把地址中 /u/ 和 /mcp 之间那段作为 token。
Clients that support headers can use /mcp with Authorization: Bearer <token>, where the token is the part between /u/ and /mcp.
Security notes
zotero_search_items zotero_get_item_metadata zotero_get_item_children zotero_get_annotations zotero_get_item_fulltext zotero_list_collections zotero_get_collection_items zotero_list_tags zotero_get_recent zotero_list_libraries zotero_get_item_template zotero_create_item zotero_create_note zotero_update_tags zotero_add_to_collection zotero_create_collection search fetch