pyzotero

Automate Zotero library management with the pyzotero Python package.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/HaykTarkhanyan/dst_research --skill pyzotero-hayktarkhanyan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyzotero
Source: https://github.com/HaykTarkhanyan/dst_research/tree/main/.claude/skills/pyzotero
Command: npx skills add https://github.com/HaykTarkhanyan/dst_research --skill pyzotero-hayktarkhanyan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Python-based automation for managing Zotero libraries, enabling programmatic access to items, collections, tags, and attachments without manual web API interactions.

Core Features & Use Cases

  • Python wrapper for Zotero API v3 to read, create, update, and delete items and collections
  • Manage tags, attachments, and exports to BibTeX/CSL-JSON for research workflows
  • Use cases include batch importing references, syncing libraries across projects, and building automated literature pipelines

Quick Start

Instantiate the Zotero client with library_id, library_type, and api_key, then perform operations like top(), items(), or everything() to manipulate your Zotero library.

Frequently Asked Questions about pyzotero

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Zotero library management with Python?

You can automate Zotero library management with Python using the pyzotero package to read, create, update, and export items, collections, tags, and attachments. It requires a Zotero API key and library ID to connect to user or group libraries.

Can I batch import references and export BibTeX from Zotero programmatically?

Yes, you can batch import references and export BibTeX or CSL-JSON from Zotero programmatically. The pyzotero wrapper supports automated literature pipelines, allowing you to sync libraries across projects without manual web API interactions.

Do I need a Zotero API key to read and update collections in Python?

Yes, you need a Zotero API key and library ID to read and update collections in Python. You instantiate the Zotero client with these credentials along with the library type, then perform operations like top(), items(), or everything() to manipulate your library.

What is the best way to build an automated literature pipeline using Zotero?

The best way to build an automated literature pipeline using Zotero is through Python automation with the pyzotero package. It provides a Python wrapper for Zotero API v3 to programmatically manage items, tags, and attachments for research workflows.

Does pyzotero work with both user and group Zotero libraries?

Yes, pyzotero works with both user and group Zotero libraries. You specify the library type when instantiating the client with your library ID and API key, enabling programmatic access to manage collections and items across different library contexts.

Can I manage Zotero attachments and tags through a Python script?

Yes, you can manage Zotero attachments and tags through a Python script. The pyzotero package supports reading, creating, updating, and deleting attachments and tags, enabling programmatic workflows for reference management without manual web interactions.