# ASVS Security Assistant

> ASVS Security Assistant is an open-source MCP server for security. Offline OWASP ASVS 5.0 lookups, checklists and security scans for AI assistants. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows, Self-hosted
- **Repository:** https://github.com/itssaeedyari/mcp-server-asvs-security-assistant
- **MCP Registry name:** io.github.itssaeedyari/mcp-server-asvs-security-assistant
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

Connects an AI assistant to the OWASP Application Security Verification Standard 5.0.0, bundled with the package so lookups work without a network connection. You can fetch a requirement by ID, search the 345 requirements in everyday language, and generate a checklist for level 1, 2 or 3.

Beyond reference material, it runs heuristic scanners over code snippets, raw HTTP response headers, nginx configuration and whole project folders. Each finding is tied to an ASVS requirement, its level, a CWE and, where mapped, PCI DSS identifiers. Secret values and cookie contents are masked in the output.

The server is aimed at developers and security reviewers who want requirement-level guidance during design or code review. Because the scanners are line-based, their output is meant as leads for a human review rather than proof of compliance.

## Features

- **Requirement lookup by ID:** Retrieves a single ASVS requirement, a section or a whole chapter using standard 5.0.0 numbering.
- **Plain-language search:** Ranks requirements with BM25 search, expands common security acronyms and can filter by level or chapter.
- **Level checklists:** Builds a markdown checklist of every requirement applying at a chosen level, grouped by chapter and section.
- **Code security scanning:** Flags injection, weak cryptography, hardcoded secrets, unsafe deserialization and similar issues across several languages.
- **Header and nginx auditing:** Checks HSTS, CSP, cookie attributes, CORS, TLS settings and version disclosure in response headers or nginx config.
- **Project-wide audit:** Walks a local folder read-only and groups findings by severity, requirement, chapter and level.

## Good for

- Finding which ASVS requirements apply to a login or session feature before building it
- Reviewing a code change for injection or weak cryptography before merging
- Checking HTTP security headers and nginx settings on a staging server
- Producing a level-based security checklist for a development team
- Running a read-only gap analysis across a project folder

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp-server-asvs-security-assistant -- uvx mcp-server-asvs-security-assistant
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp-server-asvs-security-assistant": {
      "command": "uvx",
      "args": [
        "mcp-server-asvs-security-assistant"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-server-asvs-security-assistant": {
      "command": "uvx",
      "args": [
        "mcp-server-asvs-security-assistant"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server-asvs-security-assistant": {
      "command": "uvx",
      "args": [
        "mcp-server-asvs-security-assistant"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp-server-asvs-security-assistant": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-asvs-security-assistant"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp-server-asvs-security-assistant -- uvx mcp-server-asvs-security-assistant
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp-server-asvs-security-assistant]
command = "uvx"
args = ["mcp-server-asvs-security-assistant"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp-server-asvs-security-assistant": {
      "command": "uvx",
      "args": [
        "mcp-server-asvs-security-assistant"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user mcp-server-asvs-security-assistant uvx -- mcp-server-asvs-security-assistant

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-server-asvs-security-assistant": {
      "command": "uvx",
      "args": [
        "mcp-server-asvs-security-assistant"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-server-asvs-security-assistant": {
      "command": "uvx",
      "args": [
        "mcp-server-asvs-security-assistant"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp-server-asvs-security-assistant": {
      "command": "uvx",
      "args": [
        "mcp-server-asvs-security-assistant"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp-server-asvs-security-assistant": {
      "command": "uvx",
      "args": [
        "mcp-server-asvs-security-assistant"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp-server-asvs-security-assistant": {
      "command": "uvx",
      "args": [
        "mcp-server-asvs-security-assistant"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server-asvs-security-assistant": {
      "command": "uvx",
      "args": [
        "mcp-server-asvs-security-assistant"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server-asvs-security-assistant": {
      "command": "uvx",
      "args": [
        "mcp-server-asvs-security-assistant"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-server-asvs-security-assistant": {
      "command": "uvx",
      "args": [
        "mcp-server-asvs-security-assistant"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 3 of 7 tools read data; 4 names don't say. From the server's own tool labels and tool names; not verified by us.

- `get_asvs_requirement` (name suggests: reads): Returns a requirement, section or chapter record from ASVS 5.0.0.
- `search_asvs_requirements` (name suggests: reads): Ranks ASVS requirements for a plain-language query with level and chapter filters.
- `generate_asvs_checklist`: Creates a markdown checklist for a chosen ASVS level and optional chapter.
- `get_pci_dss_mapping` (name suggests: reads): Maps ASVS requirements to PCI DSS v4.0.1 IDs and back.
- `scan_code_for_security_issues`: Scans a code snippet for common security weaknesses.
- `audit_http_security_headers`: Audits raw HTTP response headers or nginx configuration.
- `audit_directory`: Runs a read-only gap analysis over a local project folder.

## FAQ

### Does ASVS Security Assistant need a network connection to work?

The standard ships with the package, and the server makes no network or subprocess calls, so lookups and scans run offline.

### Which languages does the code scanner cover?

Python, JavaScript/TypeScript, Java, PHP, Go, Ruby and C#, plus a generic mode.

### How do I install ASVS Security Assistant?

Add it to an MCP client with the command uvx mcp-server-asvs-security-assistant. Docker images are also published.

### Is ASVS Security Assistant an official OWASP product?

No. It is an independent community project and is not affiliated with or certified by the OWASP Foundation.

### Is ASVS Security Assistant free?

Yes. ASVS Security Assistant is open source, so you can use and self-host it for free.

### How do I add ASVS Security Assistant to Claude Code?

Run this command in your terminal: claude mcp add mcp-server-asvs-security-assistant -- uvx mcp-server-asvs-security-assistant

### What are the best alternatives to ASVS Security Assistant?

The closest alternatives to ASVS Security Assistant are WebSecAuditor AI Cybersecurity & Vulnerability Auditor, GapScan, CodeInspectus, AI Tool Audit and SafeWeave.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [WebSecAuditor AI Cybersecurity & Vulnerability Auditor](https://ai-powered.com/mcp/websecauditor-ai-cybersecurity-and-vulnerability-auditor): WebSecAuditor AI Cybersecurity & Vulnerability Auditor is an open-source MCP server for security.
- [GapScan](https://ai-powered.com/mcp/gapscan): GapScan is a freemium MCP server for security.
- [CodeInspectus](https://ai-powered.com/mcp/codeinspectus): CodeInspectus is an open-source MCP server for security.
- [AI Tool Audit](https://ai-powered.com/mcp/ai-tool-audit): AI Tool Audit is an open-source MCP server for security.
- [SafeWeave](https://ai-powered.com/mcp/safeweave): SafeWeave is a freemium MCP server for security.
- [AIShield Security Scanner](https://ai-powered.com/mcp/aishield-security-scanner): AIShield Security Scanner is an open-source MCP server for security.
- [OSV Open Source Dependency CVE Scanner MCP Server](https://ai-powered.com/mcp/osv-open-source-dependency-cve-scanner-mcp-server): OSV Open Source Dependency CVE Scanner MCP Server is a paid MCP server for security.
- [vibe-shield — security scanner for AI-generated code](https://ai-powered.com/mcp/vibe-shield-security-scanner-for-ai-generated-code): vibe-shield — security scanner for AI-generated code is a free MCP server for security.

---
Source: https://ai-powered.com/mcp/asvs-security-assistant
