Reproducible bibliographic workflow with AI-queryable knowledge repository
Transform Zotero into a meta-knowledge hub that AI agents can understand and reference.
Problem: AI agents can answer anything, but that doesn't build your knowledge.
You read a paper. An AI summarizes it. Great! But where does that leave you? Disconnected facts. No personal archive. No conversation context.
Solution: Zotero as your queryable knowledge repository
- π Your archive: Not just papersβvideos, podcasts, cafes, life moments
- π€ AI agents query your library during conversations (via MCP)
- π Bibliographic notes become shared context between you and agents
- π Reading workflow: capture β query β connect β emerge
Philosophy: Life is a book. Everyone is an author. Build your anthology.
For Humans:
- β Reproducible Zotero setup (NixOS-ready, syncs via Git)
- β
Korean Dewey Decimal Classification citation keys (
book-pkm2024) - β Auto-export BibTeX for Org-mode/LaTeX
- β Self-contained workspace (no scattered configs)
For AI Agents:
- β MCP integration: Semantic search over your library
- β PDF annotation queries: "What did I highlight in this paper?"
- β Context-aware conversations: "Find related papers I've read"
- β Knowledge archaeology: "What was I thinking 2 years ago?"
Simple flow:
You β Zotero β MCP Server β AI Agent
- You capture papers/videos/notes in Zotero
- Better BibTeX generates citation keys (
book-pkm2024) - MCP Server indexes your library (semantic search)
- AI agents query during conversations
Example conversation:
You: "I'm researching knowledge graphs" Agent (queries your Zotero via MCP): "You have 3 papers on this topic. One from 2020 highlights the connection to PKM systems. Want me to reference your annotations?"
-
β Korean Dewey Decimal Classification (KDC)
- Citation key format:
book-title2024,blog-title2024,wiki-title, ... - Type-based prefixes:
book,blog,wiki,film,doc,web,news,person,dict,art - Reproducible keys for LaTeX/Org-mode integration
- Citation key format:
-
β Better BibTeX Integration
- Auto-export to
.bibfiles (tracked in Git) - Org-mode Quick Copy:
Ctrl+Shift+Cβ citation key - Custom postscript:
callnumber,datemodified,dateaddedfields
- Auto-export to
-
β MCP (Model Context Protocol) Support
- Semantic search: concept-based paper discovery
- PDF annotation extraction and search
- Full-text indexing for deep queries
- Integration with Claude Desktop, Cline, etc.
-
β Attanger Plugin
- Auto-organize attachments by item type
- Source directory monitoring
- Configurable file type filters
-
β Reproducible Setup
- NixOS/Home-Manager compatible
- Self-contained workspace structure
- Plugin XPI files versioned in Git
- Configuration templates with path variables
zotero-config/
βββ plugins/ # Zotero plugins (XPI files)
β βββ [email protected]
β βββ [email protected]
βββ config/ # Better BibTeX configuration
β βββ betterbibtex-preferences-nixos.json
βββ docs/ # Documentation
β βββ MCP-INTEGRATION.md
β βββ SETUP-GUIDE.md
β βββ DEWEY-CLASSIFICATION.md
βββ scripts/ # Automation scripts
β βββ setup.sh
β βββ mcp-setup.sh
βββ workspace/ # Local workspace (not tracked)
βββ data/ # Zotero database (.gitignore)
βββ files/ # Attachments (.gitignore)
βββ exports/ # Auto-exported BibTeX
βββ incoming/ # Attanger source (.gitignore)
git clone https://github.com/junghan0611/zotero-config.git ~/zotero
cd ~/zoteroNixOS/Home-Manager:
home.packages = with pkgs; [ zotero ];Ubuntu/Debian:
sudo apt install zotero# Install 54yyyu/zotero-mcp for AI agent integration
uv tool install "git+https://github.com/54yyyu/zotero-mcp.git"
# Setup with local Zotero database
zotero-mcp setup --local
# Or use Zotero Web API (for cloud sync)
zotero-mcp setup --no-local \
--api-key YOUR_API_KEY \
--library-id YOUR_LIBRARY_ID
# Build semantic search database
zotero-mcp update-db --fulltext# Run setup script (coming soon)
./scripts/setup.sh
# Or manually:
# 1. Install plugins from plugins/
# 2. Import Better BibTeX config from config/
# 3. Set data directory to workspace/data/Model Context Protocol (MCP) enables AI agents to access external data sources. With Zotero MCP:
- π Semantic Search: Ask agents to find papers by concept, not just keywords
- π Annotation Access: Query your PDF highlights and notes
- π Context Awareness: Agents reference your reading history during conversations
- π Meta-Analysis: Generate insights from your entire library
| Server | Features | Best For |
|---|---|---|
| 54yyyu/zotero-mcp | Semantic search, PDF annotations, full-text indexing | Recommended - Most complete |
| kaliaboi/mcp-zotero | Collection queries, basic search | Simple web API integration |
| kujenga/zotero-mcp | Python-based, Docker support | Python workflows |
# AI agent queries your Zotero library
"Find papers about knowledge graphs published after 2020"
"What are my annotations in the paper about PKM systems?"
"Connect this concept to books in my Collection C3"See docs/MCP-INTEGRATION.md for detailed setup.
Before (Traditional):
- Read paper β manual notes β disconnected knowledge
After (Agent-Integrated):
- Capture: Save to Zotero with citation key (
book-pkm2024) - Query: Ask AI agent to find related papers
- Connect: Agent references your annotations and library
- Emerge: New insights from conversation context
- Org-mode Integration: Citation keys directly in your notes
- Denote Linking:
[[book-title2024]]links to bibliographic entries - Emacs Workflow: Quick Copy β insert citation β auto-update
.bib
AI agents help you rediscover forgotten connections:
- "What did I read about this topic 2 years ago?"
- "Find patterns in my reading history"
- "Which books influenced my thinking on X?"
- Digital Garden: notes.junghanacs.com
- Zotero Meta Note: meta/20240320t110018
- Bib Folder: notes.junghanacs.com/bib/
- Zotero Group Library: @junghanacs
π§ Work in Progress - Building in public!
Completed:
- Repository structure
- Plugin backup (Better BibTeX v7.0.50, Attanger v1.3.8)
- Configuration templates
- MCP architecture design
In Progress:
- MCP setup scripts
- Documentation (MCP integration, setup guide)
- Korean Dewey Classification guide
- NixOS Home-Manager module
This is a personal configuration, but feel free to:
- Open issues for questions about the workflow
- Fork and adapt for your own bibliographic system
- Share your MCP integration experiences
MIT License - Feel free to use and adapt!
Author: @junghanacs Created: 2025-10-11 Philosophy: μΈμμ ν κΆμ μ± (Life is a book)