SuperAPI AI Directory

paper-preflight

Checks every reference of a LaTeX paper against Crossref, dblp, arXiv, DataCite, PubMed and OpenAlex records: whether each cited work exists, matches its metadata and was not retracted, with no

Open website

About this tool

paper-preflight is a tool for checking reference completeness before submitting a LaTeX paper. Its goal is to verify each reference cited in a paper one by one against real scholarly records before submission, rather than relying on a large language model to guess.

Purpose References in academic papers often have problems: language models may fabricate citations, and copied-and-pasted BibTeX may carry incorrect years, authors, or invalid DOIs. paper-preflight reads a paper's .tex and .bib files and queries sources such as Crossref, dblp, arXiv, DataCite, PubMed, and OpenAlex for each cited reference, answering three core questions: Does the cited content match a real record? Has the reference been retracted? Has the cited preprint already been formally published? When the tool cannot determine something, it explicitly states "cannot determine" rather than hastily giving a conclusion. The project is currently at version 0.x and is moving toward a stable 1.0, and feedback about false positives is especially welcome.

Main capabilities The tool can identify various citation problems, including but not limited to: a citation entry not matching a real record, incorrect authors or year, incorrect title, a DOI or arXiv ID pointing to another reference, citing a retracted reference, and a cited preprint having already been formally published. Each finding comes with the corresponding record evidence, or states that all queried sources answered "none." If a source does not include it, it reports "cannot determine" rather than "not found." For example, Chinese-language references are reported as "cannot determine" because the script is not yet supported. The tool also provides paper-preflight explain REF003 and similar commands, which explain in the terminal what each rule checks, when it may go wrong, and how it should be handled.

Usage Users can run it directly through uv without additional installation, or use pip install paper-preflight. Input can be a project directory, a main .tex file, or a single .bib file. For arXiv source code without an accompanying .bib, it reads from the compiled .bbl. Word, Markdown, or Typst manuscripts can also be checked in a similar way: citations inserted in Word by Zotero, Mendeley, or EndNote are read first from their field codes, then from Word's source manager, and finally from a manually entered reference list. Plain-text reference lists (supporting common formats such as APA, IEEE, ACM, Nature, Vancouver, Springer, Elsevier, MDPI, GOST, Chicago, and MLA) can also be checked directly, with each line, each paragraph, or each numbered reference acceptable. It can also directly check a paper by arXiv ID, or use the pdf extension to read the reference list from a PDF-only file.

The tool supports generating JSON reports, with a format that follows the published JSON Schema (schema_version 0.1). Users can also obtain verified BibTeX by DOI, arXiv ID, or title, with all fields coming from registry records and the source noted above the entry.bib fix subcommand can turn discovered problems into modifications to the .bib file, with the default --level safe only fixing errors that do not change the cited object, such as identifiers that become invalid due to formatting errors or missing DOIs;--level unsafe also rewrites authors, titles, years, and conference information based on the records, removes identifiers that point to other references, and cites preprints as published versions. All modifications are made with --apply Only differences are printed, and files are not actually modified.

Use cases This tool is suitable for researchers, students, and any authors who need to submit LaTeX papers, especially in scenarios where they want to ensure before submission that references are real, accurate, and not retracted. It is also suitable for projects that need to batch-verify a large number of references, and can be integrated with coding agents (such as Claude Code, Codex, Gemini CLI, Copilot, Cursor, etc.) through an MCP server or skill installation. In addition, a pre-commit hook and a GitHub Actions workflow are provided to automatically check citations on every commit or push. The tool also works for users without an account; optional free credentials can make checks faster and more complete.

Limitations The tool is currently at version 0.x and has not yet reached the stable 1.0 release, so false positives may occur, and the project encourages users to submit issues. Some literature types or sources may not be fully covered; for example, Chinese-language literature scripts are not yet supported, and some books without identifiers need to be confirmed via Open Library. For cases that cannot be determined, the tool reports "unable to determine" rather than "not found." In addition, some checks (such as omitted author lists) may still be missed, and fabricated entries that borrow the shared title of multiple real works may also fail to be identified.