MeteoSource Air Quality Data API — Locations

MeteoSource Air Quality Data API — Locations. 3 operations. Lead operation: Find places by name or ZIP. Self-contained Naftiko capability covering one Meteosource Air Quality Data Api business surface.

Run with Naftiko Meteosource Air Quality Data ApiLocations

What You Can Do

GET
Findplaces — Find places by name or ZIP
/v1/free/find-places
GET
Findplacesbyprefix — Find places by prefix
/v1/free/find-places-prefix
GET
Findnearestplace — Find nearest place to coordinates
/v1/free/nearest-place

MCP Tools

find-places-name-zip

Find places by name or ZIP

read-only idempotent
find-places-prefix

Find places by prefix

read-only idempotent
find-nearest-place-coordinates

Find nearest place to coordinates

read-only idempotent

Capability Spec

meteosource-air-quality-data-locations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: MeteoSource Air Quality Data API — Locations
  description: 'MeteoSource Air Quality Data API — Locations. 3 operations. Lead operation: Find places by name or ZIP. Self-contained
    Naftiko capability covering one Meteosource Air Quality Data Api business surface.'
  tags:
  - Meteosource Air Quality Data Api
  - Locations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    METEOSOURCE_AIR_QUALITY_DATA_API_API_KEY: METEOSOURCE_AIR_QUALITY_DATA_API_API_KEY
capability:
  consumes:
  - type: http
    namespace: meteosource-air-quality-data-locations
    baseUri: https://www.meteosource.com/api/v1
    description: MeteoSource Air Quality Data API — Locations business capability. Self-contained, no shared references.
    resources:
    - name: free-find_places
      path: /free/find_places
      operations:
      - name: findplaces
        method: GET
        description: Find places by name or ZIP
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: text
          in: query
          type: string
          required: true
        - name: language
          in: query
          type: string
        - name: area
          in: query
          type: string
    - name: free-find_places_prefix
      path: /free/find_places_prefix
      operations:
      - name: findplacesbyprefix
        method: GET
        description: Find places by prefix
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: text
          in: query
          type: string
          required: true
        - name: language
          in: query
          type: string
        - name: area
          in: query
          type: string
    - name: free-nearest_place
      path: /free/nearest_place
      operations:
      - name: findnearestplace
        method: GET
        description: Find nearest place to coordinates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: language
          in: query
          type: string
    authentication:
      type: apikey
      key: key
      value: '{{env.METEOSOURCE_AIR_QUALITY_DATA_API_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: meteosource-air-quality-data-locations-rest
    port: 8080
    description: REST adapter for MeteoSource Air Quality Data API — Locations. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/free/find-places
      name: free-find-places
      description: REST surface for free-find_places.
      operations:
      - method: GET
        name: findplaces
        description: Find places by name or ZIP
        call: meteosource-air-quality-data-locations.findplaces
        with:
          text: rest.text
          language: rest.language
          area: rest.area
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/free/find-places-prefix
      name: free-find-places-prefix
      description: REST surface for free-find_places_prefix.
      operations:
      - method: GET
        name: findplacesbyprefix
        description: Find places by prefix
        call: meteosource-air-quality-data-locations.findplacesbyprefix
        with:
          text: rest.text
          language: rest.language
          area: rest.area
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/free/nearest-place
      name: free-nearest-place
      description: REST surface for free-nearest_place.
      operations:
      - method: GET
        name: findnearestplace
        description: Find nearest place to coordinates
        call: meteosource-air-quality-data-locations.findnearestplace
        with:
          language: rest.language
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: meteosource-air-quality-data-locations-mcp
    port: 9090
    transport: http
    description: MCP adapter for MeteoSource Air Quality Data API — Locations. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: find-places-name-zip
      description: Find places by name or ZIP
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: meteosource-air-quality-data-locations.findplaces
      with:
        text: tools.text
        language: tools.language
        area: tools.area
      outputParameters:
      - type: object
        mapping: $.
    - name: find-places-prefix
      description: Find places by prefix
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: meteosource-air-quality-data-locations.findplacesbyprefix
      with:
        text: tools.text
        language: tools.language
        area: tools.area
      outputParameters:
      - type: object
        mapping: $.
    - name: find-nearest-place-coordinates
      description: Find nearest place to coordinates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: meteosource-air-quality-data-locations.findnearestplace
      with:
        language: tools.language
      outputParameters:
      - type: object
        mapping: $.