Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 73
  • 5.1k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-api

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install zotero-api in Claude Code

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

A

No 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 →

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.

zotero-api Install

Add to stack

Loading.