NIST National Vulnerability Database (NVD) API — CPE

NIST National Vulnerability Database (NVD) API — CPE. 1 operations. Lead operation: Search CPE records. Self-contained Naftiko capability covering one National Institute Of Standards And Technology business surface.

Run with Naftiko National Institute Of Standards And TechnologyCPE

What You Can Do

GET
Getcpes — Search CPE records
/v1/json/cpes/2-0

MCP Tools

search-cpe-records

Search CPE records

read-only idempotent

Capability Spec

national-institute-of-standards-and-technology-cpe.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: NIST National Vulnerability Database (NVD) API — CPE
  description: 'NIST National Vulnerability Database (NVD) API — CPE. 1 operations. Lead operation: Search CPE records. Self-contained
    Naftiko capability covering one National Institute Of Standards And Technology business surface.'
  tags:
  - National Institute Of Standards And Technology
  - CPE
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NATIONAL_INSTITUTE_OF_STANDARDS_AND_TECHNOLOGY_API_KEY: NATIONAL_INSTITUTE_OF_STANDARDS_AND_TECHNOLOGY_API_KEY
capability:
  consumes:
  - type: http
    namespace: national-institute-of-standards-and-technology-cpe
    baseUri: https://services.nvd.nist.gov
    description: NIST National Vulnerability Database (NVD) API — CPE business capability. Self-contained, no shared references.
    resources:
    - name: rest-json-cpes-2.0
      path: /rest/json/cpes/2.0
      operations:
      - name: getcpes
        method: GET
        description: Search CPE records
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cpeNameId
          in: query
          type: string
          description: Specific CPE record UUID.
        - name: cpeMatchString
          in: query
          type: string
        - name: keywordSearch
          in: query
          type: string
        - name: keywordExactMatch
          in: query
          type: boolean
        - name: lastModStartDate
          in: query
          type: string
        - name: lastModEndDate
          in: query
          type: string
        - name: matchCriteriaId
          in: query
          type: string
        - name: resultsPerPage
          in: query
          type: integer
          description: Maximum results per page (default and max 10000).
        - name: startIndex
          in: query
          type: integer
  exposes:
  - type: rest
    namespace: national-institute-of-standards-and-technology-cpe-rest
    port: 8080
    description: REST adapter for NIST National Vulnerability Database (NVD) API — CPE. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/json/cpes/2-0
      name: rest-json-cpes-2-0
      description: REST surface for rest-json-cpes-2.0.
      operations:
      - method: GET
        name: getcpes
        description: Search CPE records
        call: national-institute-of-standards-and-technology-cpe.getcpes
        with:
          cpeNameId: rest.cpeNameId
          cpeMatchString: rest.cpeMatchString
          keywordSearch: rest.keywordSearch
          keywordExactMatch: rest.keywordExactMatch
          lastModStartDate: rest.lastModStartDate
          lastModEndDate: rest.lastModEndDate
          matchCriteriaId: rest.matchCriteriaId
          resultsPerPage: rest.resultsPerPage
          startIndex: rest.startIndex
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: national-institute-of-standards-and-technology-cpe-mcp
    port: 9090
    transport: http
    description: MCP adapter for NIST National Vulnerability Database (NVD) API — CPE. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: search-cpe-records
      description: Search CPE records
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: national-institute-of-standards-and-technology-cpe.getcpes
      with:
        cpeNameId: tools.cpeNameId
        cpeMatchString: tools.cpeMatchString
        keywordSearch: tools.keywordSearch
        keywordExactMatch: tools.keywordExactMatch
        lastModStartDate: tools.lastModStartDate
        lastModEndDate: tools.lastModEndDate
        matchCriteriaId: tools.matchCriteriaId
        resultsPerPage: tools.resultsPerPage
        startIndex: tools.startIndex
      outputParameters:
      - type: object
        mapping: $.