Skip to main content

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.

PyPI Python versions Tests

The library view of Annotheca

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 reading notes. Highlight passages in five colours, pin draggable post-its on the page, and write as many dated reading notes on each paper as you like, next to it in the list or beside the PDF. Every reading note, and every comment written on a highlight or a post-it, also appears in the journal with a link that opens the paper.
  • 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. Link an entry to a paper of the project, or to a new one, to make it a reading note on it. Paste or drop images (plots, photos of a whiteboard), and write a ```tikz block to get a LaTeX TikZ diagram drawn in place.
  • Attached files, versioned with the journal. Attach any file to an entry, such as a script, a dataset or a config: it is kept as it was that day and downloads in one click. PDFs, such as slides, are previewed in the entry: turn the pages there, or open them larger. A newer version goes in a newer entry, so the journal becomes the history of your work and of its files.
  • A to-do list for what comes next, with an optional priority and deadline (marked when it is near or past), and 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 in idea_sparse.md and run it; the archive's README explains how. PaperOrchestra is installed separately and runs on your own API keys.
  • A trash. Deleted projects and papers go to the trash with their folders, notes and highlights, and can be restored for 30 days before they are deleted for good.
  • Share a project. Share downloads the project, with its folders, notes, highlights, PDFs, journal and attached files, as one .annotheca file; 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.

Reading a paper with highlights and a sticky note

The project journal: categories, a TikZ diagram written by Claude, attached files and a plot

The to-do list of a project, with tasks added by Claude

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 found right after step 1: open a new terminal, or run source $HOME/.local/bin/env (Linux and macOS).
  • annotheca: command not found after step 2: run uv tool update-shell, then open a new terminal.
  • Already using pipx? pipx install annotheca works 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+Enter adds 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; Esc goes 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. The libraries positioning, arrows.meta, calc, fit and shapes.geometric are always loaded; load others with \usetikzlibrary. 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 reading notes, highlights and sticky notes, and the path of its PDF.
add_note Add a dated, signed reading note on a paper; it appears in the journal.
get_bibtex Get the project's .bib.
read_journal, add_journal_entry Read the project journal, or one category of it, with the local path of attached files; write a dated, signed entry in Markdown, with a category, TikZ diagrams, images and attached files.
list_todos, add_todo, complete_todo Read the to-do list, add to it with a priority and a deadline, 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, trash
pdfs/        one PDF per paper
images/      images of the journal
files/       files attached to 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.

The trash, with a project and a paper to restore

Dark theme

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.6.0 && git push origin v0.6.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, the trash (trash.js) and the views of a project:
                 papers.js (a folder), journal.js, todos.js; notes.js lists
                 the reading notes on a paper, markdown.js renders journal
                 text and pdf-preview.js previews attached PDFs

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

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for annotheca 0.6.0
File Size Uploaded Provenance Actions
annotheca-0.6.0.tar.gz 2.7 MB With provenance Details for annotheca-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for annotheca 0.6.0
File Interpreter ABI Platform Actions
annotheca-0.6.0-py3-none-any.whl Python 3 none any Details for annotheca-0.6.0-py3-none-any.whl

Total release size: 3.4 MB

Release files / annotheca-0.6.0.tar.gz

Download URL annotheca-0.6.0.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
540dc4ac431e6de0f219ca4774f8f68fc83315e4a538f04b5b7ccea1ee331766
BLAKE2b-256 checksum
How to use checksums
2f31351ebda59967277feb9b8d6b79f777c3508c4baea4b7df0beb2903657652
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 log

Release files / annotheca-0.6.0-py3-none-any.whl

Download URL annotheca-0.6.0-py3-none-any.whl
Size 649.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
397960320378bfe41f22423c294c02fb1538b71b6462f18e525f7a392092ef5e
BLAKE2b-256 checksum
How to use checksums
8ef35fc6f159810aa54622d3397644b80feaac028f115f80411ce24ffb6c8124
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 log

Security for annotheca 0.6.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.

Select from 2 files

Attestation for annotheca-0.6.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 log

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

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page