Zoclau is a Zotero 7 plugin that embeds Claude Code directly into the Zotero sidebar, empowering you to chat, analyze, and work seamlessly with local context during your literature research.
- 💬 Embedded Chat Panel: Chat directly within the Zotero item pane.
- ⚡ Streaming Responses: Real-time generation of Claude's answers.
- 📜 Conversation History: Easily manage and switch between past conversations.
- 📂 Local Context Picker: Multi-folder selection, precise count badges, and list management.
- 🔗 Item/Folder Mentions: Quickly reference items as context.
- 🛡️ Configurable Permission Modes:
yolo(no prompt, execute immediately)normal(safer, requires confirmation)plan(exploration and planning first)
- Zotero 7
- Claude Code CLI installed and available in your system path
- Windows users: Git Bash is highly recommended (or define
CLAUDE_CODE_GIT_BASH_PATHin settings)
- Basic Chat: Interact directly with Claude Code in the right-side chat panel.
- Manage History: Type
/historyto view, switch, and manage your past chat sessions. - Context Mentions: Use
@to reference specific Zotero items or papers, injecting highly relevant context into your conversation. - Skills & Tools: Leverage Claude Code's capabilities to explore your local data and execute complex tools.
| 📜 History Command | 📎 Cite Papers / Items | 🛠️ Skills & Tools |
|---|---|---|
![]() |
![]() |
![]() |
- Download the latest
zoclau.xpifrom the GitHub Releases page. - In Zotero, go to
Tools->Plugins. - Click the gear icon ⚙️ in the top right -> select
Install Plugin From File.... - Select the downloaded
zoclau.xpi. - Restart Zotero when prompted.
# 1. Install dependencies
npm install
# 2. Build the project
npm run build
# 3. Pack into an .xpi file
node pack-xpi.cjsBuild Artifacts:
build/addon/: The unpacked Zotero add-on folderzoclau.xpi: The packaged, installable plugin
Key Files & Architecture:
src/index.ts- Plugin entry point and Zotero lifecycle integrationsrc/service/ClaudeService.ts- Handles the Claude CLI process and streamingsrc/ui/ChatPanel.ts- Chat interface UI and interactionscontent/preferences.xhtml&content/preferences.js- Zotero settings UI and auto-save logicesbuild.config.mjs- Bundling and static file copy pipeline



