data
Semantic Scholar CLI for AI Agents
Use the Semantic Scholar CLI from KosmoKrator to call Semantic Scholar tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.Semantic Scholar CLI Setup
Semantic Scholar can be configured headlessly with `kosmokrator integrations:configure semantic-scholar`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure semantic-scholar --set api_key="$SEMANTIC_SCHOLAR_API_KEY" --enable --read allow --write ask --json
kosmokrator integrations:doctor semantic-scholar --json
kosmokrator integrations:status --json Credentials
Authentication type: API key api_key. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
api_key | SEMANTIC_SCHOLAR_API_KEY | Secret secret | yes | API Key |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call semantic-scholar.semantic_scholar_search_papers '{}' --json kosmo integrations:semantic-scholar semantic_scholar_search_papers '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs semantic-scholar --json
kosmo integrations:docs semantic-scholar.semantic_scholar_search_papers --json
kosmo integrations:schema semantic-scholar.semantic_scholar_search_papers --json
kosmo integrations:search "Semantic Scholar" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
semantic-scholar.semantic_scholar_search_papers
Search papers by relevance.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_search_papers '{}' --json kosmo integrations:semantic-scholar semantic_scholar_search_papers '{}' --json semantic-scholar.semantic_scholar_bulk_search_papers
Bulk search papers with token paging.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_bulk_search_papers '{}' --json kosmo integrations:semantic-scholar semantic_scholar_bulk_search_papers '{}' --json semantic-scholar.semantic_scholar_title_search_papers
Search for papers by title.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_title_search_papers '{}' --json kosmo integrations:semantic-scholar semantic_scholar_title_search_papers '{}' --json semantic-scholar.semantic_scholar_autocomplete_papers
Suggest paper query completions.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_autocomplete_papers '{}' --json kosmo integrations:semantic-scholar semantic_scholar_autocomplete_papers '{}' --json semantic-scholar.semantic_scholar_get_paper
Get one paper by ID.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_get_paper '{}' --json kosmo integrations:semantic-scholar semantic_scholar_get_paper '{}' --json semantic-scholar.semantic_scholar_batch_get_papers
Get multiple papers by ID.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_batch_get_papers '{}' --json kosmo integrations:semantic-scholar semantic_scholar_batch_get_papers '{}' --json semantic-scholar.semantic_scholar_get_paper_authors
Get authors for a paper.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_get_paper_authors '{}' --json kosmo integrations:semantic-scholar semantic_scholar_get_paper_authors '{}' --json semantic-scholar.semantic_scholar_get_paper_citations
Get papers that cite a paper.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_get_paper_citations '{}' --json kosmo integrations:semantic-scholar semantic_scholar_get_paper_citations '{}' --json semantic-scholar.semantic_scholar_get_paper_references
Get papers referenced by a paper.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_get_paper_references '{}' --json kosmo integrations:semantic-scholar semantic_scholar_get_paper_references '{}' --json semantic-scholar.semantic_scholar_search_authors
Search authors by name.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_search_authors '{}' --json kosmo integrations:semantic-scholar semantic_scholar_search_authors '{}' --json semantic-scholar.semantic_scholar_get_author
Get one author by ID.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_get_author '{}' --json kosmo integrations:semantic-scholar semantic_scholar_get_author '{}' --json semantic-scholar.semantic_scholar_batch_get_authors
Get multiple authors by ID.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_batch_get_authors '{}' --json kosmo integrations:semantic-scholar semantic_scholar_batch_get_authors '{}' --json semantic-scholar.semantic_scholar_get_author_papers
Get papers by an author.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_get_author_papers '{}' --json kosmo integrations:semantic-scholar semantic_scholar_get_author_papers '{}' --json semantic-scholar.semantic_scholar_search_snippets
Search paper text snippets.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_search_snippets '{}' --json kosmo integrations:semantic-scholar semantic_scholar_search_snippets '{}' --json semantic-scholar.semantic_scholar_recommend_papers
Recommend papers from positive and negative seeds.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_recommend_papers '{}' --json kosmo integrations:semantic-scholar semantic_scholar_recommend_papers '{}' --json semantic-scholar.semantic_scholar_recommend_for_paper
Recommend papers for one paper.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_recommend_for_paper '{}' --json kosmo integrations:semantic-scholar semantic_scholar_recommend_for_paper '{}' --json semantic-scholar.semantic_scholar_list_dataset_releases
List available dataset releases.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_list_dataset_releases '{}' --json kosmo integrations:semantic-scholar semantic_scholar_list_dataset_releases '{}' --json semantic-scholar.semantic_scholar_get_dataset_release
List datasets in a release.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_get_dataset_release '{}' --json kosmo integrations:semantic-scholar semantic_scholar_get_dataset_release '{}' --json semantic-scholar.semantic_scholar_get_dataset
Get dataset download links.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_get_dataset '{}' --json kosmo integrations:semantic-scholar semantic_scholar_get_dataset '{}' --json semantic-scholar.semantic_scholar_get_dataset_diffs
Get incremental diff download links.
read - Parameters
- none
kosmo integrations:call semantic-scholar.semantic_scholar_get_dataset_diffs '{}' --json kosmo integrations:semantic-scholar semantic_scholar_get_dataset_diffs '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
semantic-scholar.semantic_scholar_search_papers 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_search_papers --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_bulk_search_papers 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_bulk_search_papers --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_title_search_papers 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_title_search_papers --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_autocomplete_papers 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_autocomplete_papers --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_get_paper 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_get_paper --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_batch_get_papers 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_batch_get_papers --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_get_paper_authors 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_get_paper_authors --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_get_paper_citations 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_get_paper_citations --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_get_paper_references 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_get_paper_references --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_search_authors 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_search_authors --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_get_author 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_get_author --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_batch_get_authors 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_batch_get_authors --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_get_author_papers 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_get_author_papers --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_search_snippets 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_search_snippets --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_recommend_papers 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_recommend_papers --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_recommend_for_paper 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_recommend_for_paper --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_list_dataset_releases 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_list_dataset_releases --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_get_dataset_release 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_get_dataset_release --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_get_dataset 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_get_dataset --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
semantic-scholar.semantic_scholar_get_dataset_diffs 0 parameters
kosmo integrations:schema semantic-scholar.semantic_scholar_get_dataset_diffs --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.