/openalex-mcp-server:openalex-guidefrom openalex-mcp-server
Guides use of OpenAlex scholarly metadata tools: identifier chains, filter keys (topic vs text, institution lineage, venue, funders), group_by interpretation, and author disambiguation. For literature, citation, bibliometric, and research-funding queries.
Ships in openalex-mcp-server. 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.
None: SKILL.md is the whole skill.
OpenAlex is a CC0 catalog of scholarly metadata: works, authors, sources (journals, repositories, conferences), institutions, topics, keywords, publishers, funders, and awards (grants). Reach for it to find literature and to count it: who published what, where, with whom, funded by whom, and who cites it.
Not here: article full text (a work carries an abstract when OpenAlex has one, and a readable copy's link in best_oa_location), trial registries, MeSH indexing, and other databases' citation counts. cited_by_count and every count here are OpenAlex's own tallies; cite them as such. Concept IDs (C…) are retired; topics replace them.
| ID | Entity | Where it comes from |
|---|---|---|
W… | work | search results, the citation graph, openalex_resolve_name on a title, DOI, PMID, PMCID, or arXiv ID (id on openalex_search_entities takes the identifiers directly) |
A… | author | openalex_resolve_name on a name or ORCID; a work's author_list or authorships |
S… | source | openalex_resolve_name on a name or ISSN; a work's primary_location.source |
I… | institution | openalex_resolve_name on a name or ROR; a work's authorships |
T… | topic | openalex_resolve_name with entity_type topics; a work's primary_topic |
| field, subfield, domain | topic hierarchy | a topic record's field, subfield, domain; filter with the trailing number (primary_topic.field.id: "13") |
| slug | keyword | openalex_resolve_name with entity_type keywords; keyword IDs are slugs (groundwater), never K… |
P… | publisher | openalex_resolve_name; a journal's host_organization (a repository's names its host institution instead) |
F… | funder | openalex_resolve_name on a name, ROR, or Funder Registry DOI; a work's funders |
G… | award | no name lookup: openalex_search_entities on entity_type awards (query, or the funder_award_id filter); a work's awards |
Each pair returns a different population. Choose deliberately, and name the key in the answer.
primary_topic.id holds works whose main topic is T; topics.id holds works carrying T among any of their topics, a much larger set. query also matches full text where OpenAlex holds it, so it returns works that only mention a phrase; the title_and_abstract.search filter keeps to works about it. On works, a wildcard needs search_mode: "exact" or a .search.exact key.authorships.institutions.id counts that exact institution; authorships.institutions.lineage adds its child institutions (affiliated hospitals, institutes). Rankings shift between the two.primary_location.source.id is where a work was published. locations.source.id matches any copy, so a repository or preprint server counts every deposited version: arXiv holds more than twice as many works by locations as by primary_location.funders.id holds works that acknowledge a funder, and awards.funder_id the smaller set matched to one of its specific grants. The awards entity holds the grants themselves, with amounts, dates, and investigators. An agency and its sub-agencies are separate funders (NIH and each of its institutes has its own F… ID, and a work often lists both): OR the IDs when the question means the whole agency.meta.countgroup_by ends in :include_unknown, so the sum can also fall short. Compute shares with meta.count as the denominator, never the group sum. Single-valued fields (publication_year, type, oa_status) partition the total.openalex_resolve_name takes the ORCID directly, and the works filter authorships.author.orcid takes it without an author ID.filters on entity_type authors, last_known_institutions.id or affiliations.institution.id (any past affiliation), before choosing.display_name first. Choose by the hint (last institution), works_count, and topics, then confirm on one paper you know is theirs: their A… ID must appear in its author_list.A… ID in authorships.author.id; never add an unconfirmed namesake.A seed reproduces a draw from the same filters, but OpenAlex updates its catalog continuously. Keep the drawn IDs, and record the seed, the exact filters, and the retrieval date with them. For a stratified sample, draw one seeded sample per stratum filter, sized from that stratum's analyze_trends count.
T… (or take a field or subfield ID from its record for a broader cut).openalex_analyze_trends on works, group_by authorships.institutions.id (or .lineage), filtered by the topic and a publication_year range (2020-2024, or 2020..2024): the ranking.publication_year with the institution ID added to the same filters: its trend.openalex_analyze_trends call on works with the cites filter set to the W… ID, grouped by the field you want. It costs far less than paging the graph.openalex_get_citation_graph direction cites, sorted -cited_by_count, lists the citing works themselves; take venue from primary_location.source.openalex_analyze_trends on works, group_by funders.id, filtered by the topic.awards.id, which ranks grants by how many of those works each funded. Few awards carry a topic classification of their own, so an awards search filtered by topic is a lower bound, not the topic's grants. A work's awards field names its G… IDs; works filtered by awards.id are one grant's outputs.funder_award_id can sit on award records of different funders. Narrow with the funder.id filter before treating a record as the grant.amount_usd is converted from amount and currency; many awards carry none, and some carry 0 or a negative value. Page the awards, sum amount_usd, and report how many awards the sum covers. Never present it as the full amount.What SKILL.md sets; muted values are Claude Code's defaults
openalex-mcp-server@cyanheads is listed by cyanheads/cyanheads — review the source before installing
npx claudepluginhub cyanheads/cyanheads --plugin openalex-mcp-serverOther plugins' skills for the same job