weakness

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

“What is CWE-[N]” / “look up CWE [name]” / “details on [weakness]” / “explain XSS / SQL injection / buffer overflow” / “what kind of security flaw is [X]” — fetch a single MITRE CWE (Common Weakness Enumeration) record with description, examples, mitigations, related attacks, references. Use for security analysis, vulnerability triage, threat-modeling, secure-coding training. Example IDs: 79 (XSS), 89 (SQL injection), 787 (out-of-bounds write).

Parameters

NameTypeRequiredDescription
idstringyesCWE id (e.g. “79” or “CWE-79”)
viewstringnoOptional view id to retrieve view-specific info.

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":"weakness","arguments":{"id":"79"}}}'

TypeScript (@pipeworx/sdk)

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

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

More examples

{
  "id": "CWE-89",
  "view": "1003"
}

Response shape

FieldTypeDescription
cwe_idstringCWE identifier
namestringWeakness name
descriptionstringDetailed description of the weakness
statusstringStatus of the CWE record
weaknessabsarrayAbstract weaknesses
membershipsarrayCategory memberships
Full JSON Schema
{
  "type": "object",
  "description": "CWE weakness record from MITRE CWE API",
  "properties": {
    "cwe_id": {
      "type": "string",
      "description": "CWE identifier"
    },
    "name": {
      "type": "string",
      "description": "Weakness name"
    },
    "description": {
      "type": "string",
      "description": "Detailed description of the weakness"
    },
    "status": {
      "type": "string",
      "description": "Status of the CWE record"
    },
    "weaknessabs": {
      "type": "array",
      "description": "Abstract weaknesses"
    },
    "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