loading…
Search for a command to run...
loading…
Enables querying, creating, and managing Zotero references via the MCP protocol.
Enables querying, creating, and managing Zotero references via the MCP protocol.
Zotero MCP Server - 通过 MCP 协议管理 Zotero 文献库。
在 ~/.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 即可使用。
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_KEY |
是 | Zotero API 密钥 |
ZOTERO_USER_ID |
是 | 用户 ID |
ZOTERO_GROUP_ID |
否 | 群组 ID(访问群组库时使用) |
TRANSLATION_SERVER_URL |
否 | Translation Server 地址 |
ZOTERO_MCP_CACHE_DIR |
否 | 附件缓存目录 |
npm install
npm run build
npm test
MIT
Run in your terminal:
claude mcp add xbghc-zotero-mcp -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.