
kujenga/zotero-mcp 是从 https://github.com/kujenga/zotero-mcp. 导入的 MCP 服务器候选
概览
kujenga/zotero-mcp 是从 https://github.com/kujenga/zotero-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
该项目是一个 Python 服务器,实现了 Zotero 的模型上下文协议(MCP),让你能够在 AI 助手中访问你的 Zotero 库。它旨在实现一组小而极具实用性的 Zotero 交互,用于 MCP 客户端。
特色
该MCP服务器提供以下工具:
zotero_search_items:使用文本查询搜索Zotero库中的项目zotero_item_metadata:获取特定Zotero项目的完整元数据,涵盖所有填充字段,分为出版详情、标识符、时间戳和图书馆信息zotero_item_fulltext:获取特定Zotero物品的全文(i.e. PDF内容)
这些数据可以通过任何MCP客户端或MCP检查器发现和访问。
每个工具都会返回包含Zotero物品相关信息的格式化文本,AI助手如Claude可以依次使用这些工具,搜索物品后检索元数据或文本内容。
安装
该服务器可以运行于 Zotero 桌面应用程序提供的本地 API,或通过 Zotero Web API 运行。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Model Context Protocol server for Zotero
This project is a python server that implements the Model Context Protocol (MCP) for Zotero, giving you access to your Zotero library within AI assistants. It is intended to implement a small but maximally useful set of interactions with Zotero for use with MCP clients.
Features
This MCP server provides the following tools:
zotero_search_items: Search for items in your Zotero library using a text queryzotero_item_metadata: Get the complete metadata for a specific Zotero item, covering every populated field grouped into publication details, identifiers, timestamps, and library informationzotero_item_fulltext: Get the full text of a specific Zotero item (i.e. PDF contents)
These can be discovered and accessed through any MCP client or through the MCP Inspector.
Each tool returns formatted text containing relevant information from your Zotero items, and AI assistants such as Claude can use them sequentially, searching for items then retrieving their metadata or text content.
Installation
This server can either run against either a local API offered by the Zotero desktop application) or through the Zotero Web API. The local API can be a bit more responsive, but requires that the Zotero app be running on the same computer with the API enabled. To enable the local API, do the following steps:
- Open Zotero and open “Zotero Settings”
- Under the “Advanced” tab, check the box that says “Allow other applications on this computer to communicate with Zotero”.
To use the Zotero Web API, you’ll need to create an API key and find your Library ID (usually your User ID) in your Zotero account settings here:
These are the available configuration options:
ZOTERO_LOCAL=true: Use the local Zotero API (default: false, see note below)ZOTERO_API_KEY: Your Zotero API key (not required for the local API)
安装
uvx zotero-mcp@latest配置
{
"mcpServers": {
"zotero": {
"command": "uvx",
"args": ["zotero-mcp@latest"],
"env": {
"ZOTERO_LOCAL": "true",
"ZOTERO_API_KEY": "",
"ZOTERO_LIBRARY_ID": ""
}
}
}
}