Skip to main content
Glama
gyger

Zotero MCP Connector

by gyger

Zotero MCP 连接器

用于将您本地的 Zotero 与 Claude 集成的模型控制协议 (MCP) 连接器。
这使得您可以通过 Claude 的桌面界面直接读取本地 Zotero 库。这取决于 Zotero 7 中访问本地 web-api 的能力。

这是受到使用 Node.js 和 Web API 的存储库的启发: mcp-zotero
这是建立在奇妙的pyzotero库的基础之上的。

安装

有关 Claude Desktop 与 MCP 交互的信息可以在这里找到。

  1. 使用uv 。安装说明可在此处找到。

  2. 将 git 项目检出到本地空间并激活其中的虚拟环境:

git clone https://github.com/gyger/mcp-pyzotero.git
cd mcp-pyzotero
uv sync
  1. 在 Zotero 7 中启用本地 API:Zotero 本地 API 设置

  2. 将服务器添加到本地 Claude 安装:

uv run mcp install zotero.py

Related MCP server: Zotero MCP Server

配置

该连接器配置为与本地 Zotero 安装一起使用,目前仅支持user库。默认情况下,它使用用户 ID 0 ,但您也可以根据需要设置环境变量ZOTERO_USER_ID

uv run mcp install zotero.py -v ZOTERO_USER_ID=0

可用函数

该连接器提供以下功能:

  • get_collections() :列出 Zotero 库中的所有馆藏

  • get_collection_items(collection_key) :获取特定集合中的所有项目

  • get_item_details(item_key) :获取特定论文的详细信息,包括摘要

  • search_library(query) :搜索整个 Zotero 库

  • get_recent(limit=10) :获取最近添加到您的图书馆的论文

此功能将来会得到扩展。

要求

  • Python 3.10+

  • 本地 Zotero 安装

  • 克劳德桌面

贡献

欢迎贡献!请访问GitHub 仓库

  • 报告问题

  • 提交拉取请求

  • 提出改进建议

执照

麻省理工学院

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access 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/gyger/mcp-pyzotero'

If you have feedback or need assistance with the MCP directory API, please join our Discord server