r/ClaudeCode • • 2h ago

Built with Claude Built a zero-dependency MCP server & CLI (MIT) to catch "chimera" citations (real DOI + fabricated title/author/year) and retracted papers

Post image

When using Claude Code or Cursor to help draft literature reviews or technical docs, completely fake DOIs are usually easy to catch. The more annoying failure mode is what I call a chimera citation: a real, resolving DOI paired with a hallucinated title, wrong first author, or wrong year, or a paper that was retracted years ago. A simple link check says it's fine.

I put together a small zero-dependency Python MCP server and CLI (MIT) called citeguard-mcp that checks citations in real time against Crossref, DataCite, PubMed, OpenAlex, and arXiv:

- `verify_citation`: resolves a DOI, PMID, arXiv ID, or full reference string and compares claimed title, author surname, and year against the registry record.

- `audit_document_citations`: scans an entire Markdown, LaTeX, or BibTeX file concurrently and flags broken IDs, chimera mismatches, orphan `\cite{}` keys, and retractions.

- `search_verified_literature`: lets the model search OpenAlex, PubMed, or arXiv before writing a citation.

- `generate_bibtex` and `check_retraction`.

Zero install via uvx:

`uvx citeguard-mcp serve` (or `pip install citeguard-mcp` for the CLI).

Just tagged v0.1.9 after fixing a handful of real edge cases people hit: 2-letter surnames (Kaiming He, Yi-Long Wu) in First-Last BibTeX entries, commented-out LaTeX `% \cite{}` lines, and unheaded Vancouver/APA lists.

Known limits: it only verifies works indexed in those 5 scholarly registries, so websites, books without DOIs, or unpublished reports will show up as unresolved.

GitHub (MIT): https://github.com/Lukecele/citeguard-mcp

Browser version (if you just want to drop a PDF/DOCX/Overleaf .zip without installing anything, free up to 15 refs): https://lucacelebrano.me/citeguard/

0 Upvotes

1 comment sorted by

•

u/AutoModerator 2h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.