Skip to main content Switch to mobile version annotheca 0.8.0 A local, bilingual notebook and reference manager for research projects: BibTeX, PDFs, highlights, a dated journal with TikZ diagrams, to-dos, Google Drive backup and shared projects, and MCP tools for AI assistants.
pip install annotheca Copy PIP instructions
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. Back it all up to Google Drive, and share projects with your collaborators in one click. Let Claude and other AI assistants file the papers they find, with verified metadata, and write in the journal.
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; a project opens on its journal, and 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, or with categories of your own, and show one or several categories at a time when you need to. 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.
Backup to Google Drive. Connect your Google account once: the library is backed up automatically, in a hidden folder of your Drive, and comes back on any computer. See Google Drive.
Shared projects. Share, type a Google address, and the project appears in your collaborator's Annotheca: you both work on it, and your changes reach each other within a minute. A project can also be sent as one .annotheca file, opened with the import button.
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.
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:
curl -LsSf https://astral.sh/uv/install.sh | sh
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.
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.
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.
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.
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.
Annotheca can back up your library to Google Drive and share projects with other Annotheca users. It is optional: without it, everything stays on your computer as before.
Connect, once. Open Google Drive at the bottom left of the sidebar, and click Connect Google Drive. Your browser shows Google's usual page to choose an account and allow Annotheca, then comes back to Annotheca. That's all.
Google may first show Google hasn't verified this app: Annotheca is a small open-source project that has not been through Google's review. Click Advanced, then Go to Annotheca (unsafe). Annotheca only touches its own files in your Drive (see what it accesses).
Backup. From then on, Annotheca backs up the library a few seconds after each change: the database, the PDFs, the journal images and the attached files, each uploaded again only when it changed. The backup is in Annotheca's hidden application folder: you will not see it among your files.
On another computer. Install Annotheca, open Google Drive and connect the same account. Annotheca sees that another computer made the backup and asks which library to keep: choose The backup on the Drive. The same question comes if two computers back up in turn; the library that is not chosen is kept beside the other as library-before-restore.db.
Share a project. In the project, click Share and type the Google address of the person (a Gmail address, or any address with a Google account). Google sends them an email, and the project appears on the home page of their Annotheca, under Shared with you: they click Join. No link to send, nothing to do in Drive.
Then each of you works on your own copy, and Annotheca exchanges the changes through a folder of the owner's Drive, Annotheca/, about every minute while it is open. Changes made at different times always merge, even on the same paper; if two people change the same entry at the same moment, the latest change wins. A shared project shows a cloud next to its name.
Disconnect from the same page; Google's access is then revoked. You can also revoke it at https://myaccount.google.com/permissions.
What Annotheca does with your Drive
Annotheca asks Google for access to your Drive (Google calls it See, edit, create and delete all of your Google Drive files, the only access that lets a collaborator open a shared project), but it only uses it to:
keep the backup in its hidden application folder;
create the Annotheca folder, one folder per shared project, and share them with the people you choose;
find the projects other Annotheca users shared with you, and update them.
Using your own Google Cloud project (optional)
The Annotheca installed from PyPI connects through the Annotheca Google Cloud project, so you need none of this. Google limits a project that has not been reviewed to 100 users: if Annotheca ever says Google Drive is not available, or you prefer your own project, create one in about ten minutes, without any knowledge of Google Cloud:
Go to https://console.cloud.google.com/projectcreate, sign in with your Google account, name the project Annotheca and click Create.
Open https://console.cloud.google.com/apis/library/drive.googleapis.com and click Enable.
In Audience, under Test users, click Add users and add your Google address (and those of your collaborators, if they use your project too).
In Clients, click Create client, choose Desktop app, then Create, and click Download JSON.
Save the downloaded file as google-client.json in Annotheca's data directory (~/.local/share/annotheca on Linux; see Your data), or point ANNOTHECA_GOOGLE_CLIENT to it. Restart Annotheca and connect.
Using Claude in Chrome, or another browser agent? It can do steps 1 to 5 for you; give it the steps above as they are, and save the file yourself.
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.
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 google-account.json the Google Drive connection, if any install.json this computer's identifier, for the Drive backup Back it up by copying that directory, or connect Google Drive. The other network requests are the lookups of references and PDFs, sent to doi.org, arXiv, Crossref, Semantic Scholar, OpenAlex and the repositories they point to.
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, with the OAuth client of the Annotheca Google Cloud project taken from the GOOGLE_CLIENT_JSON repository secret:
git tag v0.8.0 && git push origin v0.8.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 google_drive.py Google sign-in (OAuth with PKCE) and Drive API calls cloud.py backup to Drive and shared projects, in the background sync.py merging the copies collaborators keep of 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), Google Drive (drive.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.
Both files in this release have provenance metadata.
MIT View SPDX License List
annotation bibliography bibtex pdf reference-manager research
Environment Web Environment
Intended Audience Science/Research
Programming Language Python :: 3
Topic Scientific/Engineering
Release files for annotheca 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 3.5 MB
Release files / annotheca-0.8.0.tar.gz
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Release files / annotheca-0.8.0-py3-none-any.whl
Security for annotheca 0.8.0
Both files in this release have been uploaded with provenance metadata.
With provenance annotheca-0.8.0.tar.gz Dec 3, 2026
With provenance annotheca-0.8.0-py3-none-any.whl Dec 3, 2026
Attestation for annotheca-0.8.0.tar.gz
Attestation for annotheca-0.8.0-py3-none-any.whl
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.
Release history Release notifications | RSS feed
Dec 3, 2026 2 release files Full provenance
Nov 16, 2026 2 release files Full provenance
Nov 11, 2026 2 release files Full provenance
Nov 8, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




