2026-11-26 15:48 UTC

Citeparse: local citation parsing and reference checks

state: seedheat: lowuncertainty: mediumrelevance: mediumcitation-verification research-toolsun-seenhedwigai

What is this?

Citeparse is an Apache-2.0 open-source tool published as un-seen/citeparse, using small hedwigai models to turn reference strings into CSL-JSON or BibTeX and check citations against scholarly indexes. Its GitHub README says parsing runs locally, with Crossref and sometimes DataCite or OpenAlex lookups for verification; a browser demo is also available. The project reports CPU performance and benchmark results, but these are author-reported evaluations, not independent validation.

Why it matters

A small local tool could make routine bibliography checks faster and easier to build into research workflows or CI, helping catch nonexistent works, bad DOIs, and mismatched metadata without sending references away for parsing. It flags rather than proves fabrication: missing index records and uncertain matches still need human review.

Current assessment

Newly surfaced as a Show HN project on 2026-11-20, citeparse offers an installable CLI and Python API, a browser demo, and a hosted MCP option for agents. The README says its local 32m and 150m models parse about 118 and 20 references per second respectively on an eight-thread CPU. In the project’s reported check test, using Crossref only and removing DOIs from 100 real references and 83 constructed fakes, 89 real items matched, 11 were left for manual checking, and 80 fakes were left not found; none of the fakes were accused as mismatches or bad DOIs. This supports cautious screening, not reliable detection of every fake. The author also reports parsing benchmarks on 700 Crossref references where citeparse-150m exceeded GROBID 0.8.1 on that set, while GROBID did better on its own held-out citations; the README notes the training-data overlap context and uses different evaluation sets. Verification depends on index coverage and access: no DOI triggers Crossref search and OpenAlex when budget permits, while hosted MCP checks require sign-in and become billed after a few free checks. These results and claims are from the project materials; the supplied search results provide no independent evaluation or adoption evidence.

Measured heat

now 0 pts/hpeak 1 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 157h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-20 03:23 (minted)⭐ origin echo-reconstructedThe repository README is the original project announcement/content found in the chain: “citeparse turns reference strings into structured re
un-seen (GitHub account; repository identifies project citeparse; no separate named author shown) on github (echo) · attributed from hn.story.50569470 · published time unknown
—
11-20 02:35first on hacker news · published · lag ?Show HN: Citeparse: parse reference lists and flag invented citations on a CPU
shkr
—
11-20 02:35amplified on hacker news 👑hn.story.50569470
shkr
peak 1 · 0 comments · 103% of case engagement
11-20 03:20our radar first saw it · lag ?discovery anchor: hn.story.50569470—
pace: p14 vs 2105 stories at the 96h mark (now 157h old) — behind adobe-max-ai-agents-creative-tools-mcp (0.5x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Citeparse: parse reference lists and flag invented citations on a CPU
Retrieved article excerpt

Open article · Retrieved 2026-11-20T03:21:38.001168+00:00

# citeparse

citeparse turns reference strings into structured records. It reads one reference per line and writes CSL-JSON or BibTeX. A small local model does the work, so nothing leaves your machine unless you ask it to check a record against Crossref.

**Try it in your browser:** [huggingface.co/spaces/hedwigai/citeparse](https://huggingface.co/spaces/hedwigai/citeparse). The model runs on the page, so nothing you paste is uploaded.

```
pip install citeparse
citeparse refs.txt            # CSL-JSON, one record per line
citeparse refs.txt --bibtex   # BibTeX
citeparse check refs.txt      # flag references that point to no real work
```

```
from citeparse import Parser

p = Parser()  # hedwigai/citeparse-32m; pass "hedwigai/citeparse-150m" for the larger model
p.parse('K. He, X. Zhang, S. Ren, and J. Sun, "Deep residual learning for image recognition," '
        'in Proc. CVPR, 2016, pp. 770-778. doi:10.1109/CVPR.2016.90')
# {'author': [{'family': 'He', 'given': 'K.'}, ...], 'title': 'Deep residual learning for image recognition',
#  'container-title': 'CVPR', 'issued': {'date-parts': [[2016]]}, 'page': '770-778', 'DOI': '10.1109/CVPR.2016.90'}
```

## Checking a reference list

`citeparse check` looks for citations that point to no real work, such as references invented by a language model. Each reference is parsed on your machine. Its DOI is then looked up on Crossref and DataCite; a reference without one is searched on Crossref, and on OpenAlex when there is budget. A match needs the title, a surname and the year to agree.

```
$ citeparse check refs.txt
  1  ok         K. He, X. Zhang, S. Ren, and J. Sun, "Deep residual learning for image recognition," in Pr
  2  NOT FOUND  Smith, J. A., & Patel, R. (2021). Recursive attention gating for low-resource legal summar
                no published work with a close title; check it by hand
  3  MISMATCH   Hinton, G. (2015). Deep residual learning for image recognition. Nature, 521, 436-444. htt
                the DOI's record has a different author: "Deep Residual Learning for Image Recognition"
  4  BAD DOI    Lee, M., & Gomez, T. (2020). Neural citation graphs for clinical trial retrieval. Bioinfor
                DOI 10.1093/bioinformatics/btz99999 is not registered
```

How well does it work? We ran it on 100 real references from the benchmark below, with their DOIs removed so that each had to be found by search, and on 83 fakes made by putting one reference's title on another's authors and year. Crossref was the only index (no OpenAlex key).

|  | Matched (ok) | Check by hand (not found) | Accused (mismatch or bad DOI) |
| --- | --- | --- | --- |
| 100 real references | 89 | 11 | 0 |
| 83 fakes | 3 | 80 | 0 |

No real reference was accused. The 11 left to check by hand are mostly old physics references with no title, an Italian law chapter, a Russian book and one reference whose title is miswritten. The script is `train/eval_check.py`.

The command exits with status 1 when a reference is a mismatch or has an unregistered DOI, so it can run in CI over a paper's bibliography. "Not found" is a prompt to look by hand, not proof of a fake: theses, reports and old books are often missing from every index. Pass `--mailto [email protected]` so Crossref can reach you, and set `OPENALEX_API_KEY` for OpenAlex, whose free budget without a key is small and shared by your network.

## Use it from an agent (MCP)

citeparse doesn't run an MCP server of its own. Agents check references through the hosted hedwigai MCP, with nothing to install:

```
claude mcp add --transport http hedwigai https://mcp.hedwigai.com
```

Any client that takes a remote MCP server works with `https://mcp.hedwigai.com`. Sign in with your email when it asks, then ask your agent to "check the references in paper.tex". It looks each entry up on Crossref and OpenAlex and flags those that point to no real work. A few checks are free; after that each check is billed to your hedwigai account.

Parsing into CSL-JSON or BibTeX stays local: use the `citeparse` command or the Python API above.

## How good is it?

We scored it on 700 real references taken from Crossref. Each one cites a DOI, so the cited work's own Crossref record is the answer key. None of these DOIs were in our training data. We gave GROBID the same DOI rule that citeparse uses, so the DOI column is equal and the rest of the gap comes from the models.

| Parser | Fields right | References fully right | Title | Container | Volume | Issue | First page | DOI |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| GROBID 0.8.1 (CRF) | 0.911 | 71.1% | 0.882 | 0.805 | 0.908 | 0.803 | 0.953 | 0.994 |
| citeparse-32m | 0.939 | 80.3% | 0.921 | 0.858 | 0.956 | 0.841 | 0.968 | 0.988 |
| citeparse-150m | **0.952** | **83.4%** | **0.934** | **0.878** | **0.966** | **0.861** | **0.982** | **0.994** |

GROBID still wins on its own held-out citations (0.943 against 0.900 for citeparse-150m and 0.882 for citeparse-32m, all on GROBID's own scorer). Those citations come from the same sources as GROBID's training data. We report both results.

"Fields right" is the share of the 3,138 fields in the set that come out exactly right. A journal also counts as right when it matches its short title.

Speed on CPU (8 threads): citeparse-32m parses about 118 references a second, and citeparse-150m about 20.

## Fields

AUTHOR, EDITOR, TITLE, CONTAINER, DATE, VOLUME, ISSUE, PAGES, PUBLISHER, LOCATION, EDITION, DOI, URL, ISBN, IDENTIFIER, NOTE. Names are split into family and given parts. DOIs are read with a regular expression, because a DOI has a fixed shape; the model's DOI span is used only when the text has no well-formed DOI.

## Models and data

- [hedwigai/citeparse-32m](https://huggingface.co/hedwigai/citeparse-32m): the default, from `jhu-clsp/ettin-encoder-32m`.
- [hedwigai/citeparse-150m](https://huggingface.co/hedwigai/citeparse-150m): from `jhu-clsp/ettin-encoder-150m`.
- [hedwigai/citeparse-wild-700](https://huggingface.co/datasets/hedwigai/citeparse-wild-700): the benchmark above.

The models were trained on GROBID's citation corpus (Apache-2.0), with its evaluation files and any reference that also appears in them removed, and on Crossref records (CC0) written out in 11 citation styles. The code to rebuild the data, train and benchmark is in `train/`.

## License

Apache-2.0 for the code and the models.
shkr10
🟧 echo.github ⭐The repository README is the original project announcement/content found in the chain: “citeparse turns reference strings into structured reun-seen (GitHub account; repository identifies project citeparse; no separate named author shown)——

Interpretation history

Decision trace