@xbghc/zotero-mcp
Manages Zotero library: query, create, update, delete items, manage tags, groups, attachments, and export citations in multiple formats.
Click on "Install 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., "@@xbghc/zotero-mcpfind all items tagged '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.
@xbghc/zotero-mcp
Zotero MCP Server - 通过 MCP 协议管理 Zotero 文献库。
功能
查询文献: 搜索、获取详情、获取全文、按分组/标签过滤
创建文献: 手动创建或通过 DOI/ISBN/PMID 自动获取元数据
管理文献: 更新、删除、添加标签、添加到分组、下载附件
导出引用: 支持 BibTeX、RIS、CSL JSON 等格式
快速开始
1. 获取 Zotero API Key
登录 zotero.org
进入 Settings → Security
记下你的 User ID
点击 "Create new private key" 生成 API Key
2. 配置 Claude Code
在 ~/.claude/settings.json 中添加:
{
"mcpServers": {
"zotero": {
"command": "npx",
"args": ["@xbghc/zotero-mcp"],
"env": {
"ZOTERO_API_KEY": "your-api-key",
"ZOTERO_USER_ID": "your-user-id"
}
}
}
}配置完成后重启 Claude Code 即可使用。
可选配置
Translation Server(DOI 自动获取)
create_item_by_identifier 工具需要 Translation Server 支持。
git clone --recurse-submodules https://github.com/zotero/translation-server.git
cd translation-server
npm install
npm start服务运行在 http://localhost:1969,然后在 env 中添加:
"TRANSLATION_SERVER_URL": "http://localhost:1969"环境变量
变量 | 必需 | 说明 |
| 是 | Zotero API 密钥 |
| 是 | 用户 ID |
| 否 | 群组 ID(访问群组库时使用) |
| 否 | Translation Server 地址 |
| 否 | 附件缓存目录 |
开发
npm install
npm run build
npm testLicense
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xbghc/zotero-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server