Skip to main content
Glama
Agents365-ai

zotero-cli-cc

by Agents365-ai

zot — A Zotero CLI for Any AI Agent

中文 | Documentation

zotero-cli is a Zotero CLI for any AI agent.

  • Reads — direct local SQLite, zero-config, offline, millisecond response

  • Writes — safe via Zotero Web API, Zotero stays in sync

  • PDF + ranked search — extract full text with caching; index-free ranked retrieval over the whole library or scoped to a collection

  • Agent-native — stable JSON envelope, typed exit codes, zot schema, --dry-run, --idempotency-key, NDJSON streaming

  • MCP server — exposes 39 tools to Claude Desktop / LM Studio / Cursor via zot mcp serve

Architecture

Related MCP server: zotero-mcp

Install

uv tool install zotero-cli-ai      # recommended
pipx install zotero-cli-ai         # or
pip install zotero-cli-ai          # or

Note: the PyPI package is zotero-cli-ai (zotero-cli is an unrelated older project); the installed command is zot.

60-second quickstart

# Reads work out of the box — no API key, Zotero data dir auto-detected
zot search "transformer attention"
zot read ABC123
zot export ABC123                  # BibTeX

# Writes need a Web API key (https://www.zotero.org/settings/keys)
zot config init
zot add --doi "10.1038/s41586-023-06139-9"

In Claude Code, just ask in natural language — the bundled skill maps requests to zot commands automatically:

cp -r skill/zotero-cli ~/.claude/skills/

When stdout is not a TTY, zot automatically emits a stable JSON envelope so agents never need --json:

{ "ok": true, "data": { ... }, "meta": { "request_id": "...", "cli_version": "0.4.3" } }

Documentation

Full docs live at https://agents365-ai.github.io/zotero-cli-ai/.

Topic

Link

Installation & setup

Getting started

Search, list, read

Search guide

Notes, tags, citations

Notes & tags, Citations

Add / update / delete items

Item management

Collections

Collections

Ranked search & ask (collections)

Search guide

PDF extraction

PDF

Preprint → published

update-status

MCP setup & tools

MCP

Full CLI reference

CLI reference

Agent contract (envelope, exit codes, schema)

docs/agent-interface.md

Comparison with similar tools

Comparison

Roadmap

ROADMAP.md

Why zotero-cli? The only actively maintained Python CLI that reads Zotero's local SQLite database directly, with a clean read/write split: SQLite for fast offline reads, Web API for safe writes that Zotero stays aware of. See the comparison page for a feature-by-feature breakdown against similar tools.

Support

If zot helps you, consider supporting the author:

Author

Agents365-ai

License

zotero-cli is dual-licensed:

Contributions are accepted under the project's Developer Certificate of Origin.

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
3hResponse time
1wRelease cycle
17Releases (12mo)
Commit activity
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    A lightweight MCP server that connects AI agents to a local Zotero library for paper management and metadata retrieval. It enables users to search titles and abstracts, browse collections, and automatically ingest papers via arXiv ID or DOI with PDF attachments.
    8
    15
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    An MCP server that embeds into Zotero, enabling AI agents to search, manage, enrich metadata, import papers, and automate research workflows through 42 tools including PDF retrieval and annotation synthesis.
    3
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

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/Agents365-ai/zotero-cli-ai'

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