@merchantguard/guard
The compliance layer for payments & AI agents. Install once. Compliance everywhere.
Install
npm install @merchantguard/guard
Quick Start
import { createClient } from '@merchantguard/guard';
const guard = createClient({ apiKey: 'gsk_...' });
const score = await guard.guardscore.calculate({
chargebackRatio: 0.012,
vertical: 'cbd',
});
const decision = await guard.coach.ask('cbd', 'Is my product listing compliant?', {
monthly_volume: 50000,
region: 'US',
});
const alerts = await guard.alerts.list({ verticals: ['cbd', 'crypto'] });
const psps = await guard.psp.match({
vertical: 'cbd',
monthly_volume: 50000,
region: 'US',
});
What's Included
| GuardScore | Risk score (0-100) personalized to your business |
| 14 AI Coaches | Vertical-specific compliance coaching (CBD, crypto, nutra, adult, gaming, etc.) |
| Compliance Alerts | 50+ real-time regulatory and PSP policy alerts |
| PSP Matching | Find your best payment processor from 24+ PSPs |
| Passport | On-chain compliance identity (Base mainnet) |
| Wallet Verification | Check any wallet's compliance status |
Also Available
MCP
For Claude, Cursor, and other MCP-compatible tools:
{
"mcpServers": {
"guard": {
"url": "https://merchantguard-mcp.run.app"
}
}
}
API
curl -X POST https://www.merchantguard.ai/api/v2/guard \
-H "Content-Type: application/json" \
-d '{"intent":"onboard_merchant","business":{"name":"My Store","description":"CBD products online"}}'
Links
License
MIT