CiteGuard: Zero-dependency CLI and MCP server to audit academic citations
Independent researcher Luca Celebrano released CiteGuard MCP v0.2.1, a zero-dependency Python CLI and MCP server auditing citations across five registries.
In short
Researchers and AI coding agent users · v0.2.1 CLI/MCP, v1.1.1 Web, 5 registries · MIT open source via pip, uvx, or Docker · Run uvx citeguard-mcp serve or pip install
By Dillip Chowdary • Dec 03, 2026 • Source: github.com

At a glance
- Who it is for
- Researchers and AI coding agent users
- The number
- v0.2.1 CLI/MCP, v1.1.1 Web, 5 registries
- Available
- MIT open source via pip, uvx, or Docker
- What to do
- Run uvx citeguard-mcp serve or pip install
- Author
- Luca Celebrano (ORCID 0009-0007-0931-3555)
- Web pricing
- 15 refs free, €7 Pass, €15/mo Pro
In this post
Independent researcher Luca Celebrano has released CiteGuard MCP v0.2.1, a zero-dependency Python CLI and Model Context Protocol server that audits academic citations across five public registries, according to the CiteGuard MCP repository.
This guide is for researchers, technical writers, and developers using AI coding assistants who need to verify references in papers, grants, pull requests, or technical reports. Readers can install the open-source tool via pip or uvx, connect it to an MCP-compatible editor, or use the browser-based CiteGuard Web v1.1.1 interface.
01Three citation errors CiteGuard blocks
Frontier large language models frequently introduce three types of scientific and technical citation errors. The first failure mode, labeled FABRICATED_OR_UNRESOLVED, occurs when a model invents plausible-looking DOIs such as 10.1038/s41591-025-99999-z, PubMed PMIDs, or arXiv IDs that return 404 errors. The second failure mode, CHIMERA_MISMATCH, pairs a real DOI from a famous paper with a fabricated title, wrong author, or wrong year so naive regex and HTTP checks pass.
The third failure mode, RETRACTED, involves citing papers that have been formally retracted in Crossref, PubMed, or OpenAlex. CiteGuard addresses all three errors using 100% Python standard library code with zero API keys and zero third-party Python dependencies. It queries Crossref, DataCite on CERN Zenodo, PubMed via NCBI E-utilities, OpenAlex, and arXiv in real time.
02Quickstart setup and CLI commands
Developers can connect citeguard-mcp to Claude Code, Claude Desktop, Cursor, Windsurf, or VS Code Copilot using uvx or a Docker image from GitHub Container Registry at ghcr.io/lukecele/citeguard-mcp:0.2.1. The server is also listed on the Official MCP Registry under io.github.Lukecele/citeguard-mcp.
- Connect Claude Code Run claude mcp add citeguard -- uvx citeguard-mcp serve in the terminal.
- Configure editor JSON Add the citeguard server entry with command uvx and args citeguard-mcp and serve to mcp.json or claude_desktop_config.json, or run the Docker image with -i and --rm flags.
- Install CLI locally Run pip install citeguard-mcp via pip, pipx, or uv, or invoke uvx citeguard-mcp --help without installing.
- Run terminal checks Execute citeguard audit on .md, .tex with .bib, .ris, or .nbib files using --strict, or run citeguard verify, search, bibtex, ris, and retraction commands.
Terminal users can audit manuscripts for orphan \parencite or \cite keys, verify a single DOI such as 10.1038/s41586-021-03819-2 with claimed title, author, and year flags, or search verified literature with a --limit parameter. The CLI also generates deterministic BibTeX or Zotero and EndNote RIS blocks from DOIs, PMIDs like PMID:34265844, and arXiv IDs like arXiv:1706.03762. A dedicated retraction command checks specific DOIs such as 10.1016/S0140-6736(97)11096-0.
03CiteGuard Web and CLI comparison
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
Alongside the open-source v0.2.1 CLI and MCP server, Celebrano maintains CiteGuard Web v1.1.1 for users who prefer a browser interface without terminal setup. Both versions validate academic references, but the web application adds document parsing for PDFs, slides, Word documents, and Overleaf archives.
| Feature | citeguard-mcp (v0.2.1) | CiteGuard Web (v1.1.1) |
|---|---|---|
| Supported formats | .md, .txt, .bib, .tex, .ris, .nbib, .enw | All CLI formats plus two-column .pdf, slides, .docx, Overleaf .zip |
| Export outputs | JSON, Terminal, GitHub Step Summary, .bib, .ris | Live-progress dashboard, clean .bib, clean .ris, vector PDF Integrity Certificate |
| Setup and pricing | uvx citeguard-mcp serve or pip install citeguard-mcp | Zero install, 15 refs free, €7 Stripe Pass, €15/mo Pro |
CiteGuard Web handles two-column .pdf files with DOI wrapping, URI links, and scanned-PDF detection, as well as .docx tables and footnotes, natbib and biblatex \parencite, \textcite, and \cites commands. Users can drag and drop manuscripts to export clean BibTeX and vector PDF Citation Integrity Certificates.
Note: CiteGuard Web offers an instant browser check for up to 15 references free, with paid access available through a €7 Stripe Pass or a €15/mo Pro subscription.
04Five MCP tools for agents
When connected as an MCP server, citeguard-mcp exposes five tools that allow AI coding agents to verify citations before and after generating text. Each tool queries a specific combination of Crossref, DataCite/Zenodo, PubMed, OpenAlex, and arXiv depending on whether it is verifying, auditing, searching, formatting, or checking retractions.
| Tool Name | Function | Registries Queried |
|---|---|---|
| verify_citation | Verifies DOI, PMID, arXiv ID, or title and returns canonical BibTeX and APA | Crossref, DataCite/Zenodo, PubMed, OpenAlex, arXiv |
| audit_document_citations | Scans Markdown, LaTeX, BibTeX, or LLM drafts concurrently for a 0–100% score | All 5 registries via concurrent thread pool |
| search_verified_literature | Finds peer-reviewed and preprint papers with DOIs, citation counts, PDFs, and BibTeX | OpenAlex, PubMed (NCBI), arXiv |
| generate_bibtex | Resolves an array of DOIs, PMIDs, and arXiv IDs into normalized @article BibTeX blocks | Crossref, DataCite, PubMed, arXiv |
| check_retraction | Inspects update-to notices and is_retracted metadata for retractions or concerns | Crossref, OpenAlex |
The audit_document_citations tool processes entire Markdown, LaTeX, BibTeX, or draft LLM responses using a concurrent thread pool across all five registries to return a Citation Integrity Score from 0 to 100% with per-citation diagnostics. Meanwhile, search_verified_literature lets an agent retrieve open-access PDFs and citation counts before writing a single reference.
05GitHub CI checks and licensing
Teams can enforce citation checks automatically in GitHub pull requests using the Lukecele/citeguard-mcp@v0.2.1 GitHub Action. Configured with files such as main.tex and references.bib and strict set to "true", the workflow blocks hallucinated DOIs, chimera BibTeX or RIS entries, and orphan \parencite or \cite keys from merging. It automatically posts a Markdown audit table to the GitHub Actions Step Summary.
Contributors who want to run the local test suite can clone the repository, install development dependencies with pip install -e ".[dev]", and execute pytest -v. CiteGuard MCP was created by independent researcher Luca Celebrano, known as @Lukecele with ORCID 0009-0007-0931-3555. The software is released under the MIT License, archived at CERN Zenodo under DOI 10.5281/zenodo.24553130 with concept DOI 10.5281/zenodo.24553129, and indexed on ELIXIR bio.tools as biotools:citeguard-mcp.
Frequently asked questions
What citation errors does CiteGuard MCP detect?
CiteGuard MCP detects three citation failure modes: fabricated or unresolved identifiers (FABRICATED_OR_UNRESOLVED), chimera citations that pair a real DOI with a fake title, author, or year (CHIMERA_MISMATCH), and formally retracted papers (RETRACTED).
Does citeguard-mcp require API keys or external Python packages?
No. The CLI and MCP server run on 100% Python standard library code with zero API keys and zero third-party Python dependencies.
Which academic registries does CiteGuard query?
CiteGuard queries five registries in real time: Crossref, DataCite (CERN Zenodo), PubMed (NCBI E-utilities), OpenAlex, and arXiv.
What is the difference between citeguard-mcp and CiteGuard Web?
CiteGuard MCP v0.2.1 is an open-source CLI and MCP server for .md, .txt, .bib, .tex, .ris, .nbib, and .enw files, while CiteGuard Web v1.1.1 adds browser drag-and-drop support for two-column .pdf, slides, .docx, and Overleaf .zip archives with 15 free references, a €7 Stripe Pass, or €15/mo Pro.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement