Inspiration

Reference managers flag a reference when that paper is retracted. They do not check what the reference itself cites. Retraction Watch, published by Crossref under CC0, lists 62,431 retracted papers with a DOI. In the 16 real reference lists we tested, 335 of the 1,194 citations to a retracted paper on a path from a listed reference were published after the retraction notice.

What it does

You give it DOIs: a pasted list, or the reference list of a paper. Each reference gets one status: Retracted, Check, Note, Not visible (Crossref has no reference list for it), Not found (Crossref has no record of the DOI), or Clear. Check and Note come with the path that caused them:

your reference -> (a paper it cites) -> retracted paper

plus the retraction date, the reasons Retraction Watch records, the notice DOI, whether the citing paper came out after the notice, and, where Semantic Scholar has it, whether the citation was for a method, a result or background.

Ranking is a fixed rule written in Cypher. A direct citation, or one made after the notice, ranks above a background citation two hops away. 60 or more is marked Check.

The demo page opens on bundled lists: the real reference lists of 17 published papers, fetched on 2026-11-20 and stored as a snapshot. Pasted lists are checked live against Crossref. The report can be downloaded as CSV.

How we built it

  • Graph model: (:Bibliography)-[:LISTS {position}]->(:Paper), (:Paper)-[:CITES {intents, influential, context}]->(:Paper), (:Paper:Retracted)-[:RETRACTED_BY]->(:Retraction {date, reasons, notice_doi}).
  • Query: MATCH p = (r)-[:CITES*1..2]->(c:Retracted)-[:RETRACTED_BY]->(x) returns the path, and the report prints it. The scoring is in the same Cypher file.
  • Single .rl file: graph/retraction-graph.rl holds all Retraction Watch retractions plus 17 reference lists and their two-hop neighbourhood: 88,295 paper nodes (62,431 retracted) and 33,009 citations, 13.4 MB after relate clone. It opens read-only from the CLI.
  • Python, embedded: the CLI pulls Crossref reference lists two layers out, writes them into Relate, adds Semantic Scholar citation intents for edges on a path, and runs the queries.
  • WebAssembly: the page runs Relate's WASM build in a worker and executes the same .cypher files. For pasted lists it matches DOIs against a 250 KB hash index of Retraction Watch instead of a 19.7 MB file (0.28 s instead of 15.6 s at 10 Mbit/s). On a 31-reference test list the page's statuses matched the CLI's.
  • MCP: relate serve --mcp stdio --database graph/retraction-graph.rl --read-only gives an agent read_cypher and get_schema; writes are refused. A recorded session is in docs/mcp-transcript.jsonl.

Two hops would also work in recursive SQL. We used Relate because the result is a path, the store is one file a co-author or editor can open, and the same file serves an agent over MCP while the same queries run in the browser.

Does a model need the graph?

Same model (Claude Opus 5.5), no tools, same reference lists. The graph's output is the reference answer, computed from Crossref and Retraction Watch, so its row is 100% by definition. The table shows how much of it the model found. Counts are listed references.

Evaluation set (16 lists):

Retracted references Cite a retracted paper (1 hop) 2 hops from one Any 1- or 2-hop exposure
Model alone 13/14 9/55 2/285 17/292 (5.8%)
Model + direct retraction lookup 14/14 15/55 7/285 26/292 (8.9%)
Reference answer (graph) 14 55 285 292 of 727

Held-out set (4 lists, run once after code freeze; small, n = 47):

Retracted references 1 hop 2 hops Any exposure
Model alone 3/3 2/10 0/44 3/47 (6.4%)
Model + direct retraction lookup 3/3 3/10 0/44 4/47 (8.5%)
Reference answer (graph) 3 10 44 47 of 175

The model named no paper as retracted that is not. To check the reference answer, we drew 5 two-hop paths at random from the 1,503 in the evaluation lists and re-checked each link against Crossref: 5 of 5 confirmed.

We did not test a model given the reference lists themselves. With those pasted in, one hop becomes a lookup a model could likely do; two hops needs the reference lists of about 1,500 cited papers per case.

Challenges

  • Crossref has reference lists only when publishers deposit them; 660 of 727 listed references in the evaluation set (91%) had one. The rest are marked Not visible.
  • Two hops from a 40-item list reach about 1,500 papers and 60,000 references. Second-hop edges are kept only when they reach a retracted paper.
  • Relate's browser build cannot open a .rl file, so the page loads an export and writes it back with the same statements the CLI uses.
  • Semantic Scholar intent data is missing for many edges, so the date comparison carries more weight in the score.

What we learned

  • Exposure is common and mostly distant: 292 of 727 references (40%) reach a retracted paper within two hops, but 55 cite one directly. Ranking matters; 65 references (9%) end up marked Check or Retracted.
  • Citing after the notice is common on these paths: 335 of 1,194 citations.
  • The model knew the well-known retractions but not the citation structure.
  • Live checks depend on Crossref's speed: a 16-DOI list took 16 s in one test and a 7-DOI list 100 to 150 s in another, so the page shows the estimated time left.

What's next

  • A submission check for editors, using the read-only MCP server.
  • PubPeer comments and expressions of concern as weaker signals.

Product capabilities, third-party tools and AI tools used

  • Relate: embedded Python client, single-file .rl store, WebAssembly build, read-only MCP server, relate clone.
  • Data: Crossref REST API, Retraction Watch database (CC0), Semantic Scholar Graph API.
  • AI: Claude (Anthropic) through Claude Code wrote most of the code and drafted the text under my direction. I chose the problem, data sources, scoring rule and evaluation, and checked the results. The model-only baseline uses the same model without tools.

Links

Built With

  • crossref
  • cypher
  • javascript
  • mcp
  • python
  • relate
  • retraction-watch
  • semantic-scholar
  • webassembly
Share this project:

Updates

Submission history