data
OpenAlex MCP, CLI, and Lua Integration for AI Agents
OpenAlex integration docs for AI agents: MCP gateway setup, OpenAlex CLI commands, Lua API reference, credentials, and function schemas.OpenAlex for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
openalex.openalex_list_works | Read read | 0 | List, search, filter, sort, sample, or group works. |
openalex.openalex_get_work | Read read | 0 | Get one work by OpenAlex ID, DOI, PMID, or supported external ID. |
openalex.openalex_list_authors | Read read | 0 | List, search, filter, sort, sample, or group authors. |
openalex.openalex_get_author | Read read | 0 | Get one author by OpenAlex ID, ORCID, or supported external ID. |
openalex.openalex_list_sources | Read read | 0 | List, search, filter, sort, sample, or group sources. |
openalex.openalex_get_source | Read read | 0 | Get one source by OpenAlex ID, ISSN, or supported external ID. |
openalex.openalex_list_institutions | Read read | 0 | List, search, filter, sort, sample, or group institutions. |
openalex.openalex_get_institution | Read read | 0 | Get one institution by OpenAlex ID, ROR, or supported external ID. |
openalex.openalex_list_topics | Read read | 0 | List, search, filter, sort, sample, or group topics. |
openalex.openalex_get_topic | Read read | 0 | Get one topic by OpenAlex ID. |
openalex.openalex_list_domains | Read read | 0 | List, search, filter, sort, sample, or group domains. |
openalex.openalex_get_domain | Read read | 0 | Get one domain by OpenAlex ID. |
openalex.openalex_list_fields | Read read | 0 | List, search, filter, sort, sample, or group fields. |
openalex.openalex_get_field | Read read | 0 | Get one field by OpenAlex ID. |
openalex.openalex_list_subfields | Read read | 0 | List, search, filter, sort, sample, or group subfields. |
openalex.openalex_get_subfield | Read read | 0 | Get one subfield by OpenAlex ID. |
openalex.openalex_list_sdgs | Read read | 0 | List, search, filter, sort, sample, or group Sustainable Development Goals. |
openalex.openalex_get_sdg | Read read | 0 | Get one Sustainable Development Goal by OpenAlex ID. |
openalex.openalex_list_countries | Read read | 0 | List, search, filter, sort, sample, or group countries. |
openalex.openalex_get_country | Read read | 0 | Get one country by OpenAlex ID. |
openalex.openalex_list_continents | Read read | 0 | List, search, filter, sort, sample, or group continents. |
openalex.openalex_get_continent | Read read | 0 | Get one continent by OpenAlex ID. |
openalex.openalex_list_languages | Read read | 0 | List, search, filter, sort, sample, or group languages. |
openalex.openalex_get_language | Read read | 0 | Get one language by OpenAlex ID. |
openalex.openalex_list_keywords | Read read | 0 | List, search, filter, sort, sample, or group keywords. |
openalex.openalex_get_keyword | Read read | 0 | Get one keyword by OpenAlex ID. |
openalex.openalex_list_publishers | Read read | 0 | List, search, filter, sort, sample, or group publishers. |
openalex.openalex_get_publisher | Read read | 0 | Get one publisher by OpenAlex ID, Wikidata ID, or supported external ID. |
openalex.openalex_list_funders | Read read | 0 | List, search, filter, sort, sample, or group funders. |
openalex.openalex_get_funder | Read read | 0 | Get one funder by OpenAlex ID. |
openalex.openalex_list_awards | Read read | 0 | List, search, filter, sort, sample, or group awards. |
openalex.openalex_get_award | Read read | 0 | Get one award by OpenAlex ID. |
openalex.openalex_list_work_types | Read read | 0 | List OpenAlex work type enumerations. |
openalex.openalex_get_work_type | Read read | 0 | Get one work type by OpenAlex ID. |
openalex.openalex_list_source_types | Read read | 0 | List OpenAlex source type enumerations. |
openalex.openalex_get_source_type | Read read | 0 | Get one source type by OpenAlex ID. |
openalex.openalex_list_institution_types | Read read | 0 | List OpenAlex institution type enumerations. |
openalex.openalex_get_institution_type | Read read | 0 | Get one institution type by OpenAlex ID. |
openalex.openalex_list_licenses | Read read | 0 | List OpenAlex license enumerations. |
openalex.openalex_get_license | Read read | 0 | Get one license by OpenAlex ID. |
openalex.openalex_autocomplete | Read read | 0 | Search OpenAlex autocomplete suggestions for works, authors, sources, institutions, topics, keywords, publishers, or funders. |
openalex.openalex_rate_limit | Read read | 0 | Check the current OpenAlex API key rate-limit status and remaining allowance. |
openalex.openalex_list_changefiles | Read read | 0 | List available OpenAlex changefile dates. Changefile access may require a paid OpenAlex plan. |
openalex.openalex_get_changefile | Read read | 1 | Get OpenAlex changefile details and download links for a specific date. Changefile access may require a paid OpenAlex plan. |