Skip to main content
Glama

Zotero MCP 服务器

一个 MCP(模型上下文协议)服务器,用于让您的 MCP 客户端(例如 Anthropic Claude App、Goose,可能还有 vscode Cline)与您的本地 Zotero 存储库进行交互。此服务器支持以编程方式访问您的 Zotero 库,让您可以搜索论文、管理笔记等。

设置

  1. 安装依赖项:

pip install -e .
  1. 使用您的 Zotero 凭据在根目录中创建一个.env文件:

ZOTERO_API_KEY=your_api_key_here ZOTERO_USER_ID=your_user_id_here

您可以从Zotero 的设置页面获取您的 Zotero API 密钥和用户 ID。

与 Anthropic 桌面应用程序集成

要与 Anthropic Desktop 应用程序集成,请将以下配置添加到~/Library/Application Support/Claude/claude_desktop_config.json

{ "mcpServers": { "zotero-mcp-server": { "command": "uv", "args": [ "--directory", "/Users/swairshah/work/research/zotero-mcp", "run", "python", "-m", "zotero_mcp.server" ] } } }

如果出现如下错误

{"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-ai","version":"0.1.0"}},"jsonrpc":"2.0","id":0} error: unexpected argument '--directory' found

然后使用以下配置,确保执行uv venv ; source .venv/bin/activate ; uv pip install ".[dev]"以确保服务器可以与所有依赖项一起运行。

{ "mcpServers": { "zotero-mcp-server": { "command": "bash", "args": [ "-c", "cd /Users/shahswai/personal/zotero-mcp-server && source .venv/bin/activate && python -m zotero_mcp.server" ] } } }

示例用法

Zotero MCP 服务器示例

该服务器允许您:

  • 按标签搜索论文

  • 获取论文详细信息和附加说明

  • 在论文中添加注释

  • 索取论文摘要

-
security - not tested
A
license - permissive license
-
quality - not tested

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    Integrates local Zotero libraries with Claude's Desktop interface, allowing users to access and manage their library collections via a local API.
    Last updated -
    53
    MIT License
    • Apple
  • A
    security
    A
    license
    A
    quality
    This server allows users to interact with their Zotero library through the Model Context Protocol, providing tools for searching items, retrieving metadata, and accessing full text using natural language queries.
    Last updated -
    3
    121
    MIT License
    • Apple
    • Linux
  • A
    security
    A
    license
    A
    quality
    Connects your Zotero research library with Claude and other AI assistants via the Model Context Protocol, allowing you to search your library, access content, discuss papers, get summaries, and analyze citations.
    Last updated -
    10
    706
    MIT License
  • -
    security
    F
    license
    -
    quality
    An MCP server that integrates with Claude to provide smart documentation search capabilities across multiple AI/ML libraries, allowing users to retrieve and process technical information through natural language queries.
    Last updated -

View all related MCP servers

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/swairshah/zotero-mcp-server'

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