{"slug": "citeguard-zero-dependency-cli-and-mcp-server-to-audit-academic-citations", "title": "CiteGuard: Zero-dependency CLI and MCP server to audit academic citations", "summary": "CiteGuard released citeguard-mcp 0.2.1, a zero-dependency CLI and Model Context Protocol server that audits academic citations against Crossref, DataCite (CERN Zenodo), PubMed (NCBI E-utilities), OpenAlex, and arXiv in real time without API keys. The tool flags three failure modes — fabricated or unresolved DOIs, PMIDs and arXiv IDs that return 404; \"chimera\" citations pairing a real DOI with a fabricated title, author or year; and papers formally retracted in Crossref, PubMed or OpenAlex — and installs via `uvx citeguard-mcp serve`, pip, or the Docker image ghcr.io/lukecele/citeguard-mcp. It audits Markdown, LaTeX/BibTeX, Zotero .ris and PubMed .nbib files and can export clean BibTeX or RIS, with a separate browser-based CiteGuard Web offering 15 free reference checks and paid tiers at €7 and €15/month.", "body_md": "**Stop LLMs from Hallucinating Fake Papers, Chimera DOIs, and Retracted Citations.**\n\n*Zero-config Model Context Protocol (MCP) Server & CLI for Claude Code, Cursor, Windsurf, VS Code Copilot, and CI/CD pipelines.*\n\nTip\n\n🌐 **Prefer a Browser UI (no terminal needed)?** Try **[CiteGuard Web](https://lucacelebrano.me/citeguard/)** to drag-and-drop two-column `.pdf`, presentation slides, `.docx`, `.tex`, Overleaf `.zip`, and `.bib` manuscripts and export clean BibTeX + vector PDF Integrity Certificates. ([Web SaaS Repo](https://github.com/Lukecele/citeguard-web))\n\n⭐ **If CiteGuard saves you from an embarrassing hallucinated citation in a paper, grant, PR, or technical report, please consider starring this repository!**\n\nEven frontier LLMs frequently fail at scientific and technical citations in **three insidious ways**:\n\n1. ❌ **Fabricated Identifiers (`FABRICATED_OR_UNRESOLVED`)** : Inventing plausible-looking DOIs (` 10.1038/s41591-025-99999-z` ), PubMed PMIDs, or arXiv IDs that return`404` .\n2. ⚠️ **Chimera Citations (`CHIMERA_MISMATCH`)** : Grabbing a**real DOI** from a famous paper (so naive regex/HTTP checks pass!) but attaching a**completely fabricated title, wrong author, or wrong year** .\n3. 🚨 **Silent Retractions (`RETRACTED`)** : Citing papers that have been formally**retracted** in Crossref, PubMed, or OpenAlex.\n\n**`citeguard-mcp`** solves all three with **zero API keys** and **zero third-party Python dependencies** (100% Python standard library), querying **Crossref, DataCite (CERN Zenodo), PubMed (NCBI E-utilities), OpenAlex, and arXiv** in real time.\n\n```\nclaude mcp add citeguard -- uvx citeguard-mcp serve\n{\n  \"mcpServers\": {\n    \"citeguard\": {\n      \"command\": \"uvx\",\n      \"args\": [\"citeguard-mcp\", \"serve\"]\n    }\n  }\n}\n```\n\n#### Docker / GHCR (`ghcr.io/lukecele/citeguard-mcp` · Official MCP Registry `io.github.Lukecele/citeguard-mcp`)\n\n```\n{\n  \"mcpServers\": {\n    \"citeguard\": {\n      \"command\": \"docker\",\n      \"args\": [\"run\", \"-i\", \"--rm\", \"ghcr.io/lukecele/citeguard-mcp:0.2.1\"]\n    }\n  }\n}\n# Install via pip / pipx / uv (or run zero-install with: uvx citeguard-mcp --help)\npip install citeguard-mcp\n\n# 1. Audit Markdown, LaTeX + BibTeX/BibLaTeX (catching orphan \\parencite/\\cite keys), Zotero .ris, or PubMed .nbib\nciteguard audit manuscript.md --strict\nciteguard audit main.tex references.bib --strict\nciteguard audit zotero_export.ris pubmed.nbib\n\n# 2. Verify a single DOI + detect Chimera title/author/year hallucinations\nciteguard verify \"10.1038/s41586-021-03819-2\" \\\n  --title \"Highly accurate protein structure prediction with AlphaFold\" \\\n  --author \"Jumper\" --year 2021\n\n# 3. Search 100% verified literature across OpenAlex, PubMed, Crossref & arXiv\nciteguard search \"spatial transcriptomics drug resistance\" --limit 5\n\n# 4. Generate clean, deterministic BibTeX or Zotero/EndNote RIS from DOIs, PMIDs, and arXiv IDs\nciteguard bibtex 10.1038/s41586-021-03819-2 PMID:34265844 arXiv:1706.03762\nciteguard ris 10.1038/s41586-021-03819-2 PMID:34265844\n\n# 5. Check if a DOI has been retracted\nciteguard retraction \"10.1016/S0140-6736(97)11096-0\"\n```\n\n| Feature | `citeguard-mcp` (Open-Source CLI & MCP) | [**CiteGuard Web**](https://lucacelebrano.me/citeguard/) ([Repo](https://github.com/Lukecele/citeguard-web) ) | \n|---|---|---|\n| **Formats** | `.md` ,`.txt` ,`.bib` (BibTeX & BibLaTeX),`.tex` (`natbib` &`biblatex``\\parencite` /`\\textcite` /`\\cites` ),`.ris` ,`.nbib` (PubMed),`.enw` (EndNote) | All CLI formats **+ two-column `.pdf` (DOI wrap, URI links & scanned-PDF detection), presentation slides, `.docx` (tables & footnotes), Overleaf `.zip` / `.tex + .bib`** | \n| **Exports** | JSON / Terminal / GitHub Step Summary / `.bib` /`.ris` | Interactive live-progress dashboard, **Clean `.bib`** ,**Clean `.ris`** , &**Vector PDF Citation Integrity Certificate** | \n| **Setup** | `uvx citeguard-mcp serve` or`pip install citeguard-mcp` | Zero install — instant browser check (15 refs free) + Stripe Pass (€7) / Pro (€15/mo) | \n\n| Tool Name | Description | Registries Queried | \n|---|---|---|\n| **`verify_citation`** | Verifies a DOI, `PMID:xxxx` ,`arXiv:xxxx.xxxxx` , or paper title. Checks claimed title, author, and year to catch**Chimera hallucinations** and**retractions** . Returns canonical BibTeX & APA. | Crossref · DataCite/Zenodo · PubMed · OpenAlex · arXiv | \n| **`audit_document_citations`** | Scans an entire Markdown, LaTeX, BibTeX, or draft LLM response concurrently and returns a **Citation Integrity Score (0–100%)** with per-citation diagnostics. | All 5 registries (concurrent thread pool) | \n| **`search_verified_literature`** | Searches for real, peer-reviewed / preprint papers **before** the LLM writes a citation, returning verified DOIs, citation counts, open-access PDFs, and BibTeX. | OpenAlex · PubMed (NCBI) · arXiv | \n| **`generate_bibtex`** | Resolves an array of DOIs, PMIDs, and arXiv IDs into normalized `@article{...}` BibTeX blocks. | Crossref · DataCite · PubMed · arXiv | \n| **`check_retraction`** | Checks Crossref `update-to` notices and OpenAlex`is_retracted` metadata for retractions or expressions of concern. | Crossref · OpenAlex | \n\nPrevent hallucinated DOIs, chimera BibTeX/RIS entries, or orphan `\\parencite{}`/`\\cite{}` keys from ever being merged into your papers or docs (automatically posts a Markdown audit table to the GitHub Actions Step Summary):\n\n```\n- name: Audit citations with CiteGuard\n  uses: Lukecele/citeguard-mcp@v0.2.1\n  with:\n    files: main.tex references.bib\n    strict: \"true\"\ngit clone https://github.com/Lukecele/citeguard-mcp.git\ncd citeguard-mcp\npip install -e \".[dev]\"\npytest -v\n```\n\nCreated by **[Luca Celebrano](https://lucacelebrano.me)** ([@Lukecele](https://github.com/Lukecele) · Independent Researcher · ORCID [`0009-0007-0931-3555`](https://orcid.org/0009-0007-0931-3555)).\n\nArchived at CERN Zenodo under DOI **[`10.5281/zenodo.24553130`](https://doi.org/10.5281/zenodo.24553130)** (concept DOI: [` 10.5281/zenodo.24553129`](https://doi.org/10.5281/zenodo.24553129)) and indexed on **ELIXIR bio.tools** ([`biotools:citeguard-mcp`](https://bio.tools/citeguard-mcp)).\n\nReleased under the [MIT License](https://github.com/Lukecele/citeguard-mcp/blob/main/LICENSE).", "url": "https://wpnews.pro/news/citeguard-zero-dependency-cli-and-mcp-server-to-audit-academic-citations", "canonical_source": "https://github.com/Lukecele/citeguard-mcp", "published_at": "2026-12-03 08:01:56+00:00", "updated_at": "2026-12-03 08:16:51.073544+00:00", "lang": "en", "topics": ["ai-tools", "agent-protocols", "ai-agents", "developer-tools", "ai-safety"], "entities": ["CiteGuard", "citeguard-mcp", "CiteGuard Web", "Crossref", "DataCite", "PubMed", "OpenAlex", "arXiv"], "also_reported_by": [], "takeaway": "citeguard-mcp 0.2.1 verifies DOIs, PMIDs and arXiv IDs against Crossref, DataCite, PubMed, OpenAlex and arXiv with no API keys or third-party Python dependencies, catching fabricated identifiers, real-DOI/fake-metadata \"chimera\" citations, and retractions.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/citeguard-zero-dependency-cli-and-mcp-server-to-audit-academic-citations", "markdown": "https://wpnews.pro/news/citeguard-zero-dependency-cli-and-mcp-server-to-audit-academic-citations.md", "text": "https://wpnews.pro/news/citeguard-zero-dependency-cli-and-mcp-server-to-audit-academic-citations.txt", "jsonld": "https://wpnews.pro/news/citeguard-zero-dependency-cli-and-mcp-server-to-audit-academic-citations.jsonld"}}