Searches Crossref's 188M+ DOI records (journal articles, books, chapters, conference papers) via the free public REST API. Finds works by topic/author/journal, verifies DOIs, formats citations (Chicago, APA, MLA, BibTeX, RIS), lists references/citation counts, and checks DOI registration agencies.
Ships in crossref-search. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Search the metadata that publishers deposit with Crossref when they register DOIs. No API key needed.
Crossref is the largest DOI registration agency. Its REST API (https://api.crossref.org) returns JSON for about 188 million works: journal articles, books, book chapters, reference entries, dissertations, and conference papers. Many records include an abstract, the reference list, and a citation count.
It is metadata only. It does not search full text, and it does not give access to paywalled articles.
| Task | Command |
|---|---|
| Search by topic, author, journal | search |
| Fetch one DOI | work |
| Format a citation | cite |
| Free-text reference → DOI | match |
| A work's reference list | references |
| Who registered a DOI | agency |
| Find a journal's ISSN | journals |
total is not the number of relevant resultsCrossref ranks by relevance and matches any word. "Ming dynasty examination" gives 330,847 results; Ming dynasty with facets shows Acta Physica Sinica as a top journal (the name "Ming"). Read the first pages only, and narrow with filters (--type, --from-year, --issn, --jstor).
Do not sort a loose query by is-referenced-by-count or by date: the top items will be famous papers that match one word. --author "Kwok-leong Tang" --sort is-referenced-by-count returns a New England Journal of Medicine paper first.
Field queries (--title, --author, --container, ...) must all match, so combining two gives a short, focused list: --title "civil service examinations" --author Elman → 18 results, all Elman's work on the examinations. Words are matched whole with no stemming: --title examination --author Elman misses every Elman title that says examinations. Try both forms.
--phrase keeps only items whose title contains the query as one connected phrase. 明代科舉 --phrase → 1 of 40 items.--author-match keeps only items with an author or editor whose name contains every word of --author. --author "Kwok-leong Tang" → 2 of 20 items (the others are Leong Kwok Onn, Kwok Peng Leong, ...).--rows (up to 1000) to scan more.Crossref is weak for Chinese, Japanese, and Korean terms. Expect few hits, and sometimes none.
明代科舉 also matches 新时代斗争精神 (shares 代 and 科), so total is huge and almost all loose matches.alternate_titles):
孔廟: 0 relevant in the first 1,000 of 14,123 hits. --title 孔廟: 0 in 200.文廟: 19 in the first 1,000. 孔庙: 6.문묘: only 6 hits in all (all relevant). 석전: 7 hits.title and the CJK title only in alternate_titles. So:
--title "Confucian temple" gave 20 relevant items in the first 100, many with a CJK alternate title (文庙, 문묘). Try romanized forms as well (--title Munmyo → 13 hits).alternate_titles, not only title, when you read results by eye. --phrase already checks both.search '"孔廟"'). It does phrase matching and also covers NDL, J-STAGE, and repository records.--phrase drops a related title that splits the term (科舉‧家族‧女德:明代楊文儷), so also try the words separately ("明代 科舉").Coverage: Taiwanese and Hong Kong journals often use Crossref (明代研究 via Angle Publishing, Sino-Humanitas via HKBU), and Korean journals are well covered. Most mainland Chinese DOIs are not in Crossref. CNKI and ISTIC (Wanfang) register them, and many Taiwanese DOIs are registered with Airiti. For those, work returns nothing; run agency to see who registered the DOI.
DOIs starting with 10.2307/ were assigned by JSTOR (3.3M works, including many book chapters). --jstor adds the filter prefix:10.2307, and each summary has jstor_url (https://www.jstor.org/stable/<suffix>). The DOI itself may now resolve to the publisher's site (10.2307/2057472 → Duke University Press). Crossref does not search JSTOR's full text.
cite asks Crossref to format the record in any CSL style (chicago-author-date, apa, modern-language-association, harvard-cite-them-right, ...), or as BibTeX, RIS, or CSL-JSON. The output is only as good as the deposit. CJK records often repeat the name in both given and family (劉小龍, 劉小龍) and have vol. 0. Check CJK citations before use.
--rows up to 1000. --offset works only while offset + rows ≤ 10,000.--cursor '*' and pass back next_cursor. Crossref refuses a cursor together with a date sort (published, issued, ...).[email protected] to join the polite pool. It is a contact address, not a password. The script waits 1 s (0.5 s with mailto) and retries 429, 5xx, timeouts, and dropped connections (5, 10, 20 s).export [email protected] # optional, faster
python scripts/crossref_api.py search "Ming dynasty examination" --type journal-article --from-year 2000
python scripts/crossref_api.py search --author Elman --container "Late Imperial China"
python scripts/crossref_api.py search --title "civil service examinations" --author Elman
python scripts/crossref_api.py search --author "Kwok-leong Tang" --author-match --rows 50
python scripts/crossref_api.py search 明代科舉 --phrase --rows 100
python scripts/crossref_api.py search "Wang Yangming" --jstor --facets type-name:5
python scripts/crossref_api.py search --issn 1086-3257 --author Elman # inside one journal
python scripts/crossref_api.py search "Ming" --filter has-abstract:true,has-references:true
python scripts/crossref_api.py work 10.2307/2057472
python scripts/crossref_api.py cite 10.2307/2057472 --style apa
python scripts/crossref_api.py cite 10.2307/2057472 --format bibtex
python scripts/crossref_api.py match "Elman, Political, social and cultural reproduction, JAS 1991"
python scripts/crossref_api.py references 10.1215/00219118-11591159
python scripts/crossref_api.py agency 10.13471 # a prefix or a full DOI → CNKI
python scripts/crossref_api.py journals "Late Imperial China"
from scripts.crossref_api import CrossrefAPI
cr = CrossrefAPI() # reads CROSSREF_MAILTO
res = cr.search("Ming examination", type="journal-article", from_year=1980, rows=20,
filters={"has-abstract": True}, facets="container-title:10")
for w in res["items"]:
print(w["year"], w["authors"], w["title"], w["container"], w["url"], w["jstor_url"])
cr.search(author="Elman", issn="1086-3257") # one journal
cr.search(author="Kwok-leong Tang", author_match=True, rows=100)
page = cr.search("Ming", cursor="*", rows=1000) # deep paging
page = cr.search("Ming", cursor=page["next_cursor"], rows=1000)
cr.get_work("10.2307/2057472") # None if not in Crossref
cr.match_citation("Elman 1991 civil service examinations reproduction") # candidates with score
cr.cite("10.2307/2057472", style="chicago-author-date")
cr.cite("10.2307/2057472", fmt="bibtex")
cr.references("10.1215/00219118-11591159")
cr.agency("10.13471") # 'CNKI'
cr.journals("Late Imperial China")
Each summary has doi, type, title (with subtitle), alternate_titles, authors and editors ("Family, Given"), container (journal or book), publisher, issued, year, volume, issue, page, issn, isbn, language, subjects, abstract (tags removed), cited_by (citations Crossref knows of), reference_count, url (doi.org link), jstor_url, landing_page, and score.
match, then work. The top match result is a guess. Compare title, authors, and year before using the DOI. Scores are not comparable across queries. For CJK references the top match is often a wrong work: in two tests on 2026-10-26, two Chinese journal references (何淑宜 2000, 黃進興 1993) both returned unrelated Taiwanese papers. match is also slower for long CJK strings: about 1.5–2 s per call today, and up to about 4 s per call in an earlier bulk run (English about 1 s). For a long list (2,000+ references) plan for one to two hours, and save results as you go.--type, years, --issn, or --jstor first. Then sorting by is-referenced-by-count is meaningful.--facets type-name:10,container-title:10,publisher-name:10), but remember they count the loose matches too.cited_by is Crossref's count only. It is usually lower than Google Scholar's and covers only citing works with deposited references.agency before you conclude that a DOI is wrong. For DOIs outside Crossref, agency answers from the prefix, so it shows who registers that prefix, not that this exact DOI exists. Open https://doi.org/<doi> to check that it resolves.cite into Zoteroreferences/api_reference.md — endpoints, field queries, filters, sorts, facets, record fieldsscripts/crossref_api.py — client and CLI (zero dependencies)tests/test_crossref_api.py — offline testsReport a problem. This skill is part of the public repository kltng/humanities-skills. If it fails (an API changed, a script errors, or these instructions are wrong), report it as a GitHub issue:
gh issue list --repo kltng/humanities-skills --state all --search "crossref-search"gh issue create --repo kltng/humanities-skills --label bug --title "[crossref-search] <short summary>" --body "<details>". Without gh, give the user this link: https://github.com/kltng/humanities-skills/issues/new?template=skill-problem.ymlCredit the source. The records come from the Crossref REST API (https://api.crossref.org). Crossref is a not-for-profit membership organization, and the metadata is deposited by its member publishers. Crossref asks for no fixed citation. It says almost none of the metadata is under copyright and it can be used for any purpose; abstracts are the exception and may belong to the publisher or author. Say "metadata from Crossref" in your methods or notes, and cite each work by its DOI. Crossref also asks scripts to identify themselves with a contact email (the "polite pool"); set CROSSREF_MAILTO for this.
Cite. If this skill helped work that is published, please cite it, together with the source credited above:
Tang, Kwok-leong. humanities-skills: crossref-search (version ). GitHub, . https://github.com/kltng/humanities-skills
When you help a user write up results that relied on this skill, remind them once about this citation and the credit above.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/crossref-search:crossref-searchfrom crossref-search
npx claudepluginhub kltng/humanities-skills --plugin crossref-searchOther plugins' skills for the same job