FRED · Capability

FRED Maps API (GeoFRED) — Series Group

FRED Maps API (GeoFRED) — Series Group. 1 operations. Lead operation: FRED Get the Series Group for a Series. Self-contained Naftiko capability covering one FRED business surface.

Run with Naftiko FREDFRED MapsSeries Group

What You Can Do

GET
Getseriesgroup — FRED Get the Series Group for a Series
/v1/series/group

MCP Tools

get-series-group-series

FRED Get the Series Group for a Series

read-only idempotent

Capability Spec

geofred-series-group.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FRED Maps API (GeoFRED) — Series Group
  description: 'FRED Maps API (GeoFRED) — Series Group. 1 operations. Lead operation: FRED Get the Series Group for a Series. Self-contained Naftiko capability covering one FRED business surface.'
  tags:
    - FRED
    - FRED Maps
    - Series Group
  created: '2026-05-28'
  modified: '2026-05-28'
binds:
  - namespace: env
    keys:
      FRED_API_KEY: FRED_API_KEY
capability:
  consumes:
    - type: http
      namespace: geofred-series-group
      baseUri: https://api.stlouisfed.org/geofred
      description: FRED Maps API (GeoFRED) — Series Group business capability. Self-contained, no shared references.
      authentication:
        type: apikey
        key: api_key
        value: '{{env.FRED_API_KEY}}'
        placement: query
      resources:
        - name: series-group
          path: /series/group
          operations:
            - name: getSeriesGroup
              method: GET
              description: FRED Get the Series Group for a Series
              inputParameters:
                - name: api_key
                  in: query
                  type: string
                  required: true
                  description: 32-character lower-case alphanumeric FRED API key.
                - name: file_type
                  in: query
                  type: string
                  required: false
                  description: Response format — json or xml.
                - name: series_id
                  in: query
                  type: string
                  required: true
                  description: The FRED series ID.
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: geofred-series-group-rest
      port: 8080
      description: REST adapter for FRED Maps API (GeoFRED) — Series Group. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/series/group
          name: series-group
          description: REST surface for /series/group.
          operations:
            - method: GET
              name: getSeriesGroup
              description: FRED Get the Series Group for a Series
              call: geofred-series-group.getSeriesGroup
              with:
                api_key: rest.api_key
                file_type: rest.file_type
                series_id: rest.series_id
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: geofred-series-group-mcp
      port: 9090
      transport: http
      description: MCP adapter for FRED Maps API (GeoFRED) — Series Group. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: get-series-group-series
          description: FRED Get the Series Group for a Series
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: geofred-series-group.getSeriesGroup
          with:
            api_key: tools.api_key
            file_type: tools.file_type
            series_id: tools.series_id
          outputParameters:
            - type: object
              mapping: $.