touchneedle
A model-drafted reference list fails in a specific way: a real title carrying the wrong authors, or a plausible paper that does not exist.
touchneedle parses the reference list straight out of Markdown or
.docx and checks each entry against whichever authority can
actually confirm it.
Quick start
$ pip install touchneedle $ touchneedle check thesis.docx --out report.md
Exit status 2 when something needs attention, 0 when the list is clean,
so the same command drops into CI unchanged. It needs only Python, plus
pandoc on PATH if the input is .docx.
What it checks
First, that each source exists and says what the list claims. arXiv ids go to arXiv, DOIs to Crossref, and RFCs and Internet-Drafts to the IETF datatracker, which also says whether the cited revision is still current. Quoted titles go to Crossref then OpenAlex, and a bare URL is checked against the page it actually returns.
Then internal consistency. Every in-text citation has to resolve to a list entry, every entry has to be cited somewhere, and 2025a / 2025b suffixes have to be unambiguous. Shortened notes and Ibid. link back to the citation they repeat.
Last, claim support, which needs reading rather than fetching. Each citation is paired with the sentence making the claim and ruled SUPPORTED, PARTIAL or UNSUPPORTED one row at a time. This catches a real source attached to a claim it does not make.
It handles author-date, numeric, MLA and footnote styles, detected
automatically or forced with --style.
Why not a .bib checker
Commercial citation checkers want a .bib file and check it against
academic databases. That covers journal articles and misses standards, specifications,
vendor documentation and blog posts, which in a lot of real bibliographies
is half the list. touchneedle reads the prose reference list instead.
Two ways to run it
check is entirely scripted. It fetches records and compares
fields, so it returns the same answer every run with no model involved
anywhere in it. claims is the half a script cannot finish: it
emits a worklist, and ruling on those rows means reading the sources.
Work that list from a terminal, or run the tool inside a coding agent that calls the same script for the scripted pass and then reads each source to fill in the second. The agent runs the same script you would.
# as a Claude Code plugin > /plugin marketplace add nicoleman0/touchneedle > /plugin install touchneedle