ClawGuard MCP Server
Scan AI agent inputs for prompt injection threats — directly from Claude Desktop, Claude Code, Cursor, or any MCP client.
ClawGuard MCP connects ClawGuard Shield — an AI security scanning API with 225 detection patterns — to any tool that supports the Model Context Protocol.
Quick Start
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"clawguard": {
"command": "uvx",
"args": ["clawguard-mcp"],
"env": {
"CLAWGUARD_API_KEY": "cgs_your_api_key_here"
}
}
}
}Claude Code
claude mcp add clawguard -- uvx clawguard-mcpThen set your API key in the environment.
Get a Free API Key
Sign up at prompttools.co/api/v1/ — the free tier includes 100 scans/day.
Tools
| Tool | Description |
|---|---|
scan_text |
Scan a single text for prompt injection threats |
scan_batch |
Scan up to 10 texts in one call |
get_patterns |
List all 225 detection patterns by category |
get_usage |
Check your API usage and remaining quota |
health_check |
Verify the Shield API is running |






