A CLI tool for verifying academic citations against the Crossref database.
Takes a PDF, text file, or a pasted citation string, extracts the references, and checks each one against the Crossref API. Useful for spotting hallucinated or fabricated citations in AI-generated text.
pip install vericiteTo process scanned PDFs (image-based), also install PaddleOCR:
pip install paddlepaddle paddleocrvericiteThen enter a PDF path, text file path, or paste a citation directly:
➜ ./paper.pdf
➜ ./refs.txt
➜ Smith, J. et al. (2025). Quantum Entanglement in LLMs. Journal of Fake Science.
Results are shown inline — ✅ verified via Crossref, ❌ not found or low confidence.
- For PDFs: locates the reference section (via TOC or heuristic scan), extracts text with PyMuPDF, falls back to PaddleOCR for scanned pages.
- Each citation is queried against
api.crossref.org/worksusing bibliographic free-text search. - A match with a Crossref relevance score above 35 is considered verified.
MIT