citeguard
citeguard
Отозванные статьи цитируются годами после того, как были отозваны. Сфальсифицированная статья Эндрю Уэйкфилда 1998 года, связывающая вакцину MMR с аутизмом, — отозванная в 2010 году, — цитировалась более тысячи раз после отзыва, и исследователи, у которых не было простого способа узнать об этом. Исследование JMIR 2026 года показало, что свободно доступные AI-инструменты «не могут надёжно распознавать отозванную литературу», как раз тогда, когда AI-помощь в исследованиях и написании текстов переживает взрывной рост. citeguard закрывает этот пробел: проверьте цитату по Crossref — бесплатно, без ключа API, — прежде чем она попадёт в статью, обзор или рецензию.
Три интерфейса, один проверенный алгоритм выявления:
Интерфейс | Назначение | Расположение |
Библиотека Python + CLI | академические авторы, скрипты | |
MCP сервер | AI-агенты, занимающиеся исследованиями и написанием | |
GitHub Action | CI в репозитории лаборатории или журнала |
Почему это построено именно так
Логика выявления не угадана из документации — она построена на обращениях к реальному API Crossref, на изучении фактической структуре ответов и на тестах, опирающихся на сохранённые реальные ответы (зафиксированные в tests/fixtures/, общих для Python- и TypeScript-реализаций). Две реальные статьи задают эталонную основу:
Wakefield et al., 1998, The Lancet (сообщения о связи между MMR и аутизмом): в метаданных самого издателя в Crossref нет структурированных данных об отзыве — одна только проверка
update-toпропустила бы это молча. Сигнал на самом деле несёт отдельное полеupdated-by, куда Crossref добавил задним числом сведения об отзыве (и более ранней правке 2004 года) из базы данных Retraction Watch. Упустить это поле означало бы упустить самую известную отозванную статью в медицине.[Mehra et al., 2020, The Lancet](https://doi.org/10.1016/S0140-6736(20\\\\)31180-6) (статья о COVID/гидроксихлорохине, связанная с Surgisphere): здесь издатель сам прикрепил структурированные данные напрямую, через
update-to. Другое поле, другое происхождение — под этими данными лежит тот же факт.Watson & Crick, 1953, Nature служит чистым контролем в каждом тестовом наборе — статья, которая определённо реальна и точно не отозвана, и которая никогда не должна быть помечена.
Итак, проверяющий модуль смотрит на три независимых сигнала в таком порядке: update-to (указывается издателем), updated-by (часто поступает из Retraction Watch, отражая то, что издатели пропускают), и запасной вариант по префиксу заголовка (например, «RETRACTED:», «WITHDRAWN:») для старых или несвязанных случаев, где структурированных метаданных нет ни в одном поле. Каждый сигнал привязан нужной степени серьёзности: заголовок с «Expression of Concern:» — это не то же самое, что отзыв, и то, что более ранние версии кода стирал это различие, само по себе было ошибкой, которую выявили тесты на реальных заголовках, а не только на синтетических. Полностью комментированная реализация — в src/citeguard/analyze.py.
Related MCP server: CiteStamp MCP server
Быстрый старт
CLI:
pip install -e .
citeguard doi 10.1016/S0140-6736(97)11096-0
citeguard file references.bib --fail-on retracted # for CI, see belowMCP server (добавьте в конфигурацию вашего клиента, например .mcp.json):
{ "mcpServers": { "citeguard": { "command": "node", "args": ["/path/to/citeguard/mcp-server/dist/index.js"] } } }GitHub Action (в workflow в другом репозитории):
- uses: wedo911/citeguard@main
with:
path: references.bib
fail-on: concern # never | retracted | concern | correctedЧто это не такое
Не является доказательством того, что содержание статьи корректно. Проверяется только статус отзыва, а не то, устоят не ли результата неотозванной статьи.
Не исчерпывающая. Эвристика по префиксу в заго ловне расп узнаёт только те издательские условности, которыми протестирован; о результат означает «известный сигнал сигнал не найден», а не «гарантированно никогда не отзывавн».
Не инструмент массового скрайпинга. О построен для размера реальной библиографии (десятков citations), with small fixed delay between Crossref requests and optional persistent cache (
src/citeguard/ca.py) — вежливое отношение к бесплатному публичному API, not a tool for scanning millions of DOIs.
Запуск тестов
# Python (55 tests, including against the real fixtures above)
pip install -e ".[dev]" && pytest -v
# MCP server (17 tests against the same real fixtures)
cd mcp-server && npm install && npm run build && npm testОба набора тестов работы и де отделённые(sets) — они работают на закоммитченных реальных API-ответов, а не на живых вызовах, так, поэтому ва они быстрые и не зависят от досту nested by Crossref. Живое сквозное поведение — сам CLI, сам инструмент, реальный API-nic — было отдельно и вручную проверено during development; GOST; GitHub Action также имеет own CI-задака́not чтобы constantly проводить реal API но и на оси оци images etc.,
Вклад
Новые типы сигналов, дополнительные издательски условияй заголовках and ложнопол даетются. Если вы добавляете пример, предпочтительнее его как реальную, цитирующую фиксированную Crossref, а не синтетик, hue evolve em em pamer... Catch these errors: Thus the جمله التصويت interviewing نحن في الكاميرونيّة، وâا، Mahmoud – reconstructions referencing scrambling HTTP-btn. For this, decrement due—volt to ставку "inclusion". Provide raw outputs gener. /From git/Git commit e/script 누락.
Prefer adding a case as a real, cited Crossref fixture over a synthetic one where possible—that's what caught the two real bugs. This project's own test suite found during development (a URL-encoding bug in the DOI request path, and a BibTeX parser that could swallow an adjacent entry when parsing a malformed @comment block).
License
MIT — see LICENSE.
Available Tools
2 toolscheck_citationCheck a Citation for RetractionARead-onlyIdempotent
Check a single DOI against Crossref for retraction, correction, or expression-of-concern status. Use this before citing a paper in a document, summary, or literature review -- retracted papers (including fraudulent or debunked ones) continue to be cited for years after retraction, often because whoever is citing them has no easy way to check. This tool checks three independent signal sources: publisher-asserted updates, Crossref's ingested Retraction Watch data (which catches many retractions the publisher's own metadata misses), and a title-prefix fallback ("RETRACTED:", etc.) for older or unlinked cases.
Args:
doi (string): a DOI, with or without a "https://doi.org/" prefix.
Returns: For JSON format: { "doi": string, "verdict": "retracted" | "concern" | "corrected" | "clean" | "not_found" | "error", "title": string | null, "signals": [ { "type": string, "source": string, "label": string | null, "noticeDoi": string | null, "date": string | null } ], "error": string | null }
Examples:
Use when: about to cite a paper in a summary, report, or literature review -- check it first
Use when: reviewing someone else's bibliography for outdated or unreliable sources
Don't use when: you need to verify a claim's accuracy generally -- this only checks retraction status, not whether the paper's content is correct
Error Handling:
A DOI Crossref doesn't recognize returns verdict "not_found", not an error -- it may still be a real paper Crossref just doesn't index (e.g. some preprints), not necessarily an invalid citation.
Inputs: doi (required).
check_citationsCheck All Citations in a Block of TextARead-onlyIdempotent
Extract every DOI found in a block of text (a reference list, a paper draft, an exported bibliography) and check each one for retraction/correction/expression-of-concern status via Crossref. Use this to sanity-check a whole reference list at once before finalizing a document, rather than checking citations one at a time.
Finds DOIs in any form: bare ("10.1016/S0140-6736(97)11096-0"), as a doi.org URL, or embedded in a formatted citation. Up to 50 unique DOIs are checked per call; if more are found, only the first 50 (in order of first appearance) are checked and the response says so.
Args:
text (string, 1-200000 chars): the text to scan.
Returns: For JSON format: { "totalFound": number, "checked": number, "truncated": boolean, "results": [ { "doi": string, "verdict": string, "title": string|null, "signals": [...], "error": string|null } ] }
Examples:
Use when: finishing a literature review or research summary -- paste the whole reference list to check it in one call
Don't use when: checking just one citation you already have the DOI for -- use check_citation instead, it's simpler
Error Handling:
Returns an error if text is empty or exceeds 200000 characters. Text with no DOI-shaped substrings returns totalFound: 0, not an error.
Inputs: text (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
check_citations (bulk scan of text) and check_citation (single DOI) have overlapping purposes, and the near-identical singular/plural names invite misselection. However, each description explicitly cross-references the other with 'use X instead' guidance, so an agent can reliably choose the right one.
Both tools use consistent snake_case with a clear verb_noun shape, and the singular/plural convention neatly signals single vs. bulk behavior. The only downside is that the two names differ by a single character, which is a mild collision risk.
Two tools is on the thin side, but the domain (checking retraction status of DOIs) is genuinely narrow and the single/bulk split is the one meaningful axis of variation. Nothing feels gratuitous, though a third tool would be hard to justify.
The surface covers the core lifecycle: check one DOI, check many DOIs in a block of text, with defined verdicts and error handling. A minor gap is the absence of any way to resolve a citation lacking a DOI (e.g. by title/author) into a checkable identifier.
Maintenance
Related MCP Connectors
Citation and retraction checker for AI agents. Give it DOIs, PubMed or arXiv ids and it says whether each paper exists and whether it was retracted, withdrawn or corrected, using Crossref and Retraction Watch. It also searches publisher articles and open research papers, shows the x402 price in USDC an agent pays to read or cite each one, and traces a passage to the page it was copied from. Free, read-only, no account.
Check citations and retractions by DOI, and see the x402 price an AI agent pays to cite a source.
Check AI references against Crossref and DataCite. DOI/arXiv metadata checks, plus tool discovery.
Catch AI-fabricated citations (real DOI + fake title). Retraction, open-access, 10,000+ CSL styles.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceVerifies citations in reference lists by checking DOIs against public registries to catch AI-hallucinated or mismatched citations.MIT

CiteStamp MCP serverofficial
AlicenseNot gradedqualityBmaintenanceCheck that a reference resolves; see what supports, refutes or cites a paper. CC0 graph, read-only.MIT- AlicenseAqualityCmaintenanceProvides MCP tools to check reference lists for retracted or problematic citations, retrieve nuanced editorial statuses with evidence, and monitor institutions for newly flagged papers using open data from OpenAlex, Retraction Watch, and Crossref.3MIT
- AlicenseAqualityBmaintenanceEnables verifying citations in reference lists and BibTeX by detecting fabricated or mismatched references and retractions, and returning corrected BibTeX.31MIT