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
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | CWE id (e.g. “79” or “CWE-79”) |
view | string | no | Optional 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
| Field | Type | Description |
|---|---|---|
cwe_id | string | CWE identifier |
name | string | Weakness name |
description | string | Detailed description of the weakness |
status | string | Status of the CWE record |
weaknessabs | array | Abstract weaknesses |
memberships | array | Category 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.