Skip to main content

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

  1. Settings → Connectors → Create (Developer mode required)
  2. Paste https://www.trychargeguard.com/mcp
  3. The 4 tools appear in your toolset. Ask "what does Visa reason code 13.2 require?"

Tools

Public REST API

Same data as plain JSON. Read-only, no auth, cached 24h.

MethodPathReturns
GET/api/public/reason-codesAll 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/deadlinesResponse windows per gateway and network
POST/api/audit-requestFree 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.