Weatherbit · Capability

Weatherbit - Interactive Swagger UI Documentation — Climate Normals (Averages)

Weatherbit - Interactive Swagger UI Documentation — Climate Normals (Averages). 1 operations. Lead operation: Weatherbit Returns Historical Climate Normals (Averages) - Given a Lat/lon.. Self-contained Naftiko capability covering one Weatherbit business surface.

Run with Naftiko WeatherbitClimate Normals (Averages)

What You Can Do

GET
Get — Weatherbit Returns Historical Climate Normals (Averages) - Given a Lat/lon.
/v1/normals

MCP Tools

weatherbit-returns-historical-climate-normals

Weatherbit Returns Historical Climate Normals (Averages) - Given a Lat/lon.

read-only idempotent

Capability Spec

current-weather-climate-normals-averages.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Weatherbit - Interactive Swagger UI Documentation — Climate Normals (Averages)
  description: 'Weatherbit - Interactive Swagger UI Documentation — Climate Normals (Averages). 1 operations. Lead operation:
    Weatherbit Returns Historical Climate Normals (Averages) - Given a Lat/lon.. Self-contained Naftiko capability covering
    one Weatherbit business surface.'
  tags:
  - Weatherbit
  - Climate Normals (Averages)
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEATHERBIT_API_KEY: WEATHERBIT_API_KEY
capability:
  consumes:
  - type: http
    namespace: current-weather-climate-normals-averages
    baseUri: https://api.weatherbit.io/v2.0
    description: Weatherbit - Interactive Swagger UI Documentation — Climate Normals (Averages) business capability. Self-contained,
      no shared references.
    resources:
    - name: normals
      path: /normals
      operations:
      - name: get
        method: GET
        description: Weatherbit Returns Historical Climate Normals (Averages) - Given a Lat/lon.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: lat
          in: query
          type: number
          description: Latitude component of location.
          required: true
        - name: lon
          in: query
          type: number
          description: Longitude component of location.
          required: true
        - name: start_day
          in: query
          type: string
          description: Start Day (MM-DD).
          required: true
        - name: end_day
          in: query
          type: string
          description: End Day (MM-DD).
          required: true
        - name: tp
          in: query
          type: string
          description: Time period of calculation (daily, monthly, or hourly).
          required: true
        - name: units
          in: query
          type: string
          description: Convert to units. Default Metric See <a target='blank' href='/api/requests'>units field description</a>
        - name: series_year
          in: query
          type: number
          description: Series year for calculation. 2020 for 1991-2020. 2010 for 1981-2010.
          required: true
        - name: key
          in: query
          type: string
          description: Your registered API key.
          required: true
  exposes:
  - type: rest
    namespace: current-weather-climate-normals-averages-rest
    port: 8080
    description: REST adapter for Weatherbit - Interactive Swagger UI Documentation — Climate Normals (Averages). One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/normals
      name: normals
      description: REST surface for normals.
      operations:
      - method: GET
        name: get
        description: Weatherbit Returns Historical Climate Normals (Averages) - Given a Lat/lon.
        call: current-weather-climate-normals-averages.get
        with:
          lat: rest.lat
          lon: rest.lon
          start_day: rest.start_day
          end_day: rest.end_day
          tp: rest.tp
          units: rest.units
          series_year: rest.series_year
          key: rest.key
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: current-weather-climate-normals-averages-mcp
    port: 9090
    transport: http
    description: MCP adapter for Weatherbit - Interactive Swagger UI Documentation — Climate Normals (Averages). One tool
      per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: weatherbit-returns-historical-climate-normals
      description: Weatherbit Returns Historical Climate Normals (Averages) - Given a Lat/lon.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: current-weather-climate-normals-averages.get
      with:
        lat: tools.lat
        lon: tools.lon
        start_day: tools.start_day
        end_day: tools.end_day
        tp: tools.tp
        units: tools.units
        series_year: tools.series_year
        key: tools.key
      outputParameters:
      - type: object
        mapping: $.