<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: TecMinds GmbH</title>
    <description>The latest articles on DEV Community by TecMinds GmbH (@tecmindsgmbhch).</description>
    <link>https://dev.to/tecmindsgmbhch</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4033711%2F4773695c-7e18-4205-963f-ad9cae53dc36.png</url>
      <title>DEV Community: TecMinds GmbH</title>
      <link>https://dev.to/tecmindsgmbhch</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tecmindsgmbhch"/>
    <language>en</language>
    <item>
      <title>I built a CLI that checks whether the references in your bibliography actually exist</title>
      <dc:creator>TecMinds GmbH</dc:creator>
      <pubDate>Fri, 17 Jul 2026 11:24:40 +0000</pubDate>
      <link>https://dev.to/tecmindsgmbhch/i-built-a-cli-that-checks-whether-the-references-in-your-bibliography-actually-exist-6f5</link>
      <guid>https://dev.to/tecmindsgmbhch/i-built-a-cli-that-checks-whether-the-references-in-your-bibliography-actually-exist-6f5</guid>
      <description>&lt;p&gt;Last year I started building &lt;a href="https://acurio.ch" rel="noopener noreferrer"&gt;Acurio&lt;/a&gt;, a tool that verifies citations in academic theses against their sources. One pattern kept showing up in real student theses: bibliographies full of references that simply don't exist. Plausible-looking authors, plausible journal, plausible year — and no matching record anywhere. Most of them were LLM hallucinations the student never caught.&lt;/p&gt;

&lt;p&gt;The existence check turned out to be the one piece that doesn't need any AI at all. So I extracted it into a small open-source CLI: &lt;a href="https://github.com/tobiasosDev/citecheck" rel="noopener noreferrer"&gt;citecheck&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;Point it at a &lt;code&gt;.bib&lt;/code&gt;, &lt;code&gt;.ris&lt;/code&gt;, or CSL-JSON file — the export you get from Zotero, Mendeley, or EndNote — and it checks every reference against three public scholarly APIs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Crossref&lt;/strong&gt; and &lt;strong&gt;OpenAlex&lt;/strong&gt; — does a matching record exist at all? A wrong DOI, a typo'd title, or a hallucinated reference shows up as &lt;code&gt;not found&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Crossref retraction metadata&lt;/strong&gt; — has the work been retracted? (You'd be surprised how often Wakefield 1998 still gets cited straight.)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DOAJ&lt;/strong&gt; — is the journal a listed open-access journal? Shown as a positive signal.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="gp"&gt;$&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;npx citecheck references.bib
&lt;span class="go"&gt;
  ✓  verified     watson1953      Molecular Structure of Nucleic Acids…
  ~  partial      wakefield1998   Ileal-lymphoid-nodular hyperplasia…  ⚠ RETRACTED
  ✗  not found    fabricated2099  Quantum Entanglement of Bibliographic Phantoms…

Summary: 1 verified · 1 partial · 1 not found · 1 retracted
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No API key, no signup, nothing uploaded. It only sends each reference's DOI/title to the public APIs and prints the result.&lt;/p&gt;

&lt;h2&gt;
  
  
  Design decisions worth stealing
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Auto-detect the input format.&lt;/strong&gt; Users don't know (or care) whether their export is BibTeX, RIS, or CSL-JSON. The CLI sniffs the format, including from stdin: &lt;code&gt;cat refs.bib | citecheck -&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DOI first, title second.&lt;/strong&gt; If a reference has a DOI, that's a precise lookup. No DOI (books, older works, grey literature) falls back to a title search with fuzzy matching — which is also where the honest uncertainty lives, hence the &lt;code&gt;partial&lt;/code&gt; verdict instead of pretending binary confidence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Be conservative about "not found".&lt;/strong&gt; A missing record can mean a hallucinated reference — or a book that Crossref just doesn't cover. The output distinguishes "no match anywhere" from "partial match", because a false accusation of fabrication is worse than a missed one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No build step at install.&lt;/strong&gt; The npm package ships prebuilt, so &lt;code&gt;npx citecheck&lt;/code&gt; cold-starts fast.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters right now
&lt;/h2&gt;

&lt;p&gt;Every study on LLM-generated citations finds fabrication rates that should terrify anyone grading theses — GPT-4o still fabricates roughly one in five references in some benchmarks. The scary part isn't that students use LLMs; it's that a hallucinated reference looks exactly like a real one until someone actually resolves it.&lt;/p&gt;

&lt;p&gt;Checking existence is the cheap, deterministic 80%. (Checking whether the source actually &lt;em&gt;supports the claim&lt;/em&gt; citing it is the hard part — that's what the hosted product does.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx citecheck references.bib
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Repo: &lt;a href="https://github.com/tobiasosDev/citecheck" rel="noopener noreferrer"&gt;https://github.com/tobiasosDev/citecheck&lt;/a&gt; — MIT licensed. Feedback and PRs welcome, especially around false positives on non-DOI sources: books, grey literature, and non-English titles are the current weak spots.&lt;/p&gt;

</description>
      <category>academia</category>
      <category>opensource</category>
      <category>node</category>
      <category>cli</category>
    </item>
  </channel>
</rss>
