CharityAPI · Capability

CharityAPI — Public Charity Check

CharityAPI — Public Charity Check. 1 operations. Lead operation: Check public charity status. Self-contained Naftiko capability covering one Charityapi business surface.

Run with Naftiko CharityapiPublic Charity Check

What You Can Do

GET
Publiccharitycheck — Check public charity status
/v1/public-charity-check/{ein}

MCP Tools

check-public-charity-status

Check public charity status

read-only idempotent

Capability Spec

charityapi-public-charity-check.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: CharityAPI — Public Charity Check
  description: 'CharityAPI — Public Charity Check. 1 operations. Lead operation: Check public charity status. Self-contained
    Naftiko capability covering one Charityapi business surface.'
  tags:
  - Charityapi
  - Public Charity Check
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CHARITYAPI_API_KEY: CHARITYAPI_API_KEY
capability:
  consumes:
  - type: http
    namespace: charityapi-public-charity-check
    baseUri: https://api.charityapi.org/api
    description: CharityAPI — Public Charity Check business capability. Self-contained, no shared references.
    resources:
    - name: public_charity_check-ein
      path: /public_charity_check/{ein}
      operations:
      - name: publiccharitycheck
        method: GET
        description: Check public charity status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ein
          in: path
          type: string
          description: Employer Identification Number to verify.
          required: true
    authentication:
      type: apikey
      key: apikey
      value: '{{env.CHARITYAPI_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: charityapi-public-charity-check-rest
    port: 8080
    description: REST adapter for CharityAPI — Public Charity Check. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/public-charity-check/{ein}
      name: public-charity-check-ein
      description: REST surface for public_charity_check-ein.
      operations:
      - method: GET
        name: publiccharitycheck
        description: Check public charity status
        call: charityapi-public-charity-check.publiccharitycheck
        with:
          ein: rest.ein
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: charityapi-public-charity-check-mcp
    port: 9090
    transport: http
    description: MCP adapter for CharityAPI — Public Charity Check. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: check-public-charity-status
      description: Check public charity status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: charityapi-public-charity-check.publiccharitycheck
      with:
        ein: tools.ein
      outputParameters:
      - type: object
        mapping: $.