Guard

AIVory Claude Code Plugin

Bring comprehensive compliance validation directly into your Claude Code workflow. The AIVory plugin enables real-time scanning against 18+ compliance standards, AI-generated code detection, and interactive remediation - all through intuitive slash commands.

  • 18+ Compliance Standards - OWASP, GDPR, HIPAA, PCI-DSS, SOC2, ISO 27001, and more
  • Slash Commands - /aiv:scan, /aiv:fix, /aiv:review, /aiv:dashboard
  • AI Code Detection - Identify AI-generated patterns for enhanced security review
  • Interactive Remediation - Fix violations with compliance-aware suggestions
  • Dashboard Integration - Track metrics, trends, and violation hotspots
Note Add AIVory instructions to your CLAUDE.md file for automatic compliance scanning after every code change.

Quick Start

Get up and running with AIVory in minutes.

1. Install Plugin
/plugin marketplace add aivorynet/claude-marketplace
/plugin install aiv
2. Initialize Project
/aiv:init

Run the setup wizard to select standards and configure options.

3. Start Scanning
/aiv:scan

Scan your code for compliance violations immediately.


Slash Commands

All functionality is accessible through intuitive slash commands.

/aiv:init
Project setup wizard. Select compliance standards, configure MCP server, and install git hooks.
/aiv:scan
Quick compliance scan. Check files or directories against selected standards.
/aiv:review
Deep PR review. Comprehensive multi-standard analysis for pull requests.
/aiv:fix
Interactive remediation. Fix violations with AI-powered, compliance-aware suggestions.
/aiv:dashboard
Compliance metrics. View violation trends, hotspots, and compliance scores.
Command Examples

Scan current directory:

/aiv:scan

Scan specific file:

/aiv:scan src/UserService.java

Scan with specific standards:

/aiv:scan --standards=OWASP,GDPR

Review a pull request:

/aiv:review 123

Compliance Standards

Validate your code against 18+ industry compliance frameworks.

Security
OWASP Top 10
Healthcare
HIPAA
Finance
PCI-DSS, SOC 2, AML, DORA, GwG
Privacy
GDPR, CCPA, DSGVO
Information Security
ISO 27001, ISO 27017, ISO 27018, TISAX
Regulatory
NIS2, EU AI Act, HinSchG

Working with Claude

To get the best results, explicitly instruct Claude to scan your code with AIVory and apply the feedback.

Note Claude needs to be instructed to run AIVory scans, review results, and apply fixes. It won’t scan automatically unless you ask or configure it in your CLAUDE.md file.

Example Prompts

"Please scan this code against AIVory compliance standards and fix any issues."
"Scan this file for OWASP and GDPR violations using AIVory, then fix the violations."
"I'm working on a user authentication system. Please scan it for OWASP compliance and fix any security issues."
Automatic Scanning with CLAUDE.md (Recommended)

Add this to your project’s CLAUDE.md file to ensure Claude automatically scans code after generating it:

## AIVory Compliance Scanning

When writing or modifying code:
1. Write the code as requested
2. Call /aiv:scan to check for compliance violations
3. Review the scan results and fix any violations found
4. Re-scan to verify fixes before completing the task

Always scan and fix violations before marking a task complete.

This ensures Claude automatically scans code it writes, reviews the compliance feedback from AIVory, and fixes violations before completing tasks.


Specialized Agents

The plugin includes specialized agents optimized for different compliance tasks.

compliance-scanner
Multi-standard compliance analysis across all 18+ frameworks.
ai-code-detector
Detect AI-generated code patterns with confidence scoring.
security-remediator
Generate compliance-aware fixes with before/after comparison.
compliance-architect
Architecture and design review for compliance patterns.

Authentication & Limits

Free Tier

No registration required

  • OWASP Top 10 scanning
  • 15 files per scan
  • 3 scans per day
Authenticated Premium

Unlimited access

  • All 18+ compliance standards
  • No rate limits
  • Dashboard access & team features
Success Get authenticated access with all 18+ compliance standards at app.aivory.net/register/plans.

MCP Server Integration

The Claude Code plugin uses the AIVory Guard MCP server for compliance scanning.

# Install MCP server (free tier)
claude mcp add --transport stdio aivory -- npx -y @aivorynet/guard

# With authentication (all standards)
claude mcp add \
  --transport stdio \
  --env AIVORY_API_KEY=your-api-key \
  aivory \
  -- npx -y @aivorynet/guard
Troubleshooting MCP Setup

Server not connecting?

  • Verify Node.js 18+ is installed: node --version
  • Check npm can access the package: npm view @aivorynet/guard
  • Restart Claude Code after adding the MCP server

Authentication issues?

  • Verify your API key at app.aivory.net
  • Ensure the environment variable is set correctly
  • Check for typos in the API key

Need more help?


Resources


Next Steps


Need Help?

Support & FAQ

Can’t find what you’re looking for? We’re here to help.