{"data":{"name":"io.github.cyanheads/openalex-mcp-server","title":null,"description":"Access the OpenAlex academic research catalog — 270M+ publications.","version":"0.9.0","websiteUrl":null,"repositoryUrl":"https://github.com/cyanheads/openalex-mcp-server","remotes":[{"url":"https://openalex.caseyjhand.com/mcp","type":"streamable-http"}],"packages":[{"version":"0.9.0","identifier":"@cyanheads/openalex-mcp-server","runtimeHint":"stdio","registryType":"npm","runtimeArguments":null,"environmentVariables":null},{"version":"0.9.0","identifier":"@cyanheads/openalex-mcp-server","runtimeHint":"streamable-http","registryType":"npm","runtimeArguments":null,"environmentVariables":null}],"status":"active","isLatest":true,"publishedAt":"2026-10-18T13:24:39.691Z","updatedAt":"2026-10-18T13:24:39.691Z","source":"official-registry","verification":"official","confidence":100,"stars":null,"sources":[{"stars":null,"title":null,"source":"official-registry","sourceId":"io.github.cyanheads/openalex-mcp-server","updatedAt":"2026-10-18T13:24:39.691Z","confidence":100,"websiteUrl":null,"description":"Access the OpenAlex academic research catalog — 270M+ publications.","verification":"official","repositoryUrl":"https://github.com/cyanheads/openalex-mcp-server"}],"toolIndex":{"tools":[{"serverName":"io.github.cyanheads/openalex-mcp-server","endpointFingerprint":"80efaa92ced5359e5a10fe20cc49d73431938e50dd885f60732d553830b332f8","name":"openalex_analyze_trends","title":"Openalex Analyze Trends","description":"Aggregate OpenAlex entities into groups and count them. Use for trend analysis (group works by publication_year), distribution analysis (group by oa_status, type, country), and comparative analysis (group by institution or topic). Combine with filters to scope the analysis. Returns up to 200 groups per page — use order \"key\" and cursor pagination for fields with many distinct values. OpenAlex can wrap a key-ordered walk to earlier groups. Stop when a page's first key repeats an earlier key, or when a page is short or empty.","inputSchema":{"type":"object","properties":{"entity_type":{"type":"string","enum":["works","authors","sources","institutions","topics","keywords","publishers","funders","awards"],"description":"Entity type to aggregate."},"group_by":{"type":"string","minLength":1,"description":"Field to group by. Works examples: \"publication_year\", \"type\", \"oa_status\", \"primary_topic.field.id\", \"authorships.institutions.country_code\", \"is_retracted\". The native \":include_unknown\" suffix also enables include_unknown, even when the boolean is false; passing both adds the suffix once. OpenAlex builds authorships.countries groups from only the first 100 authorships of each work; authorships.institutions.country_code counts every authorship. Authors: \"last_known_institutions.country_code\", \"has_orcid\". Sources: \"type\", \"is_oa\", \"country_code\". Awards: \"start_year\", \"funder.id\", \"funding_type\" — groups count awards and do not sum amount_usd. Not all fields support group_by — call openalex_describe_fields(entity_type, \"group_by\") for the groupable set."},"filters":{"description":"Filter record object, using the same value syntax as openalex_search_entities; native string input is unavailable here. Narrows the population before aggregation. On numeric fields, `>=N`, `<=N`, `a..b`, `a..`, and `..b` are inclusive ranges, sent as OpenAlex's hyphen ranges (`N-`, `-N`, `a-b`); a negative bound, a reversed range, or a `!` before a comparison or an open range is rejected. Boolean values, non-negative numbers, nested objects (`{\"authorships\":{\"author\":{\"id\":\"A1\"}}}` reads as `authorships.author.id`), and a key wrapped in quotes are read as string values under dotted keys and disclosed in `notice`, except that a non-negative whole number at the top level is sent as its decimal text without a notice. null, arrays, empty objects, negative or exponent numbers, and two keys naming one field are rejected. Country fields take ISO 3166-1 alpha-2 codes (\"DE\") and `language` takes ISO 639-1 codes (\"en\"); alpha-3, numeric, ISO 639-2, and English-name forms are converted — a multi-word name is one value, so \"South Korea|Japan\" ORs two countries — and a value that cannot be a country code is rejected. A multi-word value on a field matched as whole text (display_name, awards.funder_display_name, geo.city, raw_affiliation_strings) matches as one phrase (\"National Science Foundation\"; a comma, as in \"University of California, Berkeley\", is part of it, and it cannot contain a double quote of its own), \"!\" and \"|\" included, but cannot be ANDed with \"+\" in the same field. A value sent unquoted must have paired double quotes; balanced search phrases remain valid. A value mixing \"|\" with an AND operator — a \"+\", or a space on a field where words mean AND — is rejected, since OpenAlex drops every \"|\" alternative that ANDs more than one value; put the AND in a second key instead. For full-text within filters, use abstract.search, title.search, or default.search — there is no bare 'search' filter key. Example: group works by year filtered to a specific topic.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"include_unknown":{"default":false,"description":"Add a group for entities with no value for the grouped field. Hidden by default unless group_by has the native \":include_unknown\" suffix, which enables this setting even when the boolean is false; passing both adds the suffix once. That group carries `is_unknown: true`; OpenAlex keys it -111 or -111.0 on numeric fields, \"unknown\" on text fields and under order \"key\", and an ID ending in /unknown on ID fields — a sentinel, not a measured value. The key is not a filter value: passing -111 as a filter matches a numeric range, not the entities with no value. Boolean fields have no separate group — a missing value counts as false.","type":"boolean"},"per_page":{"default":200,"description":"Maximum groups per page. Default 200 (the upstream cap); positive integers above 200 clamp to 200 with a notice unless OPENALEX_CLAMP_PER_PAGE=false restores rejection. A real top-N knob in count order without a cursor (the default) — reduce to return only the highest-count groups.","type":"integer","minimum":1},"order":{"description":"Sort order for groups. Without a cursor, omit or pass \"count\" (default) to return the top-N groups by count descending — no further pages. Pass \"key\" to enumerate distinct values in key-ascending order with cursor pagination. Boolean fields keep count order even with \"key\" and do not support cursor pagination. A supplied cursor selects key order even if order is omitted or \"count\". OpenAlex can wrap a key-ordered walk to earlier groups. Stop when a page's first key repeats an earlier key, or when a page is short or empty.","type":"string","enum":["count","key"]},"cursor":{"description":"Pagination cursor from a previous response. A supplied cursor selects key order even if order is omitted or \"count\". Pass the next_cursor from the previous response to advance, subject to the stop conditions below. Omit it on the first call — an empty string is rejected, since a supplied-but-blank cursor is a caller mistake rather than a request for the first page. OpenAlex can wrap a key-ordered walk to earlier groups. Stop when a page's first key repeats an earlier key, or when a page is short or empty.","type":"string","minLength":1}},"required":["entity_type","group_by"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true},"definitionHash":"f060f7f8cfbb0376194fb487d18b3496692a67c7050fc6095ccf0e48fb6e97fe","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:03.978Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/openalex-mcp-server","endpointFingerprint":"80efaa92ced5359e5a10fe20cc49d73431938e50dd885f60732d553830b332f8","name":"openalex_describe_fields","title":"Openalex Describe Fields","description":"List valid field names for an OpenAlex entity type and context (filter, group_by, or select). Use proactively before constructing a filter or group_by to avoid invalid-field 400 errors. Pass `query` to rank the list by name similarity — useful when you have a partial or guessed field name. Ranking never drops a field: the full list comes back either way.","inputSchema":{"type":"object","properties":{"entity_type":{"type":"string","enum":["works","authors","sources","institutions","topics","keywords","publishers","funders","awards"],"description":"OpenAlex entity type to list fields for."},"context":{"type":"string","enum":["filter","group_by","select"],"description":"Field usage context. \"filter\": fields accepted in the filter param; created_date, updated_date, and their from_/to_ forms, where listed, are ones OpenAlex serves only on a paid plan, and a filter on one fails without it. \"group_by\": fields accepted in group_by — a subset of the filter set that leaves out what OpenAlex refuses to aggregate (raw dates, *.search operators, decimal scores, display_name, external-ID fields, and fields OpenAlex looks up from a related entity, such as primary_location.source.country_code, among them). \"select\": fields accepted in select."},"query":{"description":"Optional partial or guessed field name to sort results by similarity. Pass the field you tried (e.g. \"funder\") to get the closest matches first. The complete field list is returned either way — a query reorders it, it does not filter it, so a nested value's parent object (e.g. `summary_stats` for \"h_index\") is still reachable further down.","type":"string"}},"required":["entity_type","context"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true},"definitionHash":"433d3650cb21ed76c8e21e81aede5d593783e027716aefb50723bcad7d4da3a7","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:03.978Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/openalex-mcp-server","endpointFingerprint":"80efaa92ced5359e5a10fe20cc49d73431938e50dd885f60732d553830b332f8","name":"openalex_get_citation_graph","title":"Openalex Get Citation Graph","description":"Walk the citation graph one hop from a seed work. Direction picks the edge: incoming citations (`cites`), the seed's own references (`cited_by`), or OpenAlex's algorithmically-related works (`related_to`). Note: `direction` follows OpenAlex's filter convention, which inverts the common English reading — `cites` returns works that cite the seed; `cited_by` returns works the seed cites. Results use the works schema; combine with filters/sort to narrow further. A page holds `per_page` works and `next_cursor` continues it.","inputSchema":{"type":"object","properties":{"seed_id":{"type":"string","minLength":1,"description":"Seed work identifier. Accepts OpenAlex work ID (\"W2741809807\", or its OpenAlex record-page or API URL such as \"https://openalex.org/works/W2741809807\"), DOI (\"10.1038/nature12373\" or full URL), PMID (\"12345678\" or \"https://pubmed.ncbi.nlm.nih.gov/12345678\"), PMCID (\"PMC1234567\" or a PubMed Central URL such as \"https://pmc.ncbi.nlm.nih.gov/articles/PMC1234567/\"), or arXiv ID (\"1706.03762\", \"arXiv:hep-th/9901001\", an arxiv.org URL, or its 10.48550/arXiv DOI; a version suffix is dropped and named in `notice`). Use openalex_resolve_name first if you only have a title."},"direction":{"type":"string","enum":["cites","cited_by","related_to"],"description":"\"cites\": works that cite seed_id (incoming citations). \"cited_by\": works that seed_id cites (its reference list). \"related_to\": OpenAlex algorithmically-related works (~8-30 typical, may be empty for less-cited seeds)."},"filters":{"description":"Additional filter record object to narrow the graph, using the same value syntax as openalex_search_entities; native string input is unavailable here. Example: publication_year=\">2020\", is_oa=\"true\". On numeric fields, `>=N`, `<=N`, `a..b`, `a..`, and `..b` are inclusive ranges, sent as OpenAlex's hyphen ranges (`N-`, `-N`, `a-b`); a negative bound, a reversed range, or a `!` before a comparison or an open range is rejected. Boolean values, non-negative numbers, nested objects (`{\"authorships\":{\"author\":{\"id\":\"A1\"}}}` reads as `authorships.author.id`), and a key wrapped in quotes are read as string values under dotted keys and disclosed in `notice`, except that a non-negative whole number at the top level is sent as its decimal text without a notice. null, arrays, empty objects, negative or exponent numbers, and two keys naming one field are rejected. Country fields take ISO 3166-1 alpha-2 codes (\"DE\") and `language` takes ISO 639-1 codes (\"en\"); alpha-3, numeric, ISO 639-2, and English-name forms are converted — a multi-word name is one value, so \"South Korea|Japan\" ORs two countries — and a value that cannot be a country code is rejected. A multi-word value on a field matched as whole text (display_name, awards.funder_display_name, authorships.institutions.geo.city, raw_affiliation_strings) matches as one phrase (\"National Science Foundation\"; a comma, as in \"University of California, Berkeley\", is part of it, and it cannot contain a double quote of its own), \"!\" and \"|\" included, but cannot be ANDed with \"+\" in the same field. A value sent unquoted must have paired double quotes; balanced search phrases remain valid. Filters are checked before the seed lookup. A value mixing \"|\" with an AND operator — a \"+\", or a space on a field where words mean AND — is rejected, since OpenAlex drops every \"|\" alternative that ANDs more than one value; put the AND in a second key instead. Do not include cites/cited_by/related_to, nor an alias of one such as cited_works — those keys are set by the `direction` parameter.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"sort":{"description":"Sort field. Prefix with \"-\" for descending. Comma-separate for a multi-key sort, applied left to right, with the \"-\" prefix set per key (\"-publication_year,cited_by_count\" sorts by year descending, then citations ascending). Common: \"cited_by_count\", \"-publication_date\". Default is OpenAlex relevance.","type":"string"},"select":{"description":"OpenAlex work field names to return. Always returned: id, display_name. Defaults to the curated works select if omitted. Only top-level fields project. A nested name returns the top-level object holding it, with a notice: `is_oa`, `oa_status`, `oa_url`, `any_repository_has_fulltext` → `open_access`, and any dotted name whose first segment is a top-level field (`primary_location.source.display_name` → `primary_location`, `authorships.author` → `authorships` — `author_list` is the compact form). A name holding commas is split on them (`[\"doi,title\"]`), and a comma-separated string is accepted too (`\"doi,title\"`, when OPENALEX_SELECT_STRING_INPUT is on), both disclosed in `notice`. `author_list` returns each author in authorship order as `{id, display_name, orcid}` (`orcid` null when absent), a compact alternative to `authorships`, which also carries institutions and affiliations; neither the default nor `[\"*\"]` includes it. A wide projection on a large page makes a large response, so name the fields you need.","type":"array","items":{"type":"string"}},"per_page":{"default":25,"description":"Results per page. Default 25; a larger value returns at most 100 and says so (rejected instead on a server set to OPENALEX_CLAMP_PER_PAGE=false).","type":"integer","minimum":1},"cursor":{"description":"Pagination cursor from a previous response. Pass to get the next page. Omit it on the first call — an empty string is rejected, since a supplied-but-blank cursor is a caller mistake rather than a request for the first page.","type":"string","minLength":1}},"required":["seed_id","direction"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true},"definitionHash":"0b113a50c8b2ec41dcd199c82871ecc934bd0891217561253c0c425d1602b4a4","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:03.978Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/openalex-mcp-server","endpointFingerprint":"80efaa92ced5359e5a10fe20cc49d73431938e50dd885f60732d553830b332f8","name":"openalex_resolve_name","title":"Openalex Resolve Name","description":"Resolve a name or an identifier to an OpenAlex ID. ALWAYS use this before filtering by entity — names are ambiguous, IDs are not. A name returns up to 10 autocomplete matches with disambiguation hints. An identifier — OpenAlex ID, DOI, ORCID, ROR, PMID, PMCID, ISSN, or arXiv ID, bare or in URL form — resolves directly to the record it addresses instead of running a name search. An arXiv ID resolves to its work under any entity_type, found by its arXiv landing page when OpenAlex holds no work under its arXiv DOI, one billed list request. Short names share the bare OpenAlex ID shape (keyword p53 reads as publisher ID P53), so a bare OpenAlex ID that resolves nothing is searched as a name next. Two identifiers can address more than one entity type: a ROR names an organization's institution, funder, and publisher records alike, so it returns each one that exists (institution first) unless entity_type picks one of those three; and a Crossref Funder Registry DOI (10.13039/…) resolves to the funder unless entity_type is works. An award ID (G…, bare or as an OpenAlex URL) is not looked up, since OpenAlex has no award autocomplete: it returns no matches and a notice naming the openalex_search_entities call that opens the award. Under entity_type, a bare G… is searched as a name of that type instead.","inputSchema":{"type":"object","properties":{"entity_type":{"description":"Entity type to search. Awards are not among them: OpenAlex has no award autocomplete, so search awards with openalex_search_entities. Omit for cross-entity search (useful when entity type is unknown). With an identifier `query` it narrows only an identifier that can address more than one type: a ROR to institutions, funders, or publishers (omit it to get every one of the three that exists), and a Funder Registry DOI (10.13039/…) to works instead of the funder. Every other identifier resolves as the type it belongs to, whatever this names — except under keywords, where a bare OpenAlex ID shape (\"P53\") is searched as a keyword name, since keyword IDs are slugs.","type":"string","enum":["works","authors","sources","institutions","topics","keywords","publishers","funders"]},"query":{"type":"string","minLength":1,"description":"Name or partial name to resolve. Also accepts an identifier, bare or in URL form — OpenAlex ID (\"W2741809807\", \"F4320332161\", or an OpenAlex record-page or API URL such as \"https://openalex.org/works/W2741809807\"), DOI (\"10.1038/nature12373\", or a funder's Funder Registry DOI such as \"10.13039/100000001\"), ORCID (\"0000-0002-1825-0097\"), ROR (\"https://ror.org/00hx57361\"), PMID (\"12345678\" or \"https://pubmed.ncbi.nlm.nih.gov/12345678\"), PMCID (\"PMC1234567\" or a PubMed Central URL such as \"https://pmc.ncbi.nlm.nih.gov/articles/PMC1234567/\"), ISSN (\"1234-5678\"), arXiv ID (\"1706.03762\", \"hep-th/9901001\", \"arXiv:1706.03762\", an arxiv.org /abs/ or /pdf/ URL, or its DOI \"10.48550/arXiv.1706.03762\"; a version suffix is dropped and named in `notice`, and the ID resolves to the work under any entity_type) — which resolves straight to the record it addresses, or for a ROR up to three (see entity_type), instead of running a name search. A bare OpenAlex ID that resolves nothing is then searched as a name — under entity_type when given, and not at all when filters come without entity_type — since short names share its shape (\"P53\" is a keyword); under entity_type keywords it is searched as a name from the start. A keyword URL (\"https://openalex.org/keywords/groundwater\") resolves the same way; a bare keyword slug reads as a name and runs a name search, which finds it too. An award ID (\"G417894356\", or \"https://openalex.org/awards/G417894356\") sends no request and names the openalex_search_entities call for it; with entity_type, a bare one is searched as a name of that type."},"filters":{"description":"Narrow autocomplete results with a filter record object, using the openalex_search_entities filter keys and value syntax (`year` and `cited_works` read as `publication_year` and `cites` on works); native string input is unavailable here. On numeric fields, `>=N`, `<=N`, `a..b`, `a..`, and `..b` are inclusive ranges, sent as OpenAlex's hyphen ranges (`N-`, `-N`, `a-b`); a negative bound, a reversed range, or a `!` before a comparison or an open range is rejected. Boolean values, non-negative numbers, nested objects (`{\"authorships\":{\"author\":{\"id\":\"A1\"}}}` reads as `authorships.author.id`), and a key wrapped in quotes are read as string values under dotted keys and disclosed in `notice`, except that a non-negative whole number at the top level is sent as its decimal text without a notice. null, arrays, empty objects, negative or exponent numbers, and two keys naming one field are rejected. Example: restrict to a specific country or publication year range. Country fields take ISO 3166-1 alpha-2 codes ({\"country_code\": \"DE\"} on institutions) and `language` takes ISO 639-1 codes (\"en\"); alpha-3, numeric, ISO 639-2, and English-name forms are converted — a multi-word name is one value, so \"South Korea|Japan\" ORs two countries — and a value that cannot be a country code is rejected. A multi-word value on a field matched as whole text (display_name, geo.city, geo.region, awards.funder_display_name) matches as one phrase ({\"geo.city\": \"New York\"} on institutions; a comma, as in \"University of California, Berkeley\", is part of it, and it cannot contain a double quote of its own), \"!\" and \"|\" included, but cannot be ANDed with \"+\" in the same field. A value sent unquoted must have paired double quotes; balanced search phrases remain valid. A value mixing \"|\" with an AND operator — a \"+\", or a space on a field where words mean AND — is rejected, since OpenAlex drops every \"|\" alternative that ANDs more than one value; put the AND in a second key instead. Requires entity_type — filter fields belong to one entity type, so a name search across every type takes none, and a name query passing filters without entity_type is rejected. Applies to name queries only — an identifier lookup returns the records it addresses regardless.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}}},"required":["query"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true},"definitionHash":"927e048a1291700c5f54ffafe588ae3a5b77393d7202696e83901b6f34336541","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:03.978Z","metadataTrust":"untrusted"},{"serverName":"io.github.cyanheads/openalex-mcp-server","endpointFingerprint":"80efaa92ced5359e5a10fe20cc49d73431938e50dd885f60732d553830b332f8","name":"openalex_search_entities","title":"Openalex Search Entities","description":"Search, filter, sort, or retrieve by ID. Covers all OpenAlex entity types (works, authors, sources, institutions, topics, keywords, publishers, funders, awards). Pass `id` to retrieve a single entity; on works it also takes an arXiv ID, found by its arXiv landing page when OpenAlex holds no work under its arXiv DOI, one billed list request. Otherwise, use `query` and/or `filters` for discovery. Filters take a record object; an unambiguous native string such as \"primary_location.source.issn:0920-8542\" is also accepted when enabled and disclosed in `notice`. Native clauses split on commas outside paired double quotes and the first colon; duplicate keys and bare fragments are rejected. Any filter value sent unquoted must have paired double quotes; balanced search phrases remain valid. Supports keyword search with boolean operators, exact phrase matching, AI semantic search, and seeded random samples. On works, wildcards (`*`, `?`) need search_mode \"exact\" or a `.search.exact` filter, and a `*` needs three characters before it. Use openalex_resolve_name to resolve names to IDs before filtering. Searches and ID lookups return a curated set of fields by default; pass `select` (an array, or a comma-separated string) to override with specific fields, or `[\"*\"]` for the full record. A page holds `per_page` records and `next_cursor` continues it — semantic search and a seeded `sample` continue with `page` instead; an `id` lookup returns every selected array whole, and `slice` pages one array by count.","inputSchema":{"type":"object","properties":{"entity_type":{"type":"string","enum":["works","authors","sources","institutions","topics","keywords","publishers","funders","awards"],"description":"Type of scholarly entity to search."},"id":{"description":"Retrieve a single entity by ID. Supports: OpenAlex ID (\"W2741809807\", or its OpenAlex record-page or API URL such as \"https://openalex.org/works/W2741809807\" or \"https://api.openalex.org/works/W2741809807\"), whose letter must name `entity_type` — W works, A authors, S sources, I institutions, T topics, P publishers, F funders, G awards; DOI (\"10.1038/nature12373\"; under entity_type \"funders\", a funder's Crossref Funder Registry DOI such as \"10.13039/100000001\"), ORCID (\"0000-0002-1825-0097\"), ROR (\"https://ror.org/00hx57361\" — one ROR can name an institution, a funder, and a publisher, and `entity_type` picks which), PMID (\"12345678\" or \"https://pubmed.ncbi.nlm.nih.gov/12345678\"), PMCID (\"PMC1234567\" or a PubMed Central URL such as \"https://pmc.ncbi.nlm.nih.gov/articles/PMC1234567/\"), ISSN (\"1234-5678\"). Under entity_type \"works\" an arXiv ID is also accepted (\"1706.03762\", \"hep-th/9901001\", \"arXiv:1706.03762\", an arxiv.org /abs/ or /pdf/ URL, or its DOI \"10.48550/arXiv.1706.03762\"); a version suffix is dropped and named in `notice`. Under any other entity_type the `id` is sent as written. Keywords are identified by slug rather than a native ID — pass either the slug (\"groundwater\") or the URL a search returns (\"https://openalex.org/keywords/groundwater\"). When provided, `query`, `search_mode`, `filters`, `sort`, `sample`, and `seed` are not applied — the returned record is the entity at that ID regardless of them, and the response `notice` names any you passed. `select` still applies: the curated per-entity-type default is returned unless you pass `select` (use `[\"*\"]` for the complete record). Every selected array returns whole; `slice` pages a long one by count. To filter, drop `id` and search. Use openalex_resolve_name to find the ID if unknown.","type":"string","minLength":1},"query":{"description":"Text search query. Supports boolean operators (AND, OR, NOT), quoted phrases (\"exact match\"), wildcards (machin*), fuzzy matching (machin~1), and proximity (\"climate change\"~5). On works, wildcards need search_mode \"exact\" — the default stemmed keyword search refuses `*` and `?`. A `*` needs at least three characters before it (micro*, not A*) in every mode and on every entity type. Omit for filter-only queries — an empty string is rejected, since a blank search is a mistake rather than a request for the whole catalog.","type":"string","minLength":1},"search_mode":{"default":"keyword","description":"Search strategy. \"keyword\": stemmed full-text (default). \"exact\": no stemming, matches individual words (use quoted phrases for multi-word exact match), and the mode that takes wildcards on works; on every other entity type OpenAlex runs it as the keyword search. \"semantic\": AI embedding similarity over a query-dependent candidate set whose size `meta.count` reports, at ~1 req/sec, up to 50 per page, and paginated with `page` rather than `cursor`.","type":"string","enum":["keyword","exact","semantic"]},"filters":{"description":"Filter criteria as field:value pairs. AND across fields (multiple keys). OR within field: pipe-separate (\"us|gb\"). NOT: prefix \"!\" (\"!us\"). Range: \"2020-2024\". Comparison: \">100\", \"<50\". On numeric fields, `>=N`, `<=N`, `a..b`, `a..`, and `..b` are inclusive ranges, sent as OpenAlex's hyphen ranges (`N-`, `-N`, `a-b`); a negative bound, a reversed range, or a `!` before a comparison or an open range is rejected. AND within same field: \"+\"-separate (\"us+gb\"); inside a `.search` value, a DOI, a date (a timestamp's \"+00:00\" offset), a URL field such as landing_page_url, an exactly matched name (display_name, awards.funder_display_name — \"C++\", \"Erasmus+\"), a biblio field (issue \"1+2\"), or awards.funder_award_id, \"+\" is a literal character. A value cannot mix \"|\" with an AND operator — a \"+\", or a space between values on an ID, code, or `language` key (a space inside a language name is part of the name, and a country field never reads a space as AND) — OpenAlex splits it on \"|\" first and drops every alternative that ANDs more than one value, so such a value is rejected; put the AND in a second key instead (\"institutions.country_code\": \"US\" beside \"authorships.institutions.country_code\": \"DE|FR\" on works). On a field matched as whole text (display_name, awards.funder_display_name, awards.funder_award_id, geo.city, geo.region, raw_affiliation_strings, block_key, biblio fields), a space is part of the value: \"New York\", \"!New York\", and \"New York|Boston\" match as written, but quotes around one \"|\" alternative make that alternative match nothing. A comma is part of such a value too (\"University of California, Berkeley\" on raw_affiliation_strings): a value holding one is sent as one quoted phrase, its \"+\" a literal character. A value sent as a quoted phrase cannot contain a double quote of its own. A multi-word value there cannot be ANDed with another (\"New York+Boston\" matches nothing); to require two funders or institutions, AND their IDs (awards.funder_id, authorships.institutions.id). Country fields (keys ending in country_code, country_codes, or countries) take ISO 3166-1 alpha-2 codes (\"DE\"): an alpha-3 code (\"DEU\"), numeric code (\"276\"), or English name (\"Germany\", \"South Korea\") is converted, \"UK\" becomes \"GB\", and a value that cannot be a country code is rejected. A space there is part of a name, never a separator: \"South Korea|Japan\" ORs two countries, and \"DE US\" is rejected. `language` takes ISO 639-1 codes (\"en\"): an ISO 639-2 code (\"eng\") or English name (\"English\") is converted. Two keys that resolve to the same upstream field (an alias and its canonical name, e.g. `year` and `publication_year`) are both applied and AND'd, so they narrow rather than override each other. On works, a `.search` filter that has a `.search.exact` form (abstract, default, display_name, fulltext, title, title_abstract_keywords, title_and_abstract) refuses `*` and `?`: put the wildcard in the `.search.exact` key (title.search.exact). keyword.search, raw_affiliation_strings.search, and raw_author_name.search take wildcards as written. A `*` needs three characters before it in any `.search` value. Use OpenAlex IDs (not names) for entity filters — resolve names first. Common keys: `openalex` (filter by entity ID, e.g. {\"openalex\": \"W123|W456\"}), `cites` (works citing a given work), `publication_year` (range \"2020-2024\"), `authorships.author.id`, `type`, `is_oa`. Boolean values, non-negative numbers, nested objects (`{\"authorships\":{\"author\":{\"id\":\"A1\"}}}` reads as `authorships.author.id`), and a key wrapped in quotes are read as string values under dotted keys and disclosed in `notice`, except that a non-negative whole number at the top level is sent as its decimal text without a notice. null, arrays, empty objects, negative or exponent numbers, and two keys naming one field are rejected.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"sort":{"description":"Sort field. Prefix with \"-\" for descending. Comma-separate for a multi-key sort, applied left to right, with the \"-\" prefix set per key (\"-publication_year,cited_by_count\" sorts by year descending, then citations ascending). Common: \"cited_by_count\", \"-publication_date\", \"-relevance_score\" (default when query present). Note: when combined with a keyword query, an explicit sort overrides relevance ranking entirely — top results may be highly cited but only tangentially on-topic. Use \"-relevance_score\" or omit sort to keep the most relevant results first. \"-relevance_score\" requires an active search via \"query\" or a \"filter:search\" filter — passing it without one will fail. Not combinable with `sample` — a search passing both is rejected.","type":"string"},"select":{"description":"OpenAlex top-level field names to return. Always returned: `id`, `display_name` — additional fields you list are appended. A curated default per entity type applies to both searches and single-entity (`id`) lookups; pass field names to override it, or `[\"*\"]` to retrieve the complete record (every field). Only top-level fields project. A nested name returns the top-level object holding it, with a notice: `h_index`, `i10_index`, `2yr_mean_citedness` → `summary_stats` (authors, sources, institutions, publishers, funders); on works `is_oa`, `oa_status`, `oa_url`, `any_repository_has_fulltext` → `open_access`; and any dotted name whose first segment is a top-level field (`primary_location.source.display_name` → `primary_location`, `authorships.author` → `authorships` — `author_list` is the compact form). A name holding commas is split on them (`[\"doi,title\"]`), and a comma-separated string is accepted too (`\"doi,title\"`, when OPENALEX_SELECT_STRING_INPUT is on), both disclosed in `notice`. On sources, `publisher` returns `host_organization_name`: the publisher of a journal, the hosting institution of a repository, and null on most sources. On works, `author_list` returns each author in authorship order as `{id, display_name, orcid}` (`orcid` null when absent), a compact alternative to `authorships`, which also carries institutions and affiliations; neither the default nor `[\"*\"]` includes it. Invalid field names produce an error identifying the rejected field. A wide projection on a large page makes a large response, so name the fields you need. Not applied with `slice`. Example: [\"doi\", \"author_list\", \"primary_topic\"].","type":"array","items":{"type":"string"}},"per_page":{"description":"Results per page. Default 25, or under `sample` the sample size up to 100, so a sample of 100 or fewer returns whole in one call. A larger value returns at most 100 and says so — at most 50 under search_mode \"semantic\", which OpenAlex also limits to about 1 request per second. A server set to OPENALEX_CLAMP_PER_PAGE=false rejects a value over either cap instead. An `id` lookup ignores page size.","type":"integer","minimum":1},"cursor":{"description":"Pagination cursor from a previous response. Pass to get the next page. Omit it on the first call — an empty string is rejected, since a supplied-but-blank cursor is a caller mistake rather than a request for page 1. Keyword and exact modes only — semantic search walks its candidates with `page`, and a `cursor` sent with it is rejected.","type":"string","minLength":1},"page":{"description":"Page number (1-based) for semantic search and for a seeded `sample`, the two searches that paginate with `page` instead of `cursor`. Semantic search ranks a query-dependent candidate set whose size `meta.count` reports, so the last reachable page is ceil(meta.count / per_page) — e.g. page 14 for a count of 70 with per_page=5. A sample draws min(sample, meta.count) records, so its last page is ceil(min(sample, meta.count) / per_page); paging a sample requires `seed`, and OpenAlex serves only its first 10,000 records, so a page × per_page above 10,000 is rejected. Passing it with any other search is rejected.","type":"integer","minimum":1,"maximum":9007199254740991},"sample":{"description":"Return a random sample of this many entities matching the filters, up to 10,000; a larger value draws 10,000 and says so (rejected instead on a server set to OPENALEX_CLAMP_PER_PAGE=false). The sample comes back `per_page` records at a time — by default the whole sample up to 100 — and a larger one is walked with `page` and a `seed`, which fixes the draw; without `seed` only its first page is returned. `meta.count` stays the population matching the filters. Keyword and exact modes only: OpenAlex does not sample a semantic search, so `sample` with search_mode \"semantic\" is rejected. Cannot be combined with `cursor` or `sort` — a sample has no order, and a search passing either is rejected. Useful for unbiased exploration: spot-checking filter correctness, stratified review prompts, or generating exploration sets without bias toward most-cited.","type":"integer","minimum":1},"seed":{"description":"Deterministic seed for `sample`. Same seed + same filters = the same draw, page for page — required to walk a sample larger than one page with `page`, and worth passing whenever reproducibility matters. Has no effect without `sample`, and a search that passes it alone is rejected.","type":"string"},"slice":{"description":"Page one array of the record at `id`: returns `id`, `display_name`, and `limit` elements of `field` from `offset` — fewer only at the array end — with the window in `windows`, whose `next` call repeats `limit` from the following offset. Requires `id`; replaces `select`. An offset at or past the end returns an empty window. A 100-author list cap can be continued on the singleton; at 5,000 stored authors the byline remains possibly capped, but `next` is null once stored entries are exhausted.","type":"object","properties":{"field":{"type":"string","description":"Top-level array field to page, such as \"authorships\", \"author_list\", or \"referenced_works\". Leave it empty to skip slicing."},"offset":{"default":0,"description":"0-based index of the first element to return.","type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"default":50,"description":"Elements to return. Default 50; a larger value returns at most 5,000 and says so (rejected instead on a server set to OPENALEX_CLAMP_PER_PAGE=false).","type":"integer","minimum":1}},"required":["field"]}},"required":["entity_type"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":true},"definitionHash":"dbd19c2611fbf98decec4477d22ec8fec57185db37dee4c6d8953ce5eba81cf7","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-19T08:46:03.978Z","metadataTrust":"untrusted"}],"endpoints":[{"endpointFingerprint":"80efaa92ced5359e5a10fe20cc49d73431938e50dd885f60732d553830b332f8","protocol":"streamable-http","status":"indexed","toolCount":5,"observedAt":"2026-11-19T08:46:03.978Z"}],"authentication":"unknown"},"connectionConfigurations":{"status":"ready","authentication":"not embedded","clients":{"Claude Desktop":{"mcpServers":{"io.github.cyanheads/openalex-mcp-server":{"url":"https://openalex.caseyjhand.com/mcp"}}},"Cursor":{"mcpServers":{"io.github.cyanheads/openalex-mcp-server":{"url":"https://openalex.caseyjhand.com/mcp"}}},"VS Code":{"servers":{"io.github.cyanheads/openalex-mcp-server":{"type":"http","url":"https://openalex.caseyjhand.com/mcp"}}}}},"resourceType":"mcp-server","callable":true,"runtime":{"callable":true,"protocols":["mcp"]},"interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://openalex.caseyjhand.com/mcp"},{"protocol":"mcp","package":"@cyanheads/openalex-mcp-server","registryType":"npm","version":"0.9.0"},{"protocol":"mcp","package":"@cyanheads/openalex-mcp-server","registryType":"npm","version":"0.9.0"}],"profile":{"apiVersion":"1","schemaVersion":"1","id":"mcp-server:io.github.cyanheads%2Fopenalex-mcp-server","resourceType":"mcp-server","canonicalUrl":"https://www.agentsjunction.com/api/v1/servers/io.github.cyanheads%2Fopenalex-mcp-server","name":"io.github.cyanheads/openalex-mcp-server","description":"Access the OpenAlex academic research catalog — 270M+ publications.","interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://openalex.caseyjhand.com/mcp"},{"protocol":"mcp","package":"@cyanheads/openalex-mcp-server","registryType":"npm","version":"0.9.0"},{"protocol":"mcp","package":"@cyanheads/openalex-mcp-server","registryType":"npm","version":"0.9.0"}],"capabilities":[],"identity":{"source":"official-registry","websiteUrl":null,"repositoryUrl":"https://github.com/cyanheads/openalex-mcp-server","version":"0.9.0"},"verification":{"state":"official","confidence":100},"operations":{"resourceType":"mcp-server","name":"io.github.cyanheads/openalex-mcp-server","status":"online","lastCheckedAt":"2026-11-20T09:18:04.593Z","lastSuccessfulCheck":"2026-11-20T09:18:04.593Z","latencyMs":245,"consecutiveFailures":0,"isStale":false,"checks":{"endpointReachable":true,"protocolValid":true,"agentCardValid":null,"mcpHandshakeValid":true},"lastSeen":null,"lastSuccessfulInteraction":null,"lastHealthCheck":"2026-11-20T09:18:04.593Z","source":{"type":"health-check","url":null},"observedAt":"2026-11-20T09:18:04.593Z"},"security":null,"timestamps":{"createdAt":"2026-10-18T13:24:39.691Z","updatedAt":"2026-10-18T13:24:39.691Z","observedAt":"2026-11-20T09:18:04.593Z"},"compatibility":{"serverVersion":"0.9.0","protocolVersions":[{"protocol":"mcp","version":null}]}}}}