Annotheca
A calm, local notebook for your research projects and their bibliography.
Paste a reference, get the BibTeX and the PDF, highlight, take notes, export one clean .bib.
Keep a dated journal of the project, with images and TikZ diagrams, and a to-do list.
Let Claude and other AI assistants file the papers they find, with verified metadata, and write in the journal.
Why
Research projects live in stages (state of the art, method, experiments, writing) and the same paper often matters in several of them, for different reasons. Annotheca organises references the way the project is organised, and keeps track of how the project moves forward:
- Projects and stage folders. Annotheca opens on your projects; inside
one, the sidebar lists its folders. Every project starts with a
SoA(state of the art) folder; add as many folders as your project has stages. - Paste anything. BibTeX (one or many entries), DOIs, arXiv IDs, links to paper pages (publishers, HAL, IACR ePrint...), or a formatted citation copied from a paper (APA, IEEE, ...). Annotheca resolves it into clean BibTeX through doi.org, arXiv, Crossref and the page's own metadata, and refuses a citation it cannot match with certainty rather than guess.
- PDFs found for you. Open-access PDFs are downloaded automatically from arXiv, Semantic Scholar and OpenAlex, following repository landing pages to their PDF. Otherwise, drop the PDF on the paper.
- Highlights, sticky notes and general notes. Highlight passages in five colours, pin draggable post-its on the page, and keep general notes on each paper, next to it in the list or beside the PDF.
- One paper, several folders, separate notes. A paper filed in two folders is stored once, but its highlights and notes are specific to each folder: what you underline for the state of the art is not what you underline for the method.
- A dated journal. Write down what you did, decided or found, outside
any paper. Entries are dated automatically, grouped by day, and written in
Markdown. Tag them as an idea, experiment, result, problem, decision or
reading to show only one kind when you need it; paste or drop images (plots, photos of a whiteboard) and write a
```tikzblock to get a LaTeX TikZ diagram drawn in place. Over time it becomes the history of your work. - A to-do list for what comes next, with the date each task was done.
- Draft a paper with PaperOrchestra.
The PaperOrchestra button downloads the project as raw materials for
this multi-agent paper writer from Google Research: the journal as the
experimental log, its ideas in the idea file, its images as figures, the papers with your notes and
the
.bib. Describe the idea inidea_sparse.mdand run it; the archive's README explains how. PaperOrchestra is installed separately and runs on your own API keys. - Share a project. Share downloads the project, with its folders,
notes, highlights and PDFs, as one
.annothecafile; whoever receives it opens it with the import button of the sidebar. - Works with AI assistants. Claude (or any MCP client) can file the papers
it finds into your projects, add notes, read yours, get the
.bib, write journal entries with diagrams and images, and manage the to-do list. See AI assistants. - One clean
.bib. Export the whole project in one click; papers filed in several folders appear only once, with stable, unique citation keys. - English and French, light and dark themes, everything stored locally.
Install
Three steps, about a minute. You do not need Python installed: the installer below takes care of it.
1. Install uv, the tool that installs Annotheca and the Python it needs. Copy this into a terminal:
-
Linux and macOS:
curl -LsSf https://astral.sh/uv/install.sh | sh
-
Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Then close the terminal and open a new one, so that it finds uv.
2. Install Annotheca:
uv tool install annotheca
3. Start it:
annotheca
Your browser opens on Annotheca. That's it.
Optional, to let Claude use your library (see AI assistants):
annotheca connect
To update later: uv tool upgrade annotheca.
Something went wrong?
uv: command not foundright after step 1: open a new terminal, or runsource $HOME/.local/bin/env(Linux and macOS).annotheca: command not foundafter step 2: runuv tool update-shell, then open a new terminal.- Already using pipx?
pipx install annothecaworks too.
Use
annotheca
The interface opens in your browser at http://127.0.0.1:8737. Running the command again while Annotheca is running simply reopens it.
| Option or command | Effect |
|---|---|
--port PORT |
Serve on another local port (default 8737). |
--data-dir DIR |
Keep the library somewhere else. |
--no-browser |
Do not open the browser. |
connect |
Make Annotheca available to Claude (see below). |
mcp |
Serve the tools for AI assistants over stdio (used by connect). |
Tips:
Ctrl+Enteradds what you pasted, or posts a journal entry.- Click a citation key to copy
\cite{key}. - Drop a PDF file on a paper to attach it.
- In the reader, select text to highlight it; switch to Sticky note and
click on the page to pin a note; click a highlight to recolour or delete it;
Escgoes back. - In the to-do list, double-click a task to edit it.
- TikZ diagrams are compiled in the browser by TikZJax, downloaded the first time a diagram is shown, so they need a connection that time. A diagram that does not compile shows its source with a message instead.
AI assistants
When an assistant writes references itself, it can get a title, an author or a year wrong. With Annotheca, the assistant only says which paper it means (a DOI, an arXiv ID, a citation); Annotheca fetches the metadata from doi.org, arXiv and Crossref, files the paper with its PDF, and answers with the exact citation key, title and authors to use. Every paper, journal entry and task an assistant adds is marked with its name, so you can always see, and filter, what it relied on and what it wrote.
annotheca connect registers Annotheca as an
MCP server for Claude Code (in every
project) and Claude Desktop when they are installed, and prints the
configuration to paste into other MCP clients (Cursor, Codex, Gemini CLI...).
The assistant then just needs to be asked:
Find recent papers on contact-implicit trajectory optimisation and add the three most relevant to the SoA of my PhysProx project, with a note on each.
What did I highlight in posa2013direct? Write the related-work paragraph citing the papers of the Method folder.
Log what we found today in the journal of PhysProx, with a TikZ diagram of the pipeline, and add the remaining experiments to its to-do list.
| Tool | What the assistant can do |
|---|---|
list_projects |
See the projects and their folders. |
create_project, create_folder |
Create them. |
add_references |
File papers from DOIs, arXiv IDs, BibTeX or citations, with a note; get back verified metadata. |
list_papers |
List the papers of a project with your notes. |
read_paper |
Read a paper's BibTeX, your notes, highlights and sticky notes, and the path of its PDF. |
add_note |
Add a signed paragraph to a paper's notes. |
get_bibtex |
Get the project's .bib. |
read_journal, add_journal_entry |
Read the project journal, or one category of it; write a dated, signed entry in Markdown, with a category, TikZ diagrams and images. |
list_todos, add_todo, complete_todo |
Read the to-do list, add to it, tick tasks off. |
Nothing else is needed: the server explains itself to the assistant. What it adds appears in the interface as soon as you come back to the window.
Your data
Everything stays on your machine, in ~/.local/share/annotheca (or
$XDG_DATA_HOME/annotheca, or $ANNOTHECA_HOME):
library.db SQLite database: projects, folders, BibTeX, notes, annotations,
journal, to-do lists
pdfs/ one PDF per paper
images/ images of the journal
Back it up by copying that directory. The only network requests are the lookups of references and PDFs, sent to doi.org, arXiv, Crossref, Semantic Scholar, OpenAlex and the repositories they point to.
Development
git clone https://github.com/melissa-colin/annotheca
cd annotheca
uv venv && uv pip install -e '.[test]'
.venv/bin/pytest
.venv/bin/annotheca --data-dir /tmp/annotheca-dev
Releases are made by the maintainer: only accounts with write access to this
repository can push tags, and PyPI only accepts packages built by this
repository's release workflow from a v* tag. To release, set the new
version in pyproject.toml, commit, then push a matching tag; the tests run
and the package is published:
git tag v0.4.0 && git push origin v0.4.0
The code follows the Google Python and JavaScript style guides. The backend is
a small FastAPI app over SQLite
(src/annotheca); the interface is dependency-free JavaScript modules with
pdf.js vendored, so there is no build
step. Journal entries are rendered with
marked and sanitized with
DOMPurify, both vendored too.
src/annotheca/
cli.py command line entry point
api.py HTTP API and static files
library.py storage: projects, folders, papers, placements, annotations
bundle.py .annotheca files to share a project
paper_orchestra.py raw materials to draft a paper with PaperOrchestra
mcp_server.py tools for AI assistants (Model Context Protocol)
models.py validated shapes shared by the API and the bundles
bibtex.py BibTeX parsing, formatting, citation keys, identifiers
sources.py doi.org, arXiv, Crossref, Semantic Scholar, OpenAlex lookups
static/ web interface; js/main.js routes between the project
picker and the views of a project: papers.js (a folder),
journal.js, todos.js; markdown.js renders journal text
License
MIT. Vendored libraries keep their licenses, next to them in
src/annotheca/static/vendor/: pdf.js (Apache License 2.0), marked (MIT),
DOMPurify (MPL 2.0 or Apache License 2.0). TikZJax (GPL 3.0) is not
distributed with Annotheca: the browser downloads it from jsDelivr when a
diagram is shown.
Metadata
Release files for annotheca 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| annotheca-0.4.0.tar.gz | 2.4 MB | With provenance | Details for annotheca-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| annotheca-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for annotheca-0.4.0-py3-none-any.whl |
Total release size: 3.1 MB
Release files / annotheca-0.4.0.tar.gz
| Download URL | annotheca-0.4.0.tar.gz |
|---|---|
| Size | 2.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b02f179b7b645f7ddc9190c621b7b65357ae753055d910d71438978484c0f303
|
|
BLAKE2b-256 checksum How to use checksums |
6e6c5fea43da9106dd4ef3f30d926362f83ad57d312e7f3dba3506bd06804535
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logRelease files / annotheca-0.4.0-py3-none-any.whl
| Download URL | annotheca-0.4.0-py3-none-any.whl |
|---|---|
| Size | 635.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
edea4d340fa59b517f848f50ff03f49b81d4de8eb5598eddcf10db6e4ca722a7
|
|
BLAKE2b-256 checksum How to use checksums |
fa71138b4d2d5f0ab4b1aa4640e1f72ff058d17e1358342769f08122ffe4345a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logSecurity for annotheca 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for annotheca-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.