Country.io · Capability

Country.io Data API — ISO3

Country.io Data API — ISO3. 1 operations. Lead operation: Get ISO 3166-1 alpha-3 codes keyed by ISO2 code. Self-contained Naftiko capability covering one Country Io business surface.

Run with Naftiko Country IoISO3

What You Can Do

GET
Getiso3 — Get ISO 3166-1 alpha-3 codes keyed by ISO2 code
/v1/iso3-json

MCP Tools

get-iso-3166-1-alpha

Get ISO 3166-1 alpha-3 codes keyed by ISO2 code

read-only idempotent

Capability Spec

data-iso3.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Country.io Data API — ISO3
  description: 'Country.io Data API — ISO3. 1 operations. Lead operation: Get ISO 3166-1 alpha-3 codes keyed by ISO2 code.
    Self-contained Naftiko capability covering one Country Io business surface.'
  tags:
  - Country Io
  - ISO3
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    COUNTRY_IO_API_KEY: COUNTRY_IO_API_KEY
capability:
  consumes:
  - type: http
    namespace: data-iso3
    baseUri: https://country.io
    description: Country.io Data API — ISO3 business capability. Self-contained, no shared references.
    resources:
    - name: iso3.json
      path: /iso3.json
      operations:
      - name: getiso3
        method: GET
        description: Get ISO 3166-1 alpha-3 codes keyed by ISO2 code
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: data-iso3-rest
    port: 8080
    description: REST adapter for Country.io Data API — ISO3. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/iso3-json
      name: iso3-json
      description: REST surface for iso3.json.
      operations:
      - method: GET
        name: getiso3
        description: Get ISO 3166-1 alpha-3 codes keyed by ISO2 code
        call: data-iso3.getiso3
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: data-iso3-mcp
    port: 9090
    transport: http
    description: MCP adapter for Country.io Data API — ISO3. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-iso-3166-1-alpha
      description: Get ISO 3166-1 alpha-3 codes keyed by ISO2 code
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-iso3.getiso3
      outputParameters:
      - type: object
        mapping: $.