zotero-api-mcp

zotero-api-mcp

Enables managing Zotero reference libraries with full CRUD operations, collections, notes, annotations, and attachments via the Zotero API.

Category
访问服务器

README

zotero-api-mcp

A clean, one-to-one MCP server for the Zotero API, just the API.

Features

  • 22 MCP tools covering the full Zotero API surface
  • Local API support (ZOTERO_LOCAL=true) — no API key needed
  • Web API support with interactive setup wizard
  • Full CRUD: create items by DOI, arXiv, ISBN; update metadata; delete to trash
  • Collections: create, add/remove items, search
  • Notes & Annotations: read, create
  • Attachments: add files or URLs, read metadata
  • Library management: stats, trash, groups, tags
  • Secure by default: API key stored with SecretStr, XML parsing via defusedxml
  • Configuration: .env file support with ZOTERO_ prefix, pydantic-settings

Quick Start

# Run directly (auto-installs)
uvx zotero-api-mcp serve

# Or install globally
uv tool install zotero-api-mcp
zotero-api-mcp serve

Local Mode (no API key)

Set the environment variable and run:

ZOTERO_LOCAL=true uvx zotero-api-mcp serve

Requires Zotero running with "Allow other applications to access Zotero" enabled in Preferences → Advanced → General.

Web API Mode

zotero-api-mcp setup

You'll need a Zotero API key from https://www.zotero.org/settings/keys and your library ID.

MCP Configuration

VS Code / Cline / Claude Desktop

{
  "servers": {
    "zotero-api": {
      "type": "stdio",
      "command": "uvx",
      "args": ["zotero-api-mcp", "serve"],
      "env": {
        "ZOTERO_LOCAL": "true"
      }
    }
  }
}

Tools

Search & Discovery (9 tools)

  • zotero_search_items — Search by query, type, tag, or collection
  • zotero_get_item — Full details for a specific item
  • zotero_get_item_children — Notes and attachments for an item
  • zotero_search_collections — List/search collections
  • zotero_get_collection_items — Items in a collection
  • zotero_search_tags — List/search tags
  • zotero_get_trash — Items in trash
  • zotero_get_library_stats — Library statistics
  • zotero_get_groups — Group libraries

Item Management (5 tools)

  • zotero_add_by_doi — Add paper by DOI (CrossRef metadata)
  • zotero_add_by_arxiv — Add paper by arXiv ID
  • zotero_add_by_isbn — Add book by ISBN (OpenLibrary metadata)
  • zotero_update_item — Update title, abstract, date, extra
  • zotero_delete_items — Move items to trash

Collections (3 tools)

  • zotero_create_collection — Create a new collection
  • zotero_add_to_collection — Add items to a collection
  • zotero_remove_from_collection — Remove items from a collection

Notes (2 tools)

  • zotero_add_note — Add a note to an item
  • zotero_read_note — Read a note's content

Annotations (1 tool)

  • zotero_read_annotations — Read PDF annotations for an item

Attachments (2 tools)

  • zotero_add_attachment — Attach a file or URL to an item
  • zotero_read_attachment — Get attachment metadata

Comparison with other Zotero MCP servers

Feature zotero-api-mcp zotero-mcp (kujenga) zotero-mcp-lite (xmruuu) zotero-mcp-server (54yyyu)
Tools 22 3 9 ~30
Philosophy 1:1 API mapping Minimal Read-focused AI-heavy
CRUD (create/update/delete)
DOI/arXiv/ISBN import
Collection management
Attachment management
Local API (no key)
Semantic search / AI
Dependencies 6 4 9 97

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选