children

Pack: mitre-cwe · Endpoint: https://gateway.pipeworx.io/mitre-cwe/mcp

“CWEs derived from / under [N]” / “child weaknesses of [CWE]” / “more specific variants of [X]” — list immediate children of a CWE in the relationship tree. CWE is hierarchical; e.g. children of CWE-119 (memory bounds) include CWE-787 (out-of-bounds write) and CWE-125 (out-of-bounds read).

Parameters

NameTypeRequiredDescription
idstringyes

Example call

Arguments

{
  "id": "79"
}

curl

curl -X POST https://gateway.pipeworx.io/mitre-cwe/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"children","arguments":{"id":"79"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('children', {
  "id": "79"
});

Response shape

FieldTypeDescription
parent_idstringParent CWE identifier
childrenarrayArray of child CWE records
Full JSON Schema
{
  "type": "object",
  "description": "Direct children of a weakness/category/view",
  "properties": {
    "parent_id": {
      "type": "string",
      "description": "Parent CWE identifier"
    },
    "children": {
      "type": "array",
      "description": "Array of child CWE records",
      "items": {
        "type": "object",
        "properties": {
          "cwe_id": {
            "type": "string",
            "description": "Child CWE identifier"
          },
          "name": {
            "type": "string",
            "description": "Child name"
          },
          "view_id": {
            "type": "string",
            "description": "View identifier if applicable"
          }
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "mitre-cwe": {
      "url": "https://gateway.pipeworx.io/mitre-cwe/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026