category

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

“What CWEs fall under [category]” / “list weaknesses in the [X] family” / “memory safety weaknesses” / “input validation weaknesses” — fetch a CWE category record (a thematic grouping of related CWEs like “Memory Safety”, “Input Validation”, “Cryptographic Issues”). Returns the category description plus member CWE IDs.

Parameters

NameTypeRequiredDescription
idstringyes

Example call

Arguments

{
  "id": "CWE-1004"
}

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":"category","arguments":{"id":"CWE-1004"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('category', {
  "id": "CWE-1004"
});

Response shape

FieldTypeDescription
cwe_idstringCWE identifier
namestringCategory name
descriptionstringCategory description
statusstringStatus of the CWE record
membershipsarrayCategory memberships
Full JSON Schema
{
  "type": "object",
  "description": "CWE category record from MITRE CWE API",
  "properties": {
    "cwe_id": {
      "type": "string",
      "description": "CWE identifier"
    },
    "name": {
      "type": "string",
      "description": "Category name"
    },
    "description": {
      "type": "string",
      "description": "Category description"
    },
    "status": {
      "type": "string",
      "description": "Status of the CWE record"
    },
    "memberships": {
      "type": "array",
      "description": "Category memberships"
    }
  }
}

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