Library of Congress · Capability

Library of Congress Congress.gov API — Committees

Library of Congress Congress.gov API — Committees. 1 operations. Lead operation: List Committees. Self-contained Naftiko capability covering one Library Of Congress business surface.

Run with Naftiko Library Of CongressCommittees

What You Can Do

GET
Listcommittees — List Committees
/v1/committee

MCP Tools

list-committees

List Committees

read-only idempotent

Capability Spec

congress-gov-committees.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Library of Congress Congress.gov API — Committees
  description: 'Library of Congress Congress.gov API — Committees. 1 operations. Lead operation: List Committees. Self-contained
    Naftiko capability covering one Library Of Congress business surface.'
  tags:
  - Library Of Congress
  - Committees
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LIBRARY_OF_CONGRESS_API_KEY: LIBRARY_OF_CONGRESS_API_KEY
capability:
  consumes:
  - type: http
    namespace: congress-gov-committees
    baseUri: https://api.congress.gov/v3
    description: Library of Congress Congress.gov API — Committees business capability. Self-contained, no shared references.
    resources:
    - name: committee
      path: /committee
      operations:
      - name: listcommittees
        method: GET
        description: List Committees
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: api_key
      value: '{{env.LIBRARY_OF_CONGRESS_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: congress-gov-committees-rest
    port: 8080
    description: REST adapter for Library of Congress Congress.gov API — Committees. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/committee
      name: committee
      description: REST surface for committee.
      operations:
      - method: GET
        name: listcommittees
        description: List Committees
        call: congress-gov-committees.listcommittees
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: congress-gov-committees-mcp
    port: 9090
    transport: http
    description: MCP adapter for Library of Congress Congress.gov API — Committees. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: list-committees
      description: List Committees
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: congress-gov-committees.listcommittees
      outputParameters:
      - type: object
        mapping: $.