US Geological Survey · Capability

USGS Water Data OGC API — Continuous Values

USGS Water Data OGC API — Continuous Values. 1 operations. Lead operation: Query Continuous Values. Self-contained Naftiko capability covering one Us Geological Survey business surface.

Run with Naftiko Us Geological SurveyContinuous Values

What You Can Do

GET
Querycontinuousvalues — Query Continuous Values
/v1/collections/continuous-values/items

MCP Tools

query-continuous-values

Query Continuous Values

read-only idempotent

Capability Spec

usgs-water-data-continuous-values.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: USGS Water Data OGC API — Continuous Values
  description: 'USGS Water Data OGC API — Continuous Values. 1 operations. Lead operation: Query Continuous Values. Self-contained
    Naftiko capability covering one Us Geological Survey business surface.'
  tags:
  - Us Geological Survey
  - Continuous Values
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    US_GEOLOGICAL_SURVEY_API_KEY: US_GEOLOGICAL_SURVEY_API_KEY
capability:
  consumes:
  - type: http
    namespace: usgs-water-data-continuous-values
    baseUri: https://api.waterdata.usgs.gov/ogcapi/v0
    description: USGS Water Data OGC API — Continuous Values business capability. Self-contained, no shared references.
    resources:
    - name: collections-continuous-values-items
      path: /collections/continuous-values/items
      operations:
      - name: querycontinuousvalues
        method: GET
        description: Query Continuous Values
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: monitoringLocationIdentifier
          in: query
          type: string
          description: USGS monitoring location identifier (e.g., USGS-01646500)
        - name: parameterCode
          in: query
          type: string
          description: USGS parameter code for the measurement type (e.g., 00060 for discharge)
    authentication:
      type: apikey
      key: api_key
      value: '{{env.US_GEOLOGICAL_SURVEY_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: usgs-water-data-continuous-values-rest
    port: 8080
    description: REST adapter for USGS Water Data OGC API — Continuous Values. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/collections/continuous-values/items
      name: collections-continuous-values-items
      description: REST surface for collections-continuous-values-items.
      operations:
      - method: GET
        name: querycontinuousvalues
        description: Query Continuous Values
        call: usgs-water-data-continuous-values.querycontinuousvalues
        with:
          monitoringLocationIdentifier: rest.monitoringLocationIdentifier
          parameterCode: rest.parameterCode
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: usgs-water-data-continuous-values-mcp
    port: 9090
    transport: http
    description: MCP adapter for USGS Water Data OGC API — Continuous Values. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: query-continuous-values
      description: Query Continuous Values
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: usgs-water-data-continuous-values.querycontinuousvalues
      with:
        monitoringLocationIdentifier: tools.monitoringLocationIdentifier
        parameterCode: tools.parameterCode
      outputParameters:
      - type: object
        mapping: $.