Weatherbit · Capability
Weatherbit - Interactive Swagger UI Documentation — Current Weather Data
Weatherbit - Interactive Swagger UI Documentation — Current Weather Data. 1 operations. Lead operation: Weatherbit Returns a Current Observation - Given a Lat/lon.. Self-contained Naftiko capability covering one Weatherbit business surface.
What You Can Do
GET
Get
— Weatherbit Returns a Current Observation - Given a Lat/lon.
/v1/current
MCP Tools
weatherbit-returns-current-observation-given
Weatherbit Returns a Current Observation - Given a Lat/lon.
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Weatherbit - Interactive Swagger UI Documentation — Current Weather Data
description: 'Weatherbit - Interactive Swagger UI Documentation — Current Weather Data. 1 operations. Lead operation: Weatherbit
Returns a Current Observation - Given a Lat/lon.. Self-contained Naftiko capability covering one Weatherbit business surface.'
tags:
- Weatherbit
- Current Weather Data
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-current-weather-data
baseUri: https://api.weatherbit.io/v2.0
description: Weatherbit - Interactive Swagger UI Documentation — Current Weather Data business capability. Self-contained,
no shared references.
resources:
- name: current
path: /current
operations:
- name: get
method: GET
description: Weatherbit Returns a Current Observation - Given a Lat/lon.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: lat
in: query
type: number
description: Latitude component of location.
- name: lon
in: query
type: number
description: Longitude component of location.
- name: include
in: query
type: string
description: Include 1 hour - minutely precip forecast in the response, or severe weather alerts
- name: city_id
in: query
type: string
description: 'City ID. Example: 4487042'
- name: city
in: query
type: string
description: City search.. Example - &city=Raleigh,NC or &city=Berlin,DE or city=Paris&country=FR
- name: postal_code
in: query
type: string
description: 'Postal Code. Example: 28546'
- name: country
in: query
type: string
description: Country Code (2 letter) - to be used with postal_code.
- name: station
in: query
type: string
description: Station Call ID.
- name: stations
in: query
type: string
description: 'Comma separated list of Station Call ID''s. Example: KRDU,KBFI,KVNY'
- name: points
in: query
type: string
description: 'Comma separated list of points. Example: (35.5, -75.5),(45, 65),(45.12, -130.5)'
- name: cities
in: query
type: string
description: 'Comma separated list of City ID''s. Example: 4487042, 4494942, 4504871'
- name: units
in: query
type: string
description: Convert to units. Default Metric See <a target='blank' href='/api/requests'>units field description</a>
- name: lang
in: query
type: string
description: 'Language (Default: English) See <a target=''blank'' href=''/api/requests''>language field description</a>'
- name: key
in: query
type: string
description: Your registered API key.
required: true
exposes:
- type: rest
namespace: current-weather-current-weather-data-rest
port: 8080
description: REST adapter for Weatherbit - Interactive Swagger UI Documentation — Current Weather Data. One Spectral-compliant
resource per consumed operation, prefixed with /v1.
resources:
- path: /v1/current
name: current
description: REST surface for current.
operations:
- method: GET
name: get
description: Weatherbit Returns a Current Observation - Given a Lat/lon.
call: current-weather-current-weather-data.get
with:
lat: rest.lat
lon: rest.lon
include: rest.include
city_id: rest.city_id
city: rest.city
postal_code: rest.postal_code
country: rest.country
station: rest.station
stations: rest.stations
points: rest.points
cities: rest.cities
units: rest.units
lang: rest.lang
key: rest.key
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: current-weather-current-weather-data-mcp
port: 9090
transport: http
description: MCP adapter for Weatherbit - Interactive Swagger UI Documentation — Current Weather Data. One tool per consumed
operation, routed inline through this capability's consumes block.
tools:
- name: weatherbit-returns-current-observation-given
description: Weatherbit Returns a Current Observation - Given a Lat/lon.
hints:
readOnly: true
destructive: false
idempotent: true
call: current-weather-current-weather-data.get
with:
lat: tools.lat
lon: tools.lon
include: tools.include
city_id: tools.city_id
city: tools.city
postal_code: tools.postal_code
country: tools.country
station: tools.station
stations: tools.stations
points: tools.points
cities: tools.cities
units: tools.units
lang: tools.lang
key: tools.key
outputParameters:
- type: object
mapping: $.