
kujenga/zotero-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
kujenga/zotero-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/kujenga/zotero-mcp.
Обзор
kujenga/zotero-mcp — это кандидат на MCP-сервер, импортированный из https://github.com/kujenga/zotero-mcp.
Обзор (машинный перевод)
Этот проект представляет собой python-сервер, реализующий протокол Model Context Protocol (MCP) для Zotero, предоставляющий доступ к вашей библиотеке Zotero внутри AI-ассистентов. Он предназначен для реализации небольшого, но максимально полезного набора взаимодействий с Zotero для использования с MCP-клиентами.
Особенности
Этот MCP-сервер предоставляет следующие инструменты:
zotero_search_items: Поиск элементов в вашей библиотеке Zotero с помощью текстового запросаzotero_item_metadata: Получить полные метаданные для конкретного элемента Zotero, охватывающие каждое заполненное поле, сгруппированное по данным публикаций, идентификаторам, временным меткам и библиотечной информацииzotero_item_fulltext: Получите полный текст конкретного предмета Zotero (i.e. PDF содержание)
Их можно обнаружить и получить доступ через любой клиент MCP или через инспектора MCP.
Каждый инструмент возвращает форматированный текст с релевантной информацией из ваших предметов Zotero, и AI-ассистенты, такие как Claude, могут использовать их последовательно, иская элементы и получая их метаданные или текстовое содержимое текста.
Установка
Этот сервер может работать либо с помощью локального API, предлагаемого десктопным приложением Zotero, либо через веб-API Zotero.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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": ""
}
}
}
}