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
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
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
| Field | Type | Description |
|---|---|---|
cwe_id | string | CWE identifier |
name | string | Category name |
description | string | Category description |
status | string | Status of the CWE record |
memberships | array | Category 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.