KosmoKrator

data

Europe PMC CLI for AI Agents

Use the Europe PMC CLI from KosmoKrator to call Europe PMC tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Europe PMC CLI Setup

Europe PMC can be configured headlessly with `kosmokrator integrations:configure europe-pmc`.

Install, configure, and verify
# 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 europe-pmc --enable --read allow --write ask --json
kosmokrator integrations:doctor europe-pmc --json
kosmokrator integrations:status --json

Credentials

Authentication type: No credentials none. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

No credentials are required.

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call europe-pmc.europe_pmc_search '{}' --json
Provider shortcut
kosmo integrations:europe-pmc europe_pmc_search '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs europe-pmc --json
kosmo integrations:docs europe-pmc.europe_pmc_search --json
kosmo integrations:schema europe-pmc.europe_pmc_search --json
kosmo integrations:search "Europe PMC" --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.

europe-pmc.europe_pmc_search

Search Europe PMC publications with GET /search.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_search '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_search '{}' --json

europe-pmc.europe_pmc_search_post

Search Europe PMC publications with POST /searchPOST for long queries.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_search_post '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_search_post '{}' --json

europe-pmc.europe_pmc_article

Get one article by source and external ID.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_article '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_article '{}' --json

europe-pmc.europe_pmc_references

List publications referenced by an article.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_references '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_references '{}' --json

europe-pmc.europe_pmc_citations

List publications citing an article.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_citations '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_citations '{}' --json

europe-pmc.europe_pmc_database_links

List biological database cross-references for an article.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_database_links '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_database_links '{}' --json

europe-pmc.europe_pmc_labs_links

List third-party external links for an article.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_labs_links '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_labs_links '{}' --json

europe-pmc.europe_pmc_data_links

Return consolidated Scholix data-literature links.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_data_links '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_data_links '{}' --json

europe-pmc.europe_pmc_evaluations

Get evaluations for an article.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_evaluations '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_evaluations '{}' --json

europe-pmc.europe_pmc_full_text_xml

Retrieve Open Access full-text XML by article ID.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_full_text_xml '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_full_text_xml '{}' --json

europe-pmc.europe_pmc_book_xml

Retrieve bookshelf XML by article ID.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_book_xml '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_book_xml '{}' --json

europe-pmc.europe_pmc_supplementary_files

Retrieve supplementary file archive for an article when available.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_supplementary_files '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_supplementary_files '{}' --json

europe-pmc.europe_pmc_fields

List indexed search fields.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_fields '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_fields '{}' --json

europe-pmc.europe_pmc_profile

Get result-count profiles by publication type and source.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_profile '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_profile '{}' --json

europe-pmc.europe_pmc_metrics

Read Europe PMC service metrics.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_metrics '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_metrics '{}' --json

europe-pmc.europe_pmc_status_update_search

Search article status updates.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_status_update_search '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_status_update_search '{}' --json

europe-pmc.europe_pmc_annotations_by_article_ids

Get annotations for one or more article IDs.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_annotations_by_article_ids '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_annotations_by_article_ids '{}' --json

europe-pmc.europe_pmc_annotations_by_entity

Find annotations tagging a specific entity.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_annotations_by_entity '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_annotations_by_entity '{}' --json

europe-pmc.europe_pmc_annotations_by_provider

Find annotations supplied by a provider.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_annotations_by_provider '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_annotations_by_provider '{}' --json

europe-pmc.europe_pmc_annotations_by_relationship

Find relationship annotations between two entities.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_annotations_by_relationship '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_annotations_by_relationship '{}' --json

europe-pmc.europe_pmc_annotations_by_section_or_type

Find annotations by article section and/or annotation type.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_annotations_by_section_or_type '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_annotations_by_section_or_type '{}' --json

europe-pmc.europe_pmc_grants_search

Search the GRIST grants database.

Read read
Parameters
none
Generic call
kosmo integrations:call europe-pmc.europe_pmc_grants_search '{}' --json
Shortcut
kosmo integrations:europe-pmc europe_pmc_grants_search '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

europe-pmc.europe_pmc_search_post 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_search_post --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_article 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_article --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_references 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_references --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_citations 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_citations --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_evaluations 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_evaluations --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_full_text_xml 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_full_text_xml --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_book_xml 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_book_xml --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_supplementary_files 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_supplementary_files --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_fields 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_fields --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_profile 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_profile --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_metrics 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_metrics --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_annotations_by_article_ids 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_annotations_by_article_ids --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_annotations_by_entity 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_annotations_by_entity --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_annotations_by_provider 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_annotations_by_provider --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_annotations_by_relationship 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_annotations_by_relationship --json
ParameterTypeRequiredDescription
No parameters.
europe-pmc.europe_pmc_annotations_by_section_or_type 0 parameters
Schema command
kosmo integrations:schema europe-pmc.europe_pmc_annotations_by_section_or_type --json
ParameterTypeRequiredDescription
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.