/mitre-cwe-mcp-server:mitre-cwe-guidefrom mitre-cwe-mcp-server
Use cwe_* tools to classify vulnerability root causes, investigate CWE-to-CAPEC attack mechanics, and navigate MITRE views. Use when mapping a finding to CWE, checking taxonomy or observed-CVE evidence, or following recorded CAPEC and ATT&CK relationships.
Ships in mitre-cwe-mcp-server. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use MITRE CWE and CAPEC catalog evidence to explain weakness mechanisms, compare candidate root causes, and research attack prerequisites and mitigations. No key is required. These tools do not scan an application, establish that a finding is exploitable, supply authoritative CVE assignments, or validate current ATT&CK coverage.
Discover candidate CWE IDs through cwe_search_weaknesses; discover CWE view IDs through cwe_list_reference. A CWE view and a weakness share the CWE namespace but serve different purposes. CAPEC IDs come from weakness relations, cwe_search_attack_patterns, or CAPEC category/view members. Keep the prefix when carrying an ID between tools: a bare number takes the receiving tool's catalog family.
cwe_list_reference versions and refresh health. Preserve the catalog dates and source status in the conclusion; a live hierarchy and loaded record details can disagree. Verify a recorded ATT&CK mapping against current ATT&CK material before presenting it as current coverage.For a reported vulnerability, search from the described failure mechanism, then retrieve promising CWE definitions. Compare their mapping notes and ordinalities with the finding before selecting a root cause. Retrieve applicable mitigation, platform, detection, or example sections to support the explanation. Keep the narrative beside each example's code: the source can present vulnerable, corrected, and attack code in the same example.
From the selected CWE, follow its recorded CAPEC relations or use cwe_search_attack_patterns, then retrieve candidate prerequisites and execution flow with cwe_get_attack_pattern. Check that the described preconditions and method fit the scenario before carrying the mapping into the assessment.
Finding candidates when the first search misses. Text filters require all tokens; use mechanism terms rather than a full incident narrative. Single-hyphen compounds also match their exact closed spelling (hardcoded for hard-coded); spaces and other dashes remain distinct. Try the catalog's recorded alternate terminology. Discover exact platform and other vocabulary with cwe_list_reference rather than guessing labels. When a platform notice suggests an independent-class repeat, change only the named field, start without the old cursor, and deduplicate the combined results by CWE ID. The class describes recorded metadata; assess applicability from each weakness's mechanism. If recorded CVE or taxonomy evidence is absent, search from the vulnerability description and report the distinction between a candidate classification and a recorded mapping.
Exploring related attacks. CWE-to-CAPEC search matches the exact recorded CWE ID, without expanding its hierarchy. If the task covers a weakness family, discover the relevant CWE descendants in the intended view and examine their mappings separately. Keep each pattern's recorded CWE relationship attached to it. For ATT&CK-led research, a parent technique search includes recorded subtechniques; retain the specific technique IDs returned rather than attributing every result directly to the parent.
Reading lists and navigating classifications. Discover a CWE view, then read its objective, audience, and source status with cwe_get_view before using it as the requested list. Preserve its published direct-member order when reporting that list. Use cwe_search_weaknesses for the view's weakness membership closure and cwe_get_hierarchy for paths or relatives. An empty member array on a filter-defined view requires inspecting its filter and guidance; it does not establish an empty classification. Keep view identity attached to hierarchy edges, including multiple parents.
Browsing CAPEC by mechanism or domain. Retrieve CAPEC-1000 or CAPEC-3000 with cwe_get_attack_pattern, follow its member categories, then retrieve their pattern members. Select a pattern's relations and follow childAttackPatterns for more specific patterns; inspect each child's status because these rows include inactive entries. CWE view discovery does not list CAPEC views. Read a CAPEC record's type before treating it as attack mechanics; categories and views provide navigation.
Choosing detail and continuing results. Default and explicitly selected detail sections return complete. Use sections: [] to inspect available sections and sizes before a large read, then select the evidence needed. Follow deferred IDs, example continuation, and list cursors. If live hierarchy fails, retrieve source-recorded weakness relations and catalog health, label the evidence as recorded relations, and leave the live traversal unresolved. Recorded relations do not replace live children or descendants. Restart a traversal after an incompatible cursor rather than combining different snapshots.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
mitre-cwe-mcp-server@cyanheads is listed by cyanheads/cyanheads — review the source before installing
npx claudepluginhub cyanheads/cyanheads --plugin mitre-cwe-mcp-server