pyzotero

Interact with Zotero libraries via the Web API v3 for bibliographic data management.

Updated May 24, 2026
One-click install
npx skills add https://github.com/Estrella-231/Mathematical_modeling_tongmeng --skill pyzotero-estrella-231
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pyzotero
Source: https://github.com/Estrella-231/Mathematical_modeling_tongmeng/tree/main/.agents/skills/pyzotero
Command: npx skills add https://github.com/Estrella-231/Mathematical_modeling_tongmeng --skill pyzotero-estrella-231

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It removes the need to manually organize references in Zotero by letting you control libraries programmatically through the Zotero API.

Core Features & Use Cases

  • Bibliography automation: Search items, fetch metadata, and export citations (BibTeX/CSL-JSON/HTML, etc.) for research workflows.
  • Library CRUD: Create, update, and delete items and collections, including managing tags and saved searches (metadata).
  • Attachment handling: Upload and download attachment files (e.g., PDFs) and manage attachment link modes.
  • Use Case: Build an automated pipeline that finds journal articles matching your query, exports them to BibTeX, and downloads their PDFs into a folder for drafting a report.

Quick Start

Tell the AI to set up authentication with your Zotero library ID and API key, then run a Python snippet that searches your library for a keyword and prints the returned item titles.

Frequently Asked Questions about pyzotero

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

FAQPage Schema
How do I automate Zotero bibliography export to BibTeX using Python?

Automate Zotero bibliography export by using Python to interact with the Zotero Web API v3, fetching item metadata and exporting citations into formats like BibTeX, CSL-JSON, or HTML for research workflows.

How do I programmatically manage Zotero collections and tags?

Programmatically manage Zotero collections and tags by performing CRUD operations on items and collections via the Zotero Web API, including creating, updating, and deleting saved searches and metadata tags.

Can I download PDF attachments from Zotero automatically via the API?

Yes, you can download PDF attachments automatically by using the Zotero Web API to handle attachment files, managing link modes, and transferring documents directly into your local folders for automated pipelines.

What do I need to access my Zotero library through the API?

To access your Zotero library through the API, you need your Zotero library ID and an authenticated API key for full read-write access, or you can use a local read-only mode for limited retrieval.

Does the Zotero API support search filtering and pagination for large libraries?

Yes, the Zotero API supports search filtering, pagination, and batching to handle large libraries, enabling you to retrieve specific items matching your query and manage structured data efficiently.

What is the best way to integrate Zotero reference management into an automated research pipeline?

Integrate Zotero reference management into an automated pipeline by using Python to query journal articles, export metadata to structured formats, and download attachment PDFs via the Web API v3.