category

Pack: mitre-cwe · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/category for the schema, then POST the same URL with its arguments for the data.

“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-1210"
}

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-1210"}}}'

TypeScript (@pipeworx/sdk)

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

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

Response shape

FieldTypeDescription
Categoriesarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "Categories": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "string"
          },
          "Name": {
            "type": "string"
          },
          "Status": {
            "type": "string"
          },
          "Summary": {
            "type": "string"
          },
          "Relationships": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "CweID": {
                  "type": "string"
                },
                "ViewID": {
                  "type": "string"
                }
              }
            }
          },
          "MappingNotes": {
            "type": "object",
            "properties": {
              "Usage": {
                "type": "string"
              },
              "Rationale": {
                "type": "string"
              },
              "Comments": {
                "type": "string"
              },
              "Reasons": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "ContentHistory": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "Type": {
                  "type": "string"
                },
                "SubmissionName": {
                  "type": "string"
                },
                "SubmissionOrganization": {
                  "type": "string"
                },
                "SubmissionDate": {
                  "type": "string"
                },
                "SubmissionVersion": {
                  "type": "string"
                },
                "SubmissionReleaseDate": {
                  "type": "string"
                },
                "ModificationName": {
                  "type": "string"
                },
                "ModificationOrganization": {
                  "type": "string"
                },
                "ModificationDate": {
                  "type": "string"
                },
                "ModificationComment": {
                  "type": "string"
                },
                "ModificationVersion": {
                  "type": "string"
                },
                "ModificationReleaseDate": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "description": "CWE category record from MITRE CWE API"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the mitre-cwe pack
{
  "mcpServers": {
    "mitre-cwe": {
      "url": "https://gateway.pipeworx.io/mitre-cwe/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026