explaingit

elliotroe/lit-bucket

Analysis updated 2026-05-18

22PythonAudience · researcherComplexity · 4/5LicenseSetup · hard

TLDR

A self-hosted system that turns a Zotero research paper library into a searchable knowledge base an AI assistant can query.

Mindmap

mindmap
  root((Lit Bucket))
    What it does
      Syncs Zotero PDFs
      Parses PDFs to markdown
      Builds section level index
      Exposes MCP search server
    Tech stack
      Python
      Docker
      LanceDB
      Docling
      Cloudflare R2
    Use cases
      Search a paper library
      AI assistant literature review
      Self hosted research tool
    Audience
      Researchers
      Academics
      AI agent builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Let an AI assistant search across an entire Zotero research library and pull the exact section of a paper that answers a question.

USE CASE 2

Self-host a private, searchable archive of academic PDFs backed by either local storage or Cloudflare R2.

USE CASE 3

Give a Claude or other MCP-capable client the ability to fetch the full text of a specific paper on demand.

What is it built with?

PythonDockerLanceDBDocling

How does it compare?

elliotroe/lit-bucketagno-agi/agent-platform-railwayalexantaluo0/acot-vla-wm
Stars222222
LanguagePythonPythonPython
Setup difficultyhardmoderatehard
Complexity4/54/55/5
Audienceresearcherdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Needs Docker, at least 4GB RAM, a Zotero WebDAV connection, and about 1GB of models downloaded on first run.

Apache 2.0 license: free to use, modify, and redistribute, including commercially, as long as you keep the license notice and state changes you make.

In plain English

Lit Bucket turns a Zotero research library into something an AI assistant can search. Zotero is reference management software researchers use to collect and organize academic papers, and this project watches the PDF attachments that Zotero syncs, converts each paper into Markdown text on the same machine using a tool called Docling, and builds a searchable index of that content. The index is organized by section heading, so a search can point directly at something like a results section or a subgroup analysis inside a specific paper, rather than just returning a whole document. Once the index is built, a separate part of the system called an MCP server lets an AI client, such as Claude, search across the whole library and pull the full text of any paper it finds relevant. Everything, meaning the file syncing, the PDF parsing, the search index, and the MCP server, runs together inside a single Docker container, so there is only one thing to deploy and run. Storage can be either Cloudflare R2, a cloud storage service, or a plain folder on the local machine, chosen with one configuration variable. Setting it up involves cloning the repository, copying an example environment file and filling in details like a WebDAV password and, if using R2, cloud storage credentials, then starting everything with Docker Compose. The first run downloads about a gigabyte of machine learning models for parsing and embedding text, and the project recommends giving the container at least 4 gigabytes of memory since that parsing step is demanding. After it is running, Zotero is pointed at the container's WebDAV address so it can sync files in, and an MCP capable AI client is pointed at the search server's address so it can query the library. The project also offers a free hosted option for university affiliated or non-commercial users who would rather not run their own server. Lit Bucket is released under the Apache 2.0 license and requires Python 3.11 or newer.

Copy-paste prompts

Prompt 1
Walk me through setting up Lit Bucket with Docker Compose, including the .env file and Zotero WebDAV connection.
Prompt 2
Help me configure Lit Bucket to use Cloudflare R2 as its storage backend instead of a local folder.
Prompt 3
Explain how Lit Bucket's section-level search index works so I understand what a query will return.
Prompt 4
Show me how to connect Claude as an MCP client to my running Lit Bucket search server.

Frequently asked questions

What is lit-bucket?

A self-hosted system that turns a Zotero research paper library into a searchable knowledge base an AI assistant can query.

What language is lit-bucket written in?

Mainly Python. The stack also includes Python, Docker, LanceDB.

What license does lit-bucket use?

Apache 2.0 license: free to use, modify, and redistribute, including commercially, as long as you keep the license notice and state changes you make.

How hard is lit-bucket to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is lit-bucket for?

Mainly researcher.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.