US Geological Survey · Capability

USGS Earthquake Catalog API — Metadata

USGS Earthquake Catalog API — Metadata. 3 operations. Lead operation: List Earthquake Catalogs. Self-contained Naftiko capability covering one Us Geological Survey business surface.

Run with Naftiko Us Geological SurveyMetadata

What You Can Do

GET
Listcatalogs — List Earthquake Catalogs
/v1/catalogs
GET
Listcontributors — List Data Contributors
/v1/contributors
GET
Getversion — Get API Version
/v1/version

MCP Tools

list-earthquake-catalogs

List Earthquake Catalogs

read-only idempotent
list-data-contributors

List Data Contributors

read-only idempotent
get-api-version

Get API Version

read-only idempotent

Capability Spec

usgs-earthquake-catalog-metadata.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: USGS Earthquake Catalog API — Metadata
  description: 'USGS Earthquake Catalog API — Metadata. 3 operations. Lead operation: List Earthquake Catalogs. Self-contained
    Naftiko capability covering one Us Geological Survey business surface.'
  tags:
  - Us Geological Survey
  - Metadata
  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-earthquake-catalog-metadata
    baseUri: https://earthquake.usgs.gov/fdsnws/event/1
    description: USGS Earthquake Catalog API — Metadata business capability. Self-contained, no shared references.
    resources:
    - name: catalogs
      path: /catalogs
      operations:
      - name: listcatalogs
        method: GET
        description: List Earthquake Catalogs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: contributors
      path: /contributors
      operations:
      - name: listcontributors
        method: GET
        description: List Data Contributors
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: version
      path: /version
      operations:
      - name: getversion
        method: GET
        description: Get API Version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: usgs-earthquake-catalog-metadata-rest
    port: 8080
    description: REST adapter for USGS Earthquake Catalog API — Metadata. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/catalogs
      name: catalogs
      description: REST surface for catalogs.
      operations:
      - method: GET
        name: listcatalogs
        description: List Earthquake Catalogs
        call: usgs-earthquake-catalog-metadata.listcatalogs
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contributors
      name: contributors
      description: REST surface for contributors.
      operations:
      - method: GET
        name: listcontributors
        description: List Data Contributors
        call: usgs-earthquake-catalog-metadata.listcontributors
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/version
      name: version
      description: REST surface for version.
      operations:
      - method: GET
        name: getversion
        description: Get API Version
        call: usgs-earthquake-catalog-metadata.getversion
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: usgs-earthquake-catalog-metadata-mcp
    port: 9090
    transport: http
    description: MCP adapter for USGS Earthquake Catalog API — Metadata. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-earthquake-catalogs
      description: List Earthquake Catalogs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: usgs-earthquake-catalog-metadata.listcatalogs
      outputParameters:
      - type: object
        mapping: $.
    - name: list-data-contributors
      description: List Data Contributors
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: usgs-earthquake-catalog-metadata.listcontributors
      outputParameters:
      - type: object
        mapping: $.
    - name: get-api-version
      description: Get API Version
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: usgs-earthquake-catalog-metadata.getversion
      outputParameters:
      - type: object
        mapping: $.