# PCI DSS v4.0.1 Compliance Checker

PCI DSS v4.0.1 Compliance Checker is an MCP server for Claude Code that scans Go payment service codebases against PCI DSS v4.0.1. Every finding maps to a numbered requirement.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5 repo stars
- Author: shyshlakov
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/shyshlakov/pci-dss-mcp
- Updated: 2026-10-19
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/pci-dss-v401-compliance-checker

## What it does

The server runs 12 scanners over Go code and returns violations tagged with PCI DSS v4.0.1 requirement IDs. It catches HTTP input leaking into logs (supports `gin`, `chi`, `echo`, `fiber`, `slog`, `zap`, `logrus`), PAN and SAD storage, weak encryption, insecure TLS, hardcoded passwords, missing audit logs, vulnerable dependencies via OSV, and absent CSP on payment pages.

Requires Go 1.25+ on the host for `go install`; the Docker image runs without local Go. This server does not replace a QSA audit: static analysis covers roughly 6% of the standard; a certified auditor must sign off on the rest. Use Semgrep or CodeQL for broad SAST; this tool targets payment services.

The `triage_findings` tool runs all scanners and groups results by requirement; `generate_compliance_report` returns JSON with pass/fail status per requirement. Other tools check individual aspects: `scan_pan_data`, `check_encryption`, `check_tls_config`, `audit_log_coverage`, and more.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add pci-dss-v401-compliance-checker -- docker run -i --rm ghcr.io/shyshlakov/pci-dss-mcp:v0.7.1
```

### Codex

**Platform CLI**
```bash
codex mcp add pci-dss-v401-compliance-checker -- docker run -i --rm ghcr.io/shyshlakov/pci-dss-mcp:v0.7.1
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "pci-dss-v401-compliance-checker": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/shyshlakov/pci-dss-mcp:v0.7.1"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "pci-dss-v401-compliance-checker": {
            "type": "stdio",
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/shyshlakov/pci-dss-mcp:v0.7.1"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add pci-dss-v401-compliance-checker docker run -i --rm ghcr.io/shyshlakov/pci-dss-mcp:v0.7.1
```

## When to use it
- Check Go payment service code against PCI DSS v4.0.1
- Find PAN and SAD leaks in logs and errors
- Detect weak encryption and hardcoded keys
- Verify audit log coverage on payment operations
- Generate CycloneDX SBOM from `go.mod`

## Example prompts
- Run `triage_findings` on `/home/user/payments-service` with `min_severity=MEDIUM` and group by PCI DSS requirement
- Generate a JSON compliance report for `/home/user/payments-service` with severity counts per requirement
- Check `/home/user/payments-service` for PAN storage in database and logs

## Similar
- [pci-dss-compliance](https://affpapa.org/en/nevibecode/skills/pci-dss-compliance.md) — skill · 362 installs
- [pci-dss-scoping](https://affpapa.org/en/nevibecode/skills/pci-dss-scoping.md) — skill · 668 installs
- [pci-dss-specialist](https://affpapa.org/en/nevibecode/skills/pci-dss-specialist.md) — skill · 106 installs
- [compliance-checker](https://affpapa.org/en/nevibecode/skills/compliance-checker.md) — skill · 257 installs
- [pci-audit](https://affpapa.org/en/nevibecode/skills/pci-audit.md) — skill · 407 installs
- [pci-compliance](https://affpapa.org/en/nevibecode/skills/sickn33-pci-compliance.md) — skill · ★ 50109 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
