Skip to content
MCP server

Mitre Cwe MCP Server

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

Install
Pricing
Open source
Runs
Locally or Remotely
Version
0.3.0
Listing updated
4 days ago

About Mitre Cwe MCP Server

Mitre Cwe MCP Server is an open-source MCP server. It can run locally on your machine or as a hosted remote server.

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

Install

Run in a terminal

claude mcp add --transport http mitre-cwe-mcp-server https://mitre-cwe.caseyjhand.com/mcp

Add to Settings → Connectors → Add custom connector

https://mitre-cwe.caseyjhand.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mitre-cwe-mcp-server": {
      "url": "https://mitre-cwe.caseyjhand.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mitre-cwe-mcp-server": {
      "type": "http",
      "url": "https://mitre-cwe.caseyjhand.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mitre-cwe-mcp-server": {
      "serverUrl": "https://mitre-cwe.caseyjhand.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mitre-cwe-mcp-server": {
      "type": "http",
      "url": "https://mitre-cwe.caseyjhand.com/mcp"
    }
  }
}

Configuration

  • MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
  • CWE_CACHE_DIRDirectory for the last good MITRE catalog downloads, loaded at start without waiting on MITRE. Defaults to mitre-cwe-mcp-server under the user cache directory.
  • MCP_TRANSPORT_TYPESelects the HTTP transport.
  • MCP_HTTP_HOSTThe hostname for the HTTP server.
  • MCP_HTTP_PORTThe port to run the HTTP server on.
  • MCP_HTTP_ENDPOINT_PATHThe endpoint path for the MCP server.
  • MCP_AUTH_MODEAuthentication mode to use: 'none', 'jwt', or 'oauth'.
  • MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
  • CWE_CACHE_DIRDirectory for the last good MITRE catalog downloads, loaded at start without waiting on MITRE. Defaults to mitre-cwe-mcp-server under the user cache directory.

Pricing

Open source

Mitre Cwe MCP Server FAQ

Is Mitre Cwe MCP Server free?

Yes. Mitre Cwe MCP Server is open source, so you can use and self-host it for free.

How do I add Mitre Cwe MCP Server to Claude Code?

Run this command in your terminal: claude mcp add --transport http mitre-cwe-mcp-server https://mitre-cwe.caseyjhand.com/mcp