Library of Congress · Capability

Library of Congress Chronicling America API — Issues

Library of Congress Chronicling America API — Issues. 1 operations. Lead operation: Get Issue. Self-contained Naftiko capability covering one Library Of Congress business surface.

Run with Naftiko Library Of CongressIssues

What You Can Do

GET
Getissue — Get Issue
/v1/lccn/{lccn}/{date}/ed-edition-json

MCP Tools

get-issue

Get Issue

read-only idempotent

Capability Spec

chronicling-america-issues.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Library of Congress Chronicling America API — Issues
  description: 'Library of Congress Chronicling America API — Issues. 1 operations. Lead operation: Get Issue. Self-contained
    Naftiko capability covering one Library Of Congress business surface.'
  tags:
  - Library Of Congress
  - Issues
  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: chronicling-america-issues
    baseUri: https://chroniclingamerica.loc.gov
    description: Library of Congress Chronicling America API — Issues business capability. Self-contained, no shared references.
    resources:
    - name: lccn-lccn-date-ed-{edition}.json
      path: /lccn/{lccn}/{date}/ed-{edition}.json
      operations:
      - name: getissue
        method: GET
        description: Get Issue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: lccn
          in: path
          type: string
          required: true
        - name: date
          in: path
          type: string
          description: Issue date in YYYY-MM-DD format.
          required: true
        - name: edition
          in: path
          type: integer
          required: true
  exposes:
  - type: rest
    namespace: chronicling-america-issues-rest
    port: 8080
    description: REST adapter for Library of Congress Chronicling America API — Issues. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/lccn/{lccn}/{date}/ed-edition-json
      name: lccn-lccn-date-ed-edition-json
      description: REST surface for lccn-lccn-date-ed-{edition}.json.
      operations:
      - method: GET
        name: getissue
        description: Get Issue
        call: chronicling-america-issues.getissue
        with:
          lccn: rest.lccn
          date: rest.date
          edition: rest.edition
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: chronicling-america-issues-mcp
    port: 9090
    transport: http
    description: MCP adapter for Library of Congress Chronicling America API — Issues. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: get-issue
      description: Get Issue
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: chronicling-america-issues.getissue
      with:
        lccn: tools.lccn
        date: tools.date
        edition: tools.edition
      outputParameters:
      - type: object
        mapping: $.