bibr 🦫
bibliography rodent turns scientific papers (PDF, Word DOCX, JATS XML, HTML and ePub) into structured JSON: title, authors and affiliations, abstract, sections and sentences, tables, figures, equations and a parsed reference list. Every sentence keeps its page number and every row an ID, so you can check each field against the source. It runs on a laptop with no API key.
To try one paper without installing anything, upload it at try.bibr.org.
To run it on your machine, install uv and run:
uv init --bare --pin-python --python 3.12 paper-extraction
cd paper-extraction
uv add bibr
uv run bibr chew --sample -o sample.json # the sample paper that ships with bibr
uv run bibr inspect sample.json
There is nothing to configure: with no settings, bibr runs in fast mode, with local models only. The first run downloads about 1.5 GB of models once.
Get started See example output
Alpha: check important extractions against the source
Extraction quality varies by paper, language, layout, and model. Current evaluation is strongest for English social science papers. A valid JSON document can still contain mistakes. See where bibr is strong and where it isn't and the evaluation guide before relying on a field.
-
Runs on your laptop, no key
With nothing configured, bibr reads a paper with its own local models and makes no LLM call. Born-digital PDFs are read from their text layer; Word, JATS, HTML and ePub files are parsed directly. A scanned PDF needs an OCR backend. Install bibr.
-
See what you get
One JSON file per paper (schema v12.5): metadata, authors, affiliations, sections, sentences, tables, figures, equations and references, each a table of rows linked by IDs. Reference lists export to BibTeX, RIS or CSL-JSON, and whole corpora to Parquet. Tour the output.
-
Check every field
Sentences carry page numbers, equations and citations point at the sentence they came from, and every result carries a validation block and coded warnings that say what to double-check. Known limitations.
-
Add an LLM for more accuracy
bibr setupadds bibr's fine-tuned local model on an NVIDIA GPU or Apple Silicon, a server you run, or Claude Haiku 5.5 in the cloud, and asks before anything leaves your machine. Choose a model · What leaves your machine.
Use it your way
| You want to… | Go to |
|---|---|
| Process your first paper | Quickstart |
| Understand the JSON | What you get / JSON schema |
| Fix an error or a slow first run | Troubleshooting |
| Pick extras, a GPU build, update or uninstall | Installation / Windows and GPU setups |
| Work in Python or a notebook | Python library |
| Work in R or with Metacheck | R and Metacheck |
| Process a whole corpus | Batch runs |
| Connect an agent | MCP server |
| Run an HTTP service | Deployment / REST API |
| Look up a command, setting, or JSON field | CLI / Settings / Schema |
| Understand model use and accuracy limits | LLM use / Known limitations |
| Contribute or measure extraction quality | Development / Evaluation |
The CLI, settings, and schema references are generated from the code when this site is built. Schema validation checks the output's structure; it does not establish that an extracted fact is correct.
bibr was originally built as a preprocessing backend for Metacheck and can be used independently.