Authorization notice. CLI Anything is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA researcher or student writing a paper who wants an agent to organize references and pull citations from Zotero.
The problemSorting references into collections and pulling citations is repetitive work inside the Zotero desktop app.
The outcomeThe agent lists or updates Zotero collections and returns citation text the user can paste into a draft.
What you need first
- Python with pip available on the command line
- Target software installed on the machine (for example Blender, FreeCAD, Zotero, Calibre, or Obsidian), depending on the CLI chosen
- An AI coding agent such as Claude Code, Cursor, or Codex that can run shell commands
Steps
pip install cli-anything-hubcli-hub install <name>(use the Zotero CLI name from the CLI-Hub listing) (inferred, check the README)- Ask the agent to list the collections in the Zotero library using the installed CLI help output (inferred, check the README)
Prompt for your agent
Using the HKUDS/CLI-Anything Zotero CLI, list the collections in my library and generate a citation for the item titled <item-title>. Report the collection names and the citation text. Verify that the citation includes the author and year.
Caveat. The README says the Zotero CLI is shipped from its standalone repo, so the install path may differ from the standard hub flow.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for HKUDS/CLI-Anything and "Have an agent manage Zotero library items and citations"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer