Developers
ChargeGuard for AI agents & developers
Every piece of ChargeGuard reference intelligence is available outside the app: an MCP server for ChatGPT, Claude and every MCP client, a public REST API, and a free npm CLI. No account needed, read-only, free.
MCP server
Streamable HTTP, stateless JSON-RPC 2.0, POST only. Works as a ChatGPT custom connector (Developer mode), in Claude, Cursor, or any MCP client.
Endpoint: https://www.trychargeguard.com/mcp
Auth: none (read-only)
Transport: MCP streamable HTTP (JSON responses)Connect in ChatGPT
- Settings → Connectors → Create (Developer mode required)
- Paste
https://www.trychargeguard.com/mcp - The 4 tools appear in your toolset. Ask "what does Visa reason code 13.2 require?"
Tools
list_reason_codesLists the 9 covered card-network reason codes (Visa, Mastercard, Amex) with one-line summaries.
lookup_reason_codeOne code: what it means, the evidence that wins the representment, the response window, full guide URL.
get_response_deadlinesResponse windows per gateway (Stripe, PayPal, Braintree, Adyen, Shopify Payments) and per network.
request_chargeback_auditSubmits the free store audit through the same pipeline as the website form (rate-limited, spam-checked).
Public REST API
Same data as plain JSON. Read-only, no auth, cached 24h.
| Method | Path | Returns |
|---|---|---|
| GET | /api/public/reason-codes | All 9 reason codes. Optional ?network=visa|mastercard|amex |
| GET | /api/public/reason-codes/{slug} | One code: meaning, winning evidence, window, gateway notes |
| GET | /api/public/deadlines | Response windows per gateway and network |
| POST | /api/audit-request | Free store audit. Body: store_url, email, company, platform, notes |
npm CLI
npm install -g chargeguard
chargeguard codes # the 9 reason codes
chargeguard code 13.2 # meaning, winning evidence, window
chargeguard deadlines # windows per gateway and network
chargeguard audit --url https://mystore.com \
--email [email protected] --company "My Store"Package: npmjs.com/package/chargeguard · zero dependencies, Node 18+, MIT.
Go further
Want the full pipeline (dispute sync, AI-drafted evidence letters, deadline tracking, multi-gateway)? That is the ChargeGuard app, from $149/mo flat. Need humans on it? Done-for-you defense. Questions about the API or MCP: contact us.