zotero-api
Skill by brycewang-stanford
Explains how to use the Zotero Web API to read, search and write items, collections and tags in reference libraries. It is aimed at researchers, librarians and developers who build citation or literature tools.
Install zotero-api
Built from the published package, never by AI.
git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills /tmp/Auto-Empirical-Research-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/writing/citation/zotero-api ~/.claude/skills/zotero-apiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills /tmp/Auto-Empirical-Research-Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/writing/citation/zotero-api ~/.gemini/antigravity-cli/skills/zotero-apiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Zotero API is a skill that serves as a practical guide to the Zotero Web API. The API gives programmatic access to user and group libraries stored on Zotero servers. The guide covers reading and writing items of many types, organizing items into collections, managing tags, retrieving attachment metadata and accessing shared group libraries. It lists endpoints for user and group items, with parameters for search, filtering, sorting and pagination, and response formats including JSON, Atom and bibliography output.
Access uses API keys sent in the Zotero-API-Key header. Public group libraries can be read without a key, while private libraries and write operations require one. The guide also describes version-based sync with Last-Modified-Version headers, batch writes of up to 50 items, and Python examples for bibliography export, incremental sync and tag analysis. It is aimed at researchers, librarians and research software developers who build literature review tools or citation workflows.
Written from the project's SKILL.md and checked against it.
What it can do
- User library itemsRetrieve, search and filter items in a personal Zotero library by type, tag or keyword.
- Group library itemsAccess items in shared group libraries used for collaborative research projects.
- Bibliography exportGet formatted bibliographies from a library or collection using citation styles such as APA.
- Collection itemsFetch items belonging to a specific collection.
- Incremental syncUse version headers to retrieve only items changed since the last sync.
- Batch writesCreate or update up to 50 items in a single write request.
- Tag analysisCount tag distribution across a research library with a Python example.
What you need
- Zotero account
- Zotero API key with read or write access
- Zotero user ID or group ID
Try asking
- Find my journal articles tagged machine learning in Zotero
- Export an APA bibliography for my Zotero collection ABCDEF
- Show Zotero items changed since my last sync
Good to know
- No strict rate limits, but Zotero asks users to keep request rates reasonable.
- Default result limit is 25 items per request, with a maximum of 100.
- Batch write requests are limited to 50 items.
- Private libraries and all write operations require an API key.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/43-wentorai-research-plugins/skills/writing/citation/zotero-api/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to zotero-api
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
zotero-api: common questions
Do I need an API key to read Zotero libraries?
Not for public libraries, since authentication is optional for reading them. Private libraries and all write operations require an API key.
How does sync avoid downloading the whole library each time?
The API uses If-Modified-Since-Version conditional requests. Store the Last-Modified-Version header and send it in later requests to get only changed items.
What response formats does the Zotero API support?
The source lists json as the default, plus atom, bib and keys. Bibliography output can use citation styles such as APA.
How do I install zotero-api?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is zotero-api free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is zotero-api safe to use?
It scores 73 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to zotero-api?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
