getPreprintFullText
Free
Read the full text of a bioRxiv or medRxiv preprint as clean Markdown sections (abstract, body, figure and table captions, back matter; reference list excluded, and most tables are posted as images so only their caption is in the text), paginated by characters. Returns the section outline so you can re-call with `sections` to read only the methods, the results, a given table, etc. Prefer findPreprintPassages to answer a specific question: preprint full texts run 50-300K characters.
Try it
kirha tools run biorxiv_getPreprintFullText \
--input '{
"doi": "10.1101/2024.05.03.592390"
}'Uses the key saved by kirha auth login.
doistring, requiredbioRxiv or medRxiv DOI, e.g. 10.1101/2024.05.03.592390 (doi: and doi.org forms accepted)
lengthinteger, default 20000, 1000 to 40000offsetinteger, default 0, 0 to 9007199254740991nextOffset from a previous call
sectionsstring[]Keep only sections whose heading contains one of these (case-insensitive), plus figures/tables whose label starts with one, e.g. ["methods", "table 2", "fig. 3"]
versioninteger, 1 to 9007199254740991Defaults to the latest version

Works in any harness
Get your API key, then install with one command
- π
