Skip to main content
Glama

Server Details

Explore MITRE CWE weaknesses, CAPEC attack patterns, mitigations, code examples, and mappings.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
cyanheads/mitre-cwe-mcp-server
GitHub Stars
1
Server Listing
mitre-cwe-mcp-server
ChatGPT
–
Claude
–

TDQS

A4.2/5.0

Scored across 7 tools

Disambiguation4/5

Each tool targets a fairly distinct resource+action pair: weaknesses, attack patterns, views, hierarchy traversal, and reference browsing/search. The main friction is between cwe_get_view and cwe_get_hierarchy, which both surface organizational structure by view, but the descriptions explicitly cross-reference each other to say which to use when.

Naming Consistency5/5

All seven tools use the cwe_ prefix followed by a consistent verb_noun pattern (get_/list_/search_ + resource). Pluralization is applied predictably for search/list of many (cwe_search_weaknesses, cwe_list_reference) and singular for single retrieval (cwe_get_weakness).

Tool Count5/5

Seven tools is well-scoped for a read-only catalog server covering two related ontologies (CWE, CAPEC) plus views and reference vocabulary. Each tool earns its place with no redundant filler, and the set stays below the point where overlapping retrieval tools would become hard to manage.

Completeness4/5

The surface covers the core read-only lifecycle: search and full retrieval for weaknesses and attack patterns, view metadata, hierarchy traversal, and reference/vocabulary listing. Minor gaps exist around explicit taxonomy/ATT&CK mapping lookups and CVE-to-weakness traversal, which are only reachable indirectly through search filters rather than dedicated operations.

Available Tools

7 tools
cwe_get_attack_patternRetrieve CAPEC attack patternsA
Read-onlyIdempotent
Inspect

Retrieve CAPEC attack patterns, categories, and views by ID, such as CAPEC-66, CAPEC66, or 66, including Deprecated and Obsolete records; each entry’s type says which. Processes the first 20 distinct positions in submission order and lists later positions in deferredIds; a CWE ID or an item that is no ID returns in notFound with recovery guidance; only an item holding a control character other than whitespace, or a non-ID item over 150 characters, rejects the whole call. Patterns default to summary, prerequisites, execution, mitigations, and mappings. Request relations on a pattern for its recorded relationships and direct childAttackPatterns. Categories and views default to summary (the category summary or view objective) and relations (members in source order, or a filter-defined view’s source XPath filterDefinition). Views CAPEC-1000 (Mechanisms of Attack) and CAPEC-3000 (Domains of Attack) are entry points for browsing patterns by category. Request notes for recorded MITRE notes. Selected sections are complete; an empty sections array requests an outline with section sizes. Recorded CWE and ATT&CK mappings are incomplete and do not establish current ATT&CK validation.

Inputs: ids (required), sections. Returns: cap, error, shown, notice, +7 more

cwe_get_hierarchyGet CWE hierarchyA
Read-onlyIdempotent
Inspect

Navigate live CWE parents, children, ancestors, or descendants for a weakness, category, grouping, or view. Discover IDs with cwe_search_weaknesses or cwe_list_reference topic views. The default view is 1000; set viewId all for every view. primaryOnly applies only to ancestors. Edges point from parent to child and retain view identity; follow nextCursor for more edges. Continuations re-fetch the traversal and reject changed topology. Empty relations are successful; upstream failures remain errors. Node names come from the loaded catalog and may lag live IDs.

Inputs: id (required), direction (required), limit, cursor, +2 more. Returns: id, cap, edges, error, +15 more

cwe_get_viewGet CWE viewA
Read-onlyIdempotent
Inspect

Read a CWE view objective, audience, status, source filter, recorded notes, and direct members in published order. Navigation views list top-level members rather than every descendant; use cwe_get_hierarchy for navigation or cwe_search_weaknesses with viewId for weakness membership closure. A filter-defined (Implicit) view lists no members: its filterDefinition is the source XPath that defines membership, and cwe_search_weaknesses with its viewId returns the weaknesses that filter selects; when the filter has a part this server does not evaluate, the guidance says so and that search returns none with a disclosure. Unknown and non-view IDs return a structured miss. Follow nextCursor for remaining direct members.

Inputs: id (required), limit, cursor. Returns: id, cap, name, type, +18 more

cwe_get_weaknessRetrieve CWE weaknessesA
Read-onlyIdempotent
Inspect

Retrieve CWE weaknesses, categories, or groupings by ID, such as CWE-79, CWE79, or 79. Processes the first 20 distinct positions in submission order and lists later positions in deferredIds; a view, a CAPEC ID, or an item that is no ID returns in notFound with recovery guidance; only an item holding a control character other than whitespace, or a non-ID item over 150 characters, rejects the whole call. Defaults to summary, consequences, mitigations, and relations. Summary carries recorded alternate terms such as XSS, ordinalities (Primary, Resultant, Indirect), and background details; the notes section, outside the defaults, returns every note MITRE records, such as Relationship, Maintenance, Terminology, and Research Gap notes. Selected sections are complete; an empty sections array requests an outline with section sizes. exampleLanguage, exampleOffset, and exampleLimit select a complete source-ordered page of section examples: with sections omitted, setting any of them to a non-default value adds examples after the defaults; explicit sections without examples ignore them, and guidance gives the re-call that adds examples. Categories and groupings are organizational entries, not vulnerability root causes.

Inputs: ids (required), sections, exampleLimit, exampleOffset, +1 more. Returns: cap, error, shown, notice, +7 more

cwe_list_referenceList CWE and CAPEC reference valuesA
Read-onlyIdempotent
Inspect

List loaded CWE/CAPEC vocabulary, every CWE view, workflow guidance, or catalog versions and refresh health. Filter requires every whitespace-separated token in an item label, each at a word start or camelCase hump (script finds JavaScript). Tokens of at least four Unicode letters also match after exactly one un or mis prefix at a word start; spelling coincidences can match. An exact closed spelling also matches Unicode letter words joined by single ASCII hyphens. Omit filter to browse. Platforms distinguishes example code languages from platform names and classes. Follow nextCursor for complete lists; limits above 100 are capped with disclosure.

Inputs: topic (required), limit, cursor, filter. Returns: cap, error, items, shown, +8 more

cwe_search_attack_patternsSearch CAPEC attack patternsA
Read-onlyIdempotent
Inspect

Search CAPEC attack patterns by every whitespace-separated text token, recorded CWE or ATT&CK mapping, abstraction, severity, or likelihood. Text tokens match at word starts or camelCase humps; tokens of at least four Unicode letters also match after exactly one un or mis prefix at a word start (config finds misconfiguration), with possible spelling coincidences. An exact closed spelling also matches Unicode letter words joined by single ASCII hyphens (hardcoded finds hard-coded). Parent ATT&CK techniques include recorded subtechniques; CWE mappings are exact without hierarchy expansion. Omit filters to browse. Deprecated and Obsolete patterns are excluded by default. Mappings are incomplete and do not validate current ATT&CK coverage. Results order by all tokens in the name or in one recorded alternate term such as MITM, then all in the description, then any other match, then numeric ID; use cwe_get_attack_pattern for complete sections and follow nextCursor for remaining matches.

Inputs: cweId, limit, cursor, filter, +5 more. Returns: cap, error, shown, notice, +6 more

cwe_search_weaknessesSearch CWE weaknessesA
Read-onlyIdempotent
Inspect

Search CWE weaknesses by all text tokens, exact platform or consequence vocabulary, abstraction, status, mapping usage, view membership, a recorded taxonomy mapping (taxonomy name or entry ID such as CERT C ARR30-C), or a CVE that MITRE cites as an observed example. Text tokens match at word starts or camelCase humps; tokens of at least four Unicode letters also match after exactly one un or mis prefix at a word start (trusted finds untrusted), with possible spelling coincidences. An exact closed spelling also matches Unicode letter words joined by single ASCII hyphens (hardcoded finds hard-coded). Text never matches an entry ID or CVE. When replacing one platform filter with its platform-independent class adds matches, a notice gives that repeat. Omit filters to browse; categories and groupings are excluded. Each result carries MITRE’s mapping usage, which says whether the entry may be used to map a vulnerability, and, under a taxonomy or CVE filter, every mapping or observed example that matched. Results order by all tokens in the name or in one recorded alternate term such as XSS, then all in the description, then any other match, then numeric ID. Description previews contain the first sentence; use cwe_get_weakness for complete sections. Follow nextCursor for remaining matches.

Inputs: limit, cursor, filter, status, +9 more. Returns: cap, error, shown, notice, +6 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying MITRE Common Weakness Enumeration (CWE) data, including weaknesses, categories, views, and their relationships, through natural language or direct tools.
      308 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Search and filter public CVEs and read any of them in full, with CVSS scores, CISA KEV and EPSS, and profile vendors. Read-only, free and open source.
      32
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables querying the MITRE ATT\&CK framework for adversarial tactics, techniques, mitigations, and detection methods through natural language, supporting both ID-based and fuzzy name-based searches.
      3
      -
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.