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
Visit Server

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured