Skip to main content
Glama

Server Details

Access the OpenAlex academic research catalog — 270M+ publications.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
cyanheads/openalex-mcp-server
GitHub Stars
11
Server Listing
@cyanheads/openalex-mcp-server

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.6/5 across 5 of 5 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool has a clearly distinct purpose: search, resolve, aggregate, describe fields, and walk citations. There is minimal overlap; even though search_entities can retrieve by ID, resolve_name is specifically for resolving names to IDs, and the others are uniquely scoped.

Naming Consistency5/5

All tool names follow the exact same pattern: openalex_ + verb_noun in snake_case. The verbs (analyze, describe, get, resolve, search) are distinct and predictable, making the set feel uniform and easy to learn.

Tool Count5/5

Five tools is well within the ideal 3-15 range for a focused MCP server. Each tool addresses a core need for the OpenAlex API—discovery, resolution, aggregation, field introspection, and citation traversal—without redundancy.

Completeness5/5

The tool surface covers the primary read-only operations of the OpenAlex API: searching/filtering all entity types, retrieving by ID, resolving identifiers, aggregating for trends, exploring citations, and validating field usage. No obvious gaps prevent common scholarly workflows.

Available Tools

5 tools
openalex_describe_fieldsOpenalex Describe FieldsA
Read-onlyIdempotent
Inspect

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 narrow the results by name similarity — useful when you have a partial or guessed field name.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryNoOptional partial or guessed field name to rank results by similarity. Pass the field you tried (e.g. "funder") to get the closest matches first. Omit to return all fields for the entity_type + context.
contextYesField usage context. "filter": fields accepted in the filter param. "group_by": fields accepted in group_by — a subset of the filter set (raw date and *.search fields are excluded; they cannot be grouped). "select": fields accepted in select.
entity_typeYesOpenAlex entity type to list fields for.

Output Schema

ParametersJSON Schema
NameRequiredDescription
totalYesTotal number of valid fields for this entity_type + context.
fieldsYesValid field names, ranked by similarity to query when provided.
contextYesContext queried (filter, group_by, or select).
entity_typeYesEntity type queried.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds context beyond the readOnly/idempotent annotations: it reveals that query performs similarity-based ranking, group_by excludes raw date and *.search fields, and the tool is meant to prevent 400 errors. This enriches the agent's understanding of tool behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core purpose, and the second sentence adds parameter guidance without redundancy. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simple nature, the output schema, and the annotations, the description covers the key aspects: entity_type, context, query behavior, and the proactive use case. No significant gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema describes all three parameters, including enum constraints and detailed context descriptions. The description adds a concrete example for query ('funder') and explains the effect of omitting query, going beyond the schema's basic coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with the specific verb 'List' and names the resource ('valid field names for an OpenAlex entity type and context'), clearly differentiating it from sibling tools that analyze trends or resolve names.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly directs proactive use before constructing a filter or group_by, explains the benefit (avoiding 400 errors), and clarifies the three contexts (filter, group_by, select) plus the query narrowing feature.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openalex_get_citation_graphOpenalex Get Citation GraphA
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
sortNoSort 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.
cursorNoPagination cursor from a previous response. Pass to get the next page.
selectNoOpenAlex work field names to return. Always returned: id, display_name. Defaults to the curated works select if omitted.
filtersNoAdditional filters to narrow the graph, same syntax as openalex_search_entities. Example: publication_year=">2020", is_oa="true". Do not include cites/cited_by/related_to — those are set by the `direction` parameter.
seed_idYesSeed work identifier. Accepts OpenAlex ID ("W2741809807"), DOI ("10.1038/nature12373" or full URL), PMID, or PMCID. Use openalex_resolve_name first if you only have a title.
per_pageNoResults per page (1-100). Default 25.
directionYes"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).

Output Schema

ParametersJSON Schema
NameRequiredDescription
echoYesCompact echo of seed_id, direction, filters, sort — surfaces what was actually queried when no edges are returned.
metaYesResult metadata including pagination.
budgetNoWhat this call cost against the OpenAlex daily budget and what is left of it. Price a full walk before committing to it: `totalCount` ÷ `per_page` × `costUsd` against `remainingUsd`. Absent when OpenAlex omitted the accounting headers.
noticeNoRecovery guidance when no edges are returned — suggests verifying the seed_id, broadening filters, or trying a different direction. Absent when results are present.
resultsYesWorks on the citation graph in this direction.
totalCountYesTotal edges from seed_id in this direction across all pages.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnlyHint and idempotentHint annotations, the description discloses an important behavioral quirk: OpenAlex's filter convention inverts the common English reading (cites returns works that cite the seed, cited_by returns the seed's references). It also adds details about related_to typical result counts (~8-30, possibly empty for less-cited seeds) and the default schema, which the annotations do not convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences long and is front-loaded with the core purpose. Each sentence provides distinct value: the first defines the operation, the second explains direction conventions, and the third covers the results schema. No redundant or filler content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is complex with 7 parameters, but the description addresses all key aspects: direction semantics, seed ID resolution, pagination cursor, filtering rules, sort options, and result schema. The output schema exists, so the 'Results use the works schema' note is sufficient. The description fully enables correct invocation without requiring external knowledge.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds value by clarifying the inverted direction semantics, listing accepted seed_id formats (OpenAlex ID, DOI, PMID, PMCID), warning against including direction filters in the filters parameter, and providing common sort examples. This goes beyond the schema's field descriptions, but the schema already covers most parameter detail, so a not full 5 is warranted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Walk the citation graph one hop from a seed work.' It immediately distinguishes this tool from siblings (search, resolve, analyze) by its graph-walking behavior. The direction parameter is clearly explained with distinct semantic meaning, leaving no ambiguity about the tool's function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context on when to use each direction (cites/cited_by/related_to) and explicitly instructs users to use openalex_resolve_name when only a title is available. It also warns against including direction-specific filters. However, it doesn't explicitly contrast with sibling tools for broader use cases, slightly limiting the 'when-not-to-use' guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openalex_resolve_nameOpenalex Resolve NameA
Read-onlyIdempotent
Inspect

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, or ISSN, bare or in URL form — resolves directly to the one record it addresses, and needs no entity_type.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesName or partial name to resolve. Also accepts an identifier, bare or in URL form — OpenAlex ID ("W2741809807", "F4320332161"), DOI ("10.1038/nature12373"), ORCID ("0000-0002-1825-0097"), ROR ("https://ror.org/00hx57361"), PMID ("12345678"), PMCID ("PMC1234567"), ISSN ("1234-5678") — which resolves straight to that one record instead of running a name search.
filtersNoNarrow autocomplete results with filters. Example: restrict to a specific country or publication year range. Applies to name queries only — an identifier already addresses a single record.
entity_typeNoEntity type to search. Omit for cross-entity search (useful when entity type is unknown). Not applied when `query` is an identifier — an identifier determines its own entity type.

Output Schema

ParametersJSON Schema
NameRequiredDescription
budgetNoWhat this call cost against the OpenAlex daily budget and what is left of it. Read `remainingUsd` here to size the search or traversal this resolution feeds. Absent when OpenAlex omitted the accounting headers.
noticeNoGuidance notice. Set when nothing matched (echoes the query and suggests corrections) or when an identifier query was passed name-search parameters that do not apply to it. Absent otherwise.
resultsYesAutocomplete matches, up to 10.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, but the description adds valuable behavioral specifics: a name returns up to 10 autocomplete matches with disambiguation hints, while an identifier resolves directly to one record and needs no entity_type. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three concise sentences, front-loaded with the primary purpose, followed by critical usage distinctions. No filler or redundant terminology; every sentence provides key information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite the complexity of handling multiple identifier types and entity types, the description covers the tool's scope, behavior, and constraints adequately. The presence of an output schema reduces the burden, and the description fully complements it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, but the description enriches understanding beyond the schema by specifying that name queries yield up to 10 results and that identifiers bypass the entity_type parameter. This adds practical usage context not present in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb-resource pair: 'Resolve a name or an identifier to an OpenAlex ID.' It clearly differentiates from sibling tools like openalex_search_entities by framing this as the canonical first step before filtering, emphasizing that names are ambiguous while IDs are not.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit guidance is given: 'ALWAYS use this before filtering by entity.' It further distinguishes when to use a name (autocomplete with disambiguation hints) versus an identifier (direct resolution, no entity_type needed), giving clear contextual rules for invocation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openalex_search_entitiesOpenalex Search EntitiesA
Read-onlyIdempotent
Inspect

Search, filter, sort, or retrieve by ID. Covers all OpenAlex entity types (works, authors, sources, institutions, topics, keywords, publishers, funders). Pass id to retrieve a single entity. Otherwise, use query and/or filters for discovery. Supports keyword search with boolean operators, exact phrase matching, and AI semantic search. 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 to override with specific fields, or ["*"] for the full record.

ParametersJSON Schema
NameRequiredDescriptionDefault
idNoRetrieve a single entity by ID. Supports: OpenAlex ID ("W2741809807"), DOI ("10.1038/nature12373"), ORCID ("0000-0002-1825-0097"), ROR ("https://ror.org/00hx57361"), PMID ("12345678"), PMCID ("PMC1234567"), ISSN ("1234-5678"). 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). To filter, drop `id` and search. Use openalex_resolve_name to find the ID if unknown.
seedNoDeterministic seed for `sample`. Same seed + same filters = same results — pass when reproducibility matters. Has no effect without `sample`, and a search that passes it alone is rejected.
sortNoSort 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.
queryNoText search query. Supports boolean operators (AND, OR, NOT), quoted phrases ("exact match"), wildcards (machin*), fuzzy matching (machin~1), and proximity ("climate change"~5). Omit for filter-only queries.
cursorNoPagination cursor from a previous response. Pass to get the next page.
sampleNoReturn a random sample of this many entities matching the filters (1-100). Single page only — pagination via `cursor` is not supported with sampling. Overrides `per_page`. Useful for unbiased exploration: spot-checking filter correctness, stratified review prompts, or generating exploration sets without bias toward most-cited.
selectNoOpenAlex 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). Invalid field names produce an error identifying the rejected field. Example: ["doi", "authorships", "primary_topic"].
filtersNoFilter 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". AND within same field: "+"-separate. 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`.
per_pageNoResults per page (1-100). Default 25. Semantic search caps at 50 — when search_mode="semantic", set per_page ≤ 50 (also subject to a 1 req/sec rate limit upstream). The cap applies to searches only; an `id` lookup returns its one record regardless of both.
entity_typeYesType of scholarly entity to search.
search_modeNoSearch strategy. "keyword": stemmed full-text (default). "exact": no stemming, matches individual words (use quoted phrases for multi-word exact match). "semantic": AI embedding similarity (max 50 results, 1 req/sec).keyword

Output Schema

ParametersJSON Schema
NameRequiredDescription
echoYesCompact echo of the criteria that actually ran (entity_type, query, filters, sort, search_mode) — surfaces what was searched when results are empty. An `id` lookup echoes entity_type and id alone, because the search criteria are not applied on that path.
metaYesResult metadata including pagination.
budgetNoWhat this call cost against the OpenAlex daily budget and what is left of it. Price a full traversal before committing to it: `totalCount` ÷ `per_page` × `costUsd` against `remainingUsd`. Absent when OpenAlex omitted the accounting headers.
noticeNoGuidance notice. Set when results are empty (echoes the criteria and suggests how to broaden) or when an `id` lookup was passed search criteria it does not apply (names them). Absent otherwise.
resultsYesOpenAlex entity objects passed through unchanged. Additional fields depend on entity_type and select.
totalCountYesTotal results matching the query/filters across all pages.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses numerous behavioral traits beyond the annotations: id lookups ignore query/filters/sort/sample/seed and return a notice, `select` overrides defaults, semantic search has a 50-result cap and 1 req/sec rate limit, and sampling doesn't support cursor pagination. This is rich context that goes far beyond the readOnly/idempotent hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but front-loaded, with the first sentence stating the exact purpose. Every sentence contributes a distinct piece of information (scope, id vs query, search capabilities, resolver pointer, select behavior) with no filler, and it is appropriately sized for a tool with 11 parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema exists (covering return values), the description provides a complete high-level picture: entity coverage, lookup vs discovery, search modes, field selection, and a pointer to the resolver sibling. It covers the main use cases and leaves edge cases to the richly annotated schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and each parameter's schema description is already highly detailed, covering interactions and constraints. The top-level description adds high-level strategy (id vs query/filters) but does not compensate further since the schema fully documents parameter semantics. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific multi-verb definition ('Search, filter, sort, or retrieve by ID') that clearly identifies the tool's function and resource scope (all OpenAlex entity types). It explicitly distinguishes from sibling openalex_resolve_name by directing users to that tool for name resolution, preventing confusion.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides explicit when-to-use guidance: use `id` for direct entity retrieval, otherwise `query`/`filters` for discovery. It also states a when-not ('To filter, drop `id` and search') and names an alternative tool (openalex_resolve_name) for resolving names to IDs before filtering.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Servers

  • A
    license
    B
    quality
    F
    maintenance
    Provides access to OpenAlex's catalog of 240M+ scholarly works, enabling search and retrieval of research papers, authors, institutions, journals, concepts, and funders with advanced filtering and classification capabilities.
    11
    64
    5
    MIT
  • -
    license
    -
    quality
    -
    maintenance
    Provides access to the OpenAlex API, enabling search and retrieval of scholarly works, authors, sources, and more.

View all MCP Servers

Try in Browser

Your Connectors

Sign in to create a connector for this server.