Zotero MCP 通过 MCP 连接 Zotero 与 Claude 等 AI 助手
Zotero MCP:通过 Model Context Protocol 将你的 Zotero 研究文库与 Claude 及其他 AI 助手连接,用于讨论论文、获取摘要、分析引用等。
MCP 服务会以你的权限运行代码或访问你的数据。安装前请先看项目主页与源码,只给必要的权限;密钥请自行填入,不要提交到仓库。
claude mcp add zotero-mcp -- uvx zotero-mcp-server==0.15.1
{
"mcpServers": {
"zotero-mcp": {
"command": "uvx",
"args": [
"zotero-mcp-server==0.15.1"
]
}
}
}安装方式由项目的发布配置推断,并已核对该包确属此仓库;需要的环境变量 / 密钥请看下方「怎么使用」
摘自项目自己的说明,具体以项目主页为准。
1. Install (Python 3.10+):
uv tool install zotero-mcp-server # or: pip install zotero-mcp-server
New to the command line? Try the community-built Zotero MCP Setup: a macOS GUI installer, one-click scripts for Mac and Windows, and a step-by-step guide.
2. Enable Zotero's local API: in Zotero 7+, open Settings → Advanced and tick Allow other applications on this computer to communicate with Zotero.
3. Connect your assistant:
Claude Desktop
zotero-mcp setup # auto-configures Claude Desktop
or add the server by hand to claude_desktop_config.json:
{
"mcpServers": {
"zotero": {
"command": "zotero-mcp",
"env": { "ZOTERO_LOCAL": "true" }
}
}
}
Claude Code, Codex, Cursor and other agents with a shell
Teach the agent to drive zotero-cli (the cheaper route, see below):
zotero-mcp install-skill
Or use the MCP server: for Claude Code, add the same mcpServers entry as above to ~/.claude.json.
ChatGPT, Cherry Studio, Chorus, Autohand and other clients
See Getting started.
Zotero itself (the Zotero Agent chat panel)
zotero-cli plugin # where the .xpi is, and how to install it
Then in Zotero: Tools > Plugins, the gear, Install Plugin From File. Details: Zotero Agent plugin.
4. Writes (optional): on Zotero 10+, run zotero-mcp authorize-local once and choose Always Allow. On older Zotero, add ZOTERO_API_KEY and ZOTERO_LIBRARY_ID to write through the web API.
Then ask things like "Find papers in my library on attention mechanisms", "Summarize the key findings of this paper", or "Highlight the main claims of this PDF".
The base install covers search, reading, annotations, and writes. Heavier features are extras:
| Extra | What it adds | Install command |
|---|---|---|
semantic | Semantic search via ChromaDB, sentence-transformers, OpenAI/Gemini embeddings | pip install "zotero-mcp-server[semantic]" |
pdf | PDF outlines, page layout and page images (PyMuPDF), EPUB annotations | pip install "zotero-mcp-server[pdf]" |
scite | Scite citation tallies and retraction alerts (no account needed) | pip install "zotero-mcp-server[scite]" |
…