view
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/view for the schema, then POST the same URL with its arguments for the data.
“Top 25 most dangerous software weaknesses” / “OWASP Top 10 CWE mapping” / “CWE view [N]” — fetch a curated CWE view (a published, opinionated selection of weaknesses). View 1003 = simplified mapping (NVD uses this), view 1387 = Top 25, view 1344 = OWASP Top 10. Returns the view’s metadata plus the included CWE IDs.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
Example call
Arguments
{
"id": "1003"
}
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":"view","arguments":{"id":"1003"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('view', {
"id": "1003"
});
Response shape
| Field | Type | Description |
|---|---|---|
Views | array |
Full JSON Schema
{
"type": "object",
"properties": {
"Views": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ID": {
"type": "string"
},
"Name": {
"type": "string"
},
"Type": {
"type": "string"
},
"Status": {
"type": "string"
},
"Objective": {
"type": "string"
},
"Members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"CweID": {
"type": "string"
},
"ViewID": {
"type": "string"
}
}
}
},
"References": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ExternalReferenceID": {
"type": "string"
}
}
}
},
"MappingNotes": {
"type": "object",
"properties": {
"Usage": {
"type": "string"
},
"Rationale": {
"type": "string"
},
"Comments": {
"type": "string"
},
"Reasons": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"Notes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Type": {
"type": "string"
},
"Note": {
"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 view 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.