U.S. Geological Survey · Capability

USGS Water Data APIs — Collections

USGS Water Data APIs — Collections. 2 operations. Lead operation: USGS Water Data Get API Landing Page. Self-contained Naftiko capability covering one U S Geological Survey business surface.

Run with Naftiko U S Geological SurveyCollections

What You Can Do

GET
Getlandingpage — USGS Water Data Get API Landing Page
/v1
GET
Listcollections — USGS Water Data List Collections
/v1/collections

MCP Tools

usgs-water-data-get-api

USGS Water Data Get API Landing Page

read-only idempotent
usgs-water-data-list-collections

USGS Water Data List Collections

read-only idempotent

Capability Spec

usgs-water-data-collections.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: USGS Water Data APIs — Collections
  description: 'USGS Water Data APIs — Collections. 2 operations. Lead operation: USGS Water Data Get API Landing Page. Self-contained
    Naftiko capability covering one U S Geological Survey business surface.'
  tags:
  - U S Geological Survey
  - Collections
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    U_S_GEOLOGICAL_SURVEY_API_KEY: U_S_GEOLOGICAL_SURVEY_API_KEY
capability:
  consumes:
  - type: http
    namespace: usgs-water-data-collections
    baseUri: https://api.waterdata.usgs.gov/ogcapi/v0
    description: USGS Water Data APIs — Collections business capability. Self-contained, no shared references.
    resources:
    - name: root
      path: /
      operations:
      - name: getlandingpage
        method: GET
        description: USGS Water Data Get API Landing Page
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: collections
      path: /collections
      operations:
      - name: listcollections
        method: GET
        description: USGS Water Data List Collections
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: api_key
      value: '{{env.U_S_GEOLOGICAL_SURVEY_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: usgs-water-data-collections-rest
    port: 8080
    description: REST adapter for USGS Water Data APIs — Collections. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1
      name: root
      description: REST surface for root.
      operations:
      - method: GET
        name: getlandingpage
        description: USGS Water Data Get API Landing Page
        call: usgs-water-data-collections.getlandingpage
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/collections
      name: collections
      description: REST surface for collections.
      operations:
      - method: GET
        name: listcollections
        description: USGS Water Data List Collections
        call: usgs-water-data-collections.listcollections
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: usgs-water-data-collections-mcp
    port: 9090
    transport: http
    description: MCP adapter for USGS Water Data APIs — Collections. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: usgs-water-data-get-api
      description: USGS Water Data Get API Landing Page
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: usgs-water-data-collections.getlandingpage
      outputParameters:
      - type: object
        mapping: $.
    - name: usgs-water-data-list-collections
      description: USGS Water Data List Collections
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: usgs-water-data-collections.listcollections
      outputParameters:
      - type: object
        mapping: $.