NASCAR · Capability

NASCAR Feed API — Companies

NASCAR Feed API — Companies. 3 operations. Lead operation: Search companies by name. Self-contained Naftiko capability covering one Nascar business surface.

Run with Naftiko NascarCompanies

What You Can Do

GET
Searchcompanies — Search companies by name
/v1/api/companies
GET
Listcompanyannuals — List all company annuals and associations
/v1/api/companyannuals
GET
Getcompanyannualsformember — Retrieve annuals for a member id
/v1/api/companyannuals/member

MCP Tools

search-companies-name

Search companies by name

read-only idempotent
list-all-company-annuals-and

List all company annuals and associations

read-only idempotent
retrieve-annuals-member-id

Retrieve annuals for a member id

read-only idempotent

Capability Spec

nascar-companies.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: NASCAR Feed API — Companies
  description: 'NASCAR Feed API — Companies. 3 operations. Lead operation: Search companies by name. Self-contained Naftiko
    capability covering one Nascar business surface.'
  tags:
  - Nascar
  - Companies
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NASCAR_API_KEY: NASCAR_API_KEY
capability:
  consumes:
  - type: http
    namespace: nascar-companies
    baseUri: https://feed.nascar.com
    description: NASCAR Feed API — Companies business capability. Self-contained, no shared references.
    resources:
    - name: api-Companies
      path: /api/Companies
      operations:
      - name: searchcompanies
        method: GET
        description: Search companies by name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-CompanyAnnuals
      path: /api/CompanyAnnuals
      operations:
      - name: listcompanyannuals
        method: GET
        description: List all company annuals and associations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-CompanyAnnuals-Member
      path: /api/CompanyAnnuals/Member
      operations:
      - name: getcompanyannualsformember
        method: GET
        description: Retrieve annuals for a member id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: nascar-companies-rest
    port: 8080
    description: REST adapter for NASCAR Feed API — Companies. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/companies
      name: api-companies
      description: REST surface for api-Companies.
      operations:
      - method: GET
        name: searchcompanies
        description: Search companies by name
        call: nascar-companies.searchcompanies
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/companyannuals
      name: api-companyannuals
      description: REST surface for api-CompanyAnnuals.
      operations:
      - method: GET
        name: listcompanyannuals
        description: List all company annuals and associations
        call: nascar-companies.listcompanyannuals
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/companyannuals/member
      name: api-companyannuals-member
      description: REST surface for api-CompanyAnnuals-Member.
      operations:
      - method: GET
        name: getcompanyannualsformember
        description: Retrieve annuals for a member id
        call: nascar-companies.getcompanyannualsformember
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: nascar-companies-mcp
    port: 9090
    transport: http
    description: MCP adapter for NASCAR Feed API — Companies. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: search-companies-name
      description: Search companies by name
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: nascar-companies.searchcompanies
      outputParameters:
      - type: object
        mapping: $.
    - name: list-all-company-annuals-and
      description: List all company annuals and associations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: nascar-companies.listcompanyannuals
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-annuals-member-id
      description: Retrieve annuals for a member id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: nascar-companies.getcompanyannualsformember
      outputParameters:
      - type: object
        mapping: $.