Who it is forA researcher who keeps papers in Zotero and wants to read them in levels without moving files around.
The problemPapers saved in Zotero are hard to skim, and exporting them to another tool breaks the link to the library.
The outcomeYour Zotero collections open in TextFold, and any item reads in levels with the title, authors, and citekey you entered in Zotero.
What you need first
- Python 3.9 or newer, or the TextFold desktop app for macOS or Windows
- A model you already have, such as Claude Code, Codex, a ChatGPT plan, an API key, or a free OpenRouter setup
Steps
- In Zotero 7, go to **Settings › Advanced** and turn on **Allow other applications on this computer to communicate with Zotero**.
- Open TextFold at
http://localhost:3017, or open the desktop app. - Click **Zotero library**, under the drop zone.
- Pick an item and click **Read**.
Prompt for your agent
Using the TextFold repo at github.com/chenxiachan/textfold, enable Zotero 7 communication under Settings › Advanced, then open the Zotero library in TextFold. Expected output: your Zotero collections listed, and the chosen item shown at its folded levels. Verify that the item's title and authors match what is in Zotero, and that nothing in the Zotero library has changed.
Caveat. The README says the Zotero connection works only while the Zotero app is running on the same computer, and items with only a DOI open from Europe PMC, which needs an open full text.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for chenxiachan/textfold and "Open your Zotero library items as folded text"
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