A small research copilot built on top of a local Zotero library. It browses what you already have, finds the related work you don't, keeps workspaces around a research question, and keeps durable per-paper notes.
Zotero stays the source of truth — zotero.sqlite is read-only from this tool's perspective, and any new items are pushed in through Zotero's own connector API. Nothing in ~/Zotero/ gets rewritten by hand.
What it does
The zr CLI is the load-bearing layer; the skills under .agents/skills/ are thin orchestration on top, so the same workflows run by hand or driven by any coding agent (Codex, Claude Code, and others that read AGENTS.md and SKILL.md).
- Browse & search your existing library by topic, author, year, or collection.
- Parse PDFs into multimodal Markdown transcripts (figures + tables preserved) that an LLM can actually reason over — MinerU as the default engine,
pymupdf4llmas the zero-config fallback. - Find related work via a citation graph (OpenAlex) for a seed paper or a whole workspace, deduplicated against your library, and import the missing items back into Zotero.
- Analyse trends & gaps for a topic, grounded in your own library plus OpenAlex.
- Keep per-paper notes that survive across sessions.
- Read in the browser —
zr webserves your workspaces as a clean reader with KaTeX math, syntax highlighting, and clickable citation links, and renders anyformat: slidesdocument as a self-contained 16:9 slide deck (print-to-PDF ready).
Install
1. Prerequisites. Python 3.11 or newer, and the Zotero desktop app. Keep Zotero running whenever you import, because new items go in through its connector API. The Better BibTeX plugin is recommended for stable citekeys.
2. Install the package. It installs the zr command.
pip install zorsch # core CLI
pip install "zorsch[web]" # + browser reader / slides (zr web)
pip install "zorsch[mineru]" # + MinerU PDF engine (zr parse)
pip install "zorsch[embed]" # + local embeddings (optional)
To keep it out of your project environments, install it as a tool instead: uv tool install "zorsch[web]" or pipx install "zorsch[web]".
3. Check the setup.
zr doctor
It finds your Zotero data directory (~/Zotero by default, or ZORESEARCH_ZOTERO_DIR), checks that Zotero and Better BibTeX respond, and shows where zorsch keeps its own files.
4. Optional: MinerU for PDF parsing. zr parse uses MinerU when a token is configured and falls back to pymupdf4llm otherwise. Put the token in ~/.zoresearch/config.toml or the MINERU_TOKEN environment variable:
[mineru]
token = "..."
Where files go. Transcripts, notes and workspaces live in the per-user data directory (on macOS ~/Library/Application Support/zorsch). Set ZORESEARCH_HOME to put them elsewhere. From a source checkout (git clone then pip install -e .) they stay inside the repository.
Upgrade with pip install -U zorsch.
Quick start
zr doctor # check Zotero / BBT / MinerU wiring
zr lib stats # library overview
zr lib search "embodied" # keyword search across title/abstract/tags
zr show <key|citekey> # metadata + abstract + attachment + notes
zr ws init paper -q "How do VLAs handle mid-execution task switching?"
zr ws add paper 2506.03574 # plant a seed (Zotero key / DOI / arXiv id / url)
zr ws related paper # rebuild related.md from all seeds
zr ws parse paper --yes # parse ONLY this workspace's seeds (preview without --yes)
zr web # read everything in the browser at 127.0.0.1:8765
Open the directory with a coding agent: it reads AGENTS.md and the skills under .agents/skills/. Describe a research question in natural language and the agent drives the CLI for you. Claude Code finds the same skills through the .claude/skills link.
Command reference
| Command | Purpose |
|---|---|
zr doctor |
environment checks (Zotero DB, BBT, MinerU token) |
zr lib stats |
library overview |
zr lib search <q> [--type ...] |
keyword search across title / abstract / tags |
zr lib list --collection <name> |
items in a collection |
zr lib collections |
list collections |
zr show <key|citekey> |
metadata + abstract + attachment + notes |
zr parse <key> [--engine mineru|pymupdf] |
PDF → data/transcripts/<key>/paper.md |
zr annotations <key> |
your highlights & notes from the PDF |
zr related <key> |
backward refs + forward citations, deduped vs library |
zr trends "<topic>" |
OpenAlex pull (years, venues, top-cited) |
zr import <doi|arxiv|url|file.ris> |
add to Zotero via the connector; a .ris file adds hand-written records with their local PDFs (L1) |
zr notes <key> [--append "..."] |
durable per-paper notes |
zr ws init <name> [-q "..."] |
create a workspace for a question |
zr ws add <name> <seed> |
add a seed paper (Zotero key / DOI / arXiv / url) |
zr ws list / zr ws show <name> |
list / inspect workspaces |
zr ws related <name> [-n N] |
rebuild related.md from all seeds |
zr ws parse <name> [--yes] |
parse only this workspace's seeds (preview by default) |
zr web [--port P] [--host H] [--no-open] |
browser reader + slide decks |
Set ZORESEARCH_PLAIN=1 for output without colours.
Reading in the browser
zr web # serves http://127.0.0.1:8765
The reader renders every Markdown file under workspace/ with KaTeX math, highlighted code, and citation links that resolve back to Zotero / arXiv. A document whose front-matter sets format: slides is rendered as a presentation instead:
---
format: slides
title: My talk
---
# Title slide
---
## A content slide
- bullets, math $E=mc^2$, images, `<video>` all work
left column
:::
right column
---on its own line separates slides;:::splits a slide into columns.- Decks are letterboxed to a fixed 16:9 stage, so they look identical on any screen.
Ftoggles fullscreen,← / →/Spacenavigate,⌘Pprints the deck straight to a 1280×720 PDF.- A theme toggle (light / dark) sits in the corner and is remembered across reloads.
Layout
zoresearch/
src/zoresearch/ # python package — the CLI and web reader live here
.agents/skills/ # agent skills (one SKILL.md per skill); .claude/skills links here
data/ # local cache (gitignored, rebuildable)
transcripts/<key>/ # parsed PDFs as markdown + extracted images
citations/ # OpenAlex response cache
notes/<key>.md # per-paper notes the agent appends to
workspace/ # research projects (gitignored)
<project>/
question.md # your framing of the question
seeds.txt # Zotero keys / DOIs / arXiv ids to start from
related.md # discovered work
notes.md # synthesis
See DEVELOPMENT.md for the module map, data flow, and how to add a command or a skill.
Notes
- Developed and tested on macOS.
- The MinerU token lives at
~/.zoresearch/config.toml(mode600, outside the repo). - The citation graph uses OpenAlex — no API key required.
- This tool never writes to
~/Zotero/zotero.sqlite; imports go through the connector API, which is why Zotero has to be running. data/andworkspace/are rebuildable / personal and are gitignored.
License
MIT.
zorsch is an independent project and is not affiliated with or endorsed by the Corporation for Digital Scholarship. Zotero is a registered trademark of the Corporation for Digital Scholarship.
Metadata
Release files for zorsch 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zorsch-0.2.3.tar.gz | 51.2 kB | With provenance | Details for zorsch-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zorsch-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for zorsch-0.2.3-py3-none-any.whl |
Total release size: 102.8 kB
Release files / zorsch-0.2.3.tar.gz
| Download URL | zorsch-0.2.3.tar.gz |
|---|---|
| Size | 51.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1e21fa72f21d0862b28066594b39672499c82c95c8f7f00638dd495cdcb2365
|
|
BLAKE2b-256 checksum How to use checksums |
245b733da0a079f6437c79372408d8f7b81a9791b9d93038742813c7c92815b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logRelease files / zorsch-0.2.3-py3-none-any.whl
| Download URL | zorsch-0.2.3-py3-none-any.whl |
|---|---|
| Size | 51.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb653dfc3bdd6df62843a9be03a87213376a5045662117cac1728ff6116ecfee
|
|
BLAKE2b-256 checksum How to use checksums |
4d99a71475bbf75e1f907a9ef53938a8ad9a8e4436e67f11db457b114b8dd7e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logSecurity for zorsch 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for zorsch-0.2.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.