MCP Zotero
MCP Zotero
用于 Zotero 集成的模型上下文协议服务器,允许 Claude 与您的 Zotero 库进行交互。
设置
获取您的 Zotero 凭证:
# First, create an API key at https://www.zotero.org/settings/keys # Then use it to get your user ID: curl -H "Zotero-API-Key: YOUR_API_KEY" https://api.zotero.org/keys/current响应将如下所示:
{ "userID": 123456, "username": "your_username", "access": { "user": { "library": true, "files": true, "notes": true, "write": true } } }userID值就是您所需要的。设置环境变量:
export ZOTERO_API_KEY="your-api-key" export ZOTERO_USER_ID="user-id-from-curl"验证您的凭证:
# Test that your credentials work: curl -H "Zotero-API-Key: $ZOTERO_API_KEY" \ "https://api.zotero.org/users/$ZOTERO_USER_ID/collections"您应该在回复中看到您的收藏列表。
安装并运行:
# Install globally (recommended) npm install -g mcp-zotero mcp-zotero # Or run directly with npx npx mcp-zotero
Related MCP server: Zotero MCP
与 Claude Desktop 集成
要将此服务器与 Claude Desktop 一起使用,请将以下内容添加到您的 Claude Desktop 配置中:
{
"mcpServers": {
"zotero": {
"command": "mcp-zotero",
"env": {
"ZOTERO_API_KEY": YOUR_API_KEY,
"ZOTERO_USER_ID": YOUR_USER_ID
}
}
}
}可用工具
get_collections:列出图书馆中的所有藏书get_collection_items:获取特定集合中的项目get_item_details:获取论文的详细信息search_library:搜索整个图书馆get_recent:获取最近添加的论文
故障排除
如果您遇到任何问题:
验证您的环境变量是否已设置:
echo $ZOTERO_API_KEY echo $ZOTERO_USER_ID检查安装:
npm list -g mcp-zotero尝试重新安装:
npm uninstall -g mcp-zotero npm install -g mcp-zotero
Available Tools
5 toolsget_collection_itemsC
Get all items in a specific collection
Inputs: collectionKey (required).
get_collectionsB
List all collections in your Zotero library
Inputs: no named parameters.
get_item_detailsC
Get detailed information about a specific paper
Inputs: itemKey (required).
get_recentC
Get recently added papers to your library
Inputs: limit.
search_libraryC
Search your entire Zotero library
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose with no overlap: get_collection_items retrieves items within a collection, get_collections lists collections, get_item_details provides details on a specific paper, get_recent shows recent additions, and search_library searches the entire library. The descriptions reinforce these distinctions, making misselection unlikely.
All tool names follow a consistent verb_noun pattern with snake_case (e.g., get_collection_items, get_collections, get_item_details, get_recent, search_library). The naming is predictable and readable throughout, with no deviations in style or convention.
With 5 tools, the count is well-scoped for a Zotero library management server, covering core operations like listing, searching, and retrieving details. It is slightly lean but reasonable, as it includes essential functions without being overwhelming or too sparse.
The tool set covers read operations well (get, list, search) but lacks create, update, or delete capabilities for collections or items, which are typical in library management. This creates notable gaps that agents might need to work around, though the existing tools handle basic retrieval tasks adequately.
Maintenance
Related MCP Connectors
Zotero MCP server for Claude and ChatGPT: search, citations, safe writes, PDF passages and pages.
Academic literature search, retrieval, and private library management on top of OpenAlex.
Federated search of books and papers, BibTeX/RIS citations, open-access retrieval and reading.
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to search, cite, and manage research references directly from a Zotero library.99MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to search, access, and interact with your Zotero research library, including semantic search, metadata retrieval, PDF annotations, and library management.41MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to search a Zotero library, retrieve item metadata, and access the full text of PDF attachments.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to search a Zotero library, retrieve complete item metadata, and access the full text of documents.-
Appeared in Searches
- A tool for finding information about Zotero, the free reference management software
- Information about Zotero reference management software
- A tool for comparing design documents and source code, and accumulating business knowledge
- Information about Jira software and tools
- Exploring RAG through defined workspaces