DMI Open Data API — climateData

DMI Open Data API — climateData. 1 operations. Lead operation: List climate station values. Self-contained Naftiko capability covering one Danish Meteorological Institutes business surface.

Run with Naftiko Danish Meteorological InstitutesclimateData

What You Can Do

GET
Listclimatestationvalues — List climate station values
/v1/climatedata/collections/stationvalue/items

MCP Tools

list-climate-station-values

List climate station values

read-only idempotent

Capability Spec

dmi-open-data-climatedata.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: DMI Open Data API — climateData
  description: 'DMI Open Data API — climateData. 1 operations. Lead operation: List climate station values. Self-contained
    Naftiko capability covering one Danish Meteorological Institutes business surface.'
  tags:
  - Danish Meteorological Institutes
  - climateData
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DANISH_METEOROLOGICAL_INSTITUTES_API_KEY: DANISH_METEOROLOGICAL_INSTITUTES_API_KEY
capability:
  consumes:
  - type: http
    namespace: dmi-open-data-climatedata
    baseUri: https://opendataapi.dmi.dk/v2
    description: DMI Open Data API — climateData business capability. Self-contained, no shared references.
    resources:
    - name: climateData-collections-stationValue-items
      path: /climateData/collections/stationValue/items
      operations:
      - name: listclimatestationvalues
        method: GET
        description: List climate station values
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: stationId
          in: query
          type: string
        - name: parameterId
          in: query
          type: string
        - name: datetime
          in: query
          type: string
        - name: timeResolution
          in: query
          type: string
    authentication:
      type: apikey
      key: api-key
      value: '{{env.DANISH_METEOROLOGICAL_INSTITUTES_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: dmi-open-data-climatedata-rest
    port: 8080
    description: REST adapter for DMI Open Data API — climateData. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/climatedata/collections/stationvalue/items
      name: climatedata-collections-stationvalue-items
      description: REST surface for climateData-collections-stationValue-items.
      operations:
      - method: GET
        name: listclimatestationvalues
        description: List climate station values
        call: dmi-open-data-climatedata.listclimatestationvalues
        with:
          stationId: rest.stationId
          parameterId: rest.parameterId
          datetime: rest.datetime
          timeResolution: rest.timeResolution
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: dmi-open-data-climatedata-mcp
    port: 9090
    transport: http
    description: MCP adapter for DMI Open Data API — climateData. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-climate-station-values
      description: List climate station values
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dmi-open-data-climatedata.listclimatestationvalues
      with:
        stationId: tools.stationId
        parameterId: tools.parameterId
        datetime: tools.datetime
        timeResolution: tools.timeResolution
      outputParameters:
      - type: object
        mapping: $.