Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Reproducible bibliographic workflow with AI-queryable knowledge repository. Korean Dewey Decimal citation keys, Better BibTeX, and MCP integration for semantic search.

Notifications You must be signed in to change notification settings

junghan0611/zotero-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

zotero-config

Reproducible bibliographic workflow with AI-queryable knowledge repository

Transform Zotero into a meta-knowledge hub that AI agents can understand and reference.

ν•œκΈ€ License Work in Progress


🎯 Why This Project?

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.


What You Get

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?"

πŸ— How It Works

Simple flow:

You β†’ Zotero β†’ MCP Server β†’ AI Agent
  1. You capture papers/videos/notes in Zotero
  2. Better BibTeX generates citation keys (book-pkm2024)
  3. MCP Server indexes your library (semantic search)
  4. 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?"


πŸ“š Features

Core Components

  • βœ… 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
  • βœ… Better BibTeX Integration

    • Auto-export to .bib files (tracked in Git)
    • Org-mode Quick Copy: Ctrl+Shift+C β†’ citation key
    • Custom postscript: callnumber, datemodified, dateadded fields
  • βœ… 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

πŸ“‚ Directory Structure

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)

πŸš€ Quick Start

1. Clone Repository

git clone https://github.com/junghan0611/zotero-config.git ~/zotero
cd ~/zotero

2. Install Zotero

NixOS/Home-Manager:

home.packages = with pkgs; [ zotero ];

Ubuntu/Debian:

sudo apt install zotero

3. Install MCP Server (Optional but Recommended)

# 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

4. Configure Zotero

# 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/

πŸ€– MCP Integration

What is MCP?

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

Supported MCP Servers

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

Example Usage

# 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.


πŸ“– Use Cases

Reading Workflow with AI Agents

Before (Traditional):

  1. Read paper β†’ manual notes β†’ disconnected knowledge

After (Agent-Integrated):

  1. Capture: Save to Zotero with citation key (book-pkm2024)
  2. Query: Ask AI agent to find related papers
  3. Connect: Agent references your annotations and library
  4. Emerge: New insights from conversation context

Digital Gardening

  • 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

Knowledge Archaeology

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?"

πŸ”— Links


πŸ›  Status

🚧 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

🀝 Contributing

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

πŸ“œ License

MIT License - Feel free to use and adapt!


Author: @junghanacs Created: 2025-10-11 Philosophy: 인생은 ν•œ ꢌ의 μ±… (Life is a book)

About

Reproducible bibliographic workflow with AI-queryable knowledge repository. Korean Dewey Decimal citation keys, Better BibTeX, and MCP integration for semantic search.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •