stripe-chargeback-dispute-evidence-automator-mcp
Audits merchant chargeback ratios against Mastercard Excessive Chargeback Merchant thresholds and supports Mastercard reason-code dispute automation.
Compiles and prepares Stripe dispute evidence payloads for stripe.disputes.update(), including customer communication, access logs, policy disclosures, and legal rebuttal briefs for common dispute reason codes.
Evaluates Visa Compelling Evidence 3.0 eligibility using prior transactions and matching data elements, and audits merchant chargeback ratios against Visa VDMP thresholds.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@stripe-chargeback-dispute-evidence-automator-mcpcheck Visa CE 3.0 eligibility and compile evidence for dispute dp_123"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
stripe-chargeback-dispute-evidence-automator-mcp
Autonomous Stripe Chargeback & Dispute Evidence Compiler MCP Server (Visa CE 3.0 & Mastercard Reason Code Automation)
π Live Interactive Storefront & Instant URL Grader: https://ronanchnlps-bit.github.io | π 200 Live Enterprise Audit Dossiers: https://ronanchnlps-bit.github.io/dossiers/index.html
β‘ Instant Zero-Install Execution (npx)
npx -y github:ronanchnlps-bit/stripe-chargeback-dispute-evidence-automator-mcp --helpRelated MCP server: genpark-agentic-multimodal-product-return-fraud-detector-skill
π³ Commercial Licensing & 48-Hour Done-For-You Remediation Sprints (Zero-Call Async Checkout)
Tier | Deliverable | Price | Instant Checkout (PayPal / Card) |
1. Pro Commercial License | Unlimited CI/CD & Production Repos + Commercial SARIF/VPAT Export | $79.00 | |
2. Instant Quick-Fix Patch Pack | Pre-Built Edge Worker + | $99.00 | |
3. 48-Hour Done-For-You Sprint | Full Turnkey Pull Request Remediation + Signed ITI VPAT 2.5 ACR + 7-Day SLA | $1,497.00 | |
4. Continuous Monthly Retainer | Automated Weekly Drift Scans + PR Gatekeeping + Certificate Renewal | $299/mo |
Stripe Chargeback & Dispute Defense Evidence Automator MCP Server, CLI & Interactive Studio
Commercial-grade autonomous Stripe chargeback defense engine, Visa Compelling Evidence 3.0 (CE 3.0) verification protocol, and card network dispute monitoring (VDMP/ECM) revenue recovery system.
Built for SaaS founders, digital product merchants, and e-commerce platforms losing 1%β2.5% of gross GMV to friendly fraud. Zero paid API keys required.
β‘ The Friendly Fraud Problem & The Visa CE 3.0 Solution
Online merchants lose billions annually to friendly fraudβlegitimate customers claiming charges were "unrecognized" (fraudulent), that they "canceled before renewal" (subscription_canceled), or that "software wasn't delivered" (product_not_received). Manual evidence submission has an abysmal 15%β22% win rate.
The Visa CE 3.0 Breakthrough (April 2023 Mandate)
Under Visa Compelling Evidence 3.0 (CE 3.0), card issuers must dismiss 10.4 fraud disputes and shift financial liability back to the merchant if the merchant proves:
2+ Prior Undisputed Settled Transactions: Processed between 120 and 365 calendar days before the disputed transaction.
2+ Matching Core Data Elements: The disputed transaction and historical charges must share at least two matching data points:
Customer IP Address (
ipAddress/customer_ip)Device ID / Fingerprint (
deviceId/device_fingerprint)Billing / Shipping Address Hash (
billingAddressHash)Customer Account ID (
userAccountId/customer_id)Customer Email (
customerEmail)
Cryptographic Proof of Agreement: Time-stamped Terms of Service SHA-256 acceptance receipt and active session telemetry.
This engine automates 100% of the CE 3.0 qualification pipeline and elevates dispute win rates from ~20% to 85%β96%.
π οΈ System Architecture & Capabilities
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β STRIPE DISPUTE DEFENSE & REVENUE RECOVERY SUITE β
ββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββ€
β MCP Stdio Server β Tools: check_visa_ce30, compile_stripe, audit β
ββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββ€
β CLI Tool β dispute-automator --scenario <1-6> | audit β
ββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββ€
β Interactive Studio β dist/dispute-evidence-studio.html (Dark UI) β
ββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββ€
β Stripe Update Payload β customer_communication, access_activity_log, β
β β refund_policy_disclosure, cancellation_policy,β
β β service_documentation, uncategorized_text β
ββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββ€
β Card Scheme Monitor β Visa VDMP (0.90%) & Mastercard ECM (1.00%) β
ββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββπ¦ Exposed MCP Tools
This package exposes 3 production MCP tools via JSON-RPC 2.0 stdio:
1. check_visa_ce30_eligibility
Evaluates a disputed charge against historical settlement records. Validates the 120β365 day window, undisputed status, and checks 2+ matching elements.
{
"disputedCharge": {
"id": "ch_3O8annualEnterprise001",
"created": "2026-10-15T11:42:19Z",
"ipAddress": "198.51.100.45",
"deviceId": "dev_macbook_pro_m3_88f9c1",
"userAccountId": "usr_enterprise_9912",
"customerEmail": "marcus.vance@vancetech-industries.com"
},
"priorTransactions": [ ... ]
}Returns: { eligibleForVisaCe30: true, qualifyingTransactionsCount: 2, matchedElements: ["ipAddress", "userAccountId", "customerEmail"], winProbabilityScore: 94 }.
2. compile_stripe_dispute_evidence
Compiles an official stripe.disputes.update() payload and authoritative Executive Legal Rebuttal Brief for all Stripe reason codes:
fraudulentsubscription_canceledproduct_not_receivedunacceptable_productduplicatecredit_not_processed
Includes cryptographic SHA-256 ToS acceptance receipt, server access logs, and formal demand for liability shift.
3. audit_merchant_chargeback_ratio
Audits merchant chargebacks against card network penalty programs:
Visa VDMP (Visa Dispute Monitoring Program): Standard threshold at 0.90% & 100 disputes; Early Warning at 0.65% & 75 disputes.
Mastercard ECM (Excessive Chargeback Merchant): Threshold at 1.00%; Early Warning at 0.70%.
Calculates net recovered revenue and dispute fee savings ($15/dispute avoidance).
π Quickstart & MCP Setup
A. Add to Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"stripe-dispute-automator": {
"command": "npx",
"args": ["-y", "stripe-chargeback-dispute-evidence-automator-mcp"]
}
}
}B. Add to Cursor / Antigravity IDE (mcp.json)
{
"mcpServers": {
"stripe-dispute-defense": {
"command": "node",
"args": ["/absolute/path/to/stripe-chargeback-dispute-evidence-automator-mcp/src/mcp-server.js"]
}
}
}π» CLI Commands
# Run benchmark and build Interactive Studio
node bin/cli.js --demo
# Run specific real-world scenario (1 to 6)
node bin/cli.js --scenario 1
# Audit monthly VDMP/ECM chargeback ratio & net revenue recovery
node bin/cli.js audit --disputes 92 --tx 9800 --dispute-vol 8450 --sales-vol 84200
# Evaluate Visa CE 3.0 from a JSON file
node bin/cli.js check-ce30 my-dispute.json
# Compile complete Stripe payload and legal rebuttal
node bin/cli.js compile my-case.jsonπ§ͺ 6 Realistic Benchmark Scenarios
Scenario | Dispute Reason | Key Defense Strategy | Win Rate |
1. SaaS Annual Pro ($1,188) |
| Visa CE 3.0 IP + Account match, 2 prior renewals (143d & 350d), 84 logins | 94% |
2. AI Compute Tokens ($450) |
| 4.2M tokens consumed, API key issuance telemetry, clickwrap ToS hash | 85% |
3. Developer Boilerplate ($199) |
| Visa CE 3.0 triple-renewal match, asset SHA-256 download telemetry | 98% |
4. Team License Renewal ($720) |
| 7-day pre-renewal notification opened, self-serve cancellation disclosure | 88% |
5. Hardware 2FA Keys ($349) |
| FedEx tracking, recipient signature verification, GPS coordinates | 92% |
6. VDMP High-Risk Audit |
| 0.9388% ratio alert, roadmap to save $73,135/yr in recovered revenue | β |
π¨ Interactive Studio (dist/dispute-evidence-studio.html)
High-craft dark-canvas UI (#090D14 background, #111827 surface, 1px #1E293B borders, JetBrains Mono tabular-nums, zero purple/neon AI gradients):
Scenario Quick Switcher: Instant preview across all 6 dispute cases.
Visa CE 3.0 Rule Inspector: Live check of 120β365 day window, undisputed status, and matched elements.
Stripe API Payload Viewer: Instant syntax-highlighted
stripe.disputes.update()JSON with 1-click clipboard copy.Executive Legal Brief: Formatted rebuttal narrative citing card brand mandates.
VDMP & ECM Ratio Calculator: Live financial modeling of net revenue recovered and fee savings.
Open directly in any modern browser:
open dist/dispute-evidence-studio.html㪠Test Suite (Vitest)
Run the comprehensive 29-test verification suite:
npm test -- --run β tests/dispute-engine.test.js (29 tests passed)
β Dispute Engine β Date, Crypto & Normalization Utilities (5)
β Visa Compelling Evidence 3.0 (CE 3.0) β Window & Qualification Rules (8)
β Stripe Dispute Evidence Compilation β Reason Codes & Payloads (7)
β Visa VDMP & Mastercard ECM Card Brand Monitoring Auditor (4)
β MCP Server Integration & Direct Tool Handlers (4)
β Interactive Studio HTML Generation (1)
Test Files 1 passed (1)
Tests 29 passed (29)
Duration 900msπ License & Commercial Distribution
MIT License. Commercialized on Smithery.ai, Glama.ai, and Gumroad ($49/mo or $149 lifetime kit). Part of the Prong 2 Marketplace Suite.
Available Tools
3 toolsaudit_merchant_chargeback_ratioB
Audits merchant monthly chargeback and sales performance against Visa Dispute Monitoring Program (VDMP 0.90% threshold, 0.65% early warning) and Mastercard Excessive Chargeback Merchant (ECM 1.00% threshold) penalty programs. Models net recoverable revenue, fee savings, and generates prioritized compliance action plans.
| Name | Required | Description | Default |
|---|---|---|---|
| baselineWinRate | No | Historical unassisted win rate (default 0.20 for 20%) | |
| monthlyDisputes | Yes | Total chargeback count in calendar month | |
| projectedWinRate | No | Automated evidence win rate (default 0.82 for 82%) | |
| disputeFeePerCase | No | Card processor dispute fee (default $15.00) | |
| monthlySalesVolume | Yes | Gross settled sales dollar volume ($) | |
| monthlyTransactions | Yes | Total successful settled transaction count | |
| monthlyDisputeVolume | Yes | Gross disputed dollar volume ($) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the behavioral burden. It discloses that the tool audits against VDMP and ECM thresholds and models net recoverable revenue, fee savings, and prioritized action plans, which adds useful context, but it does not explicitly state that the operation is read-only, whether it has side effects, or what output format to expect.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is only two sentences and front-loads the core audit purpose and regulatory thresholds. The first sentence is dense, but every element earns its place and no wording is wasted.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a seven-parameter analytical tool with no annotations and no output schema, the description provides useful purpose and output-category context but remains incomplete on output shape, assumptions, and behavioral safety. The schema compensates for parameter documentation, but the description could say more about how results are returned.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the seven parameters are already well documented in the schema. The description adds domain context around chargeback ratio thresholds and financial modeling but does not add parameter-specific meaning beyond what the schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: audits merchant monthly chargeback and sales performance against named Visa and Mastercard penalty programs. It is clear enough to distinguish from generic dispute tools, but it does not explicitly position itself relative to the listed sibling tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the compliance-audit framing and threshold references, but there is no explicit when-to-use guidance, no when-not-to-use conditions, and no comparison with check_visa_ce30_eligibility or compile_stripe_dispute_evidence.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_visa_ce30_eligibilityA
Evaluates a disputed transaction against merchant historical settlement records under Visa Compelling Evidence 3.0 (CE 3.0). Validates the 120-365 day window, undisputed status, and checks 2+ matching elements (IP, device fingerprint, billing address hash, customer ID, email). Returns eligibility verdict, matched elements, rules breakdown, and win probability score (0-100).
| Name | Required | Description | Default |
|---|---|---|---|
| disputedCharge | Yes | The disputed charge object with id, created date, and matching indicators (ipAddress, deviceId, billingAddress, customerEmail, userAccountId). | |
| priorTransactions | No | Array of historical settled transactions associated with the customer payment credential. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does real work: it discloses the 120-365 day window rule, the undisputed-status precondition, the 2+ matching-element threshold, and the returned verdict, matched elements, rules breakdown, and 0-100 win probability. It stops short of stating that the tool is a side-effect-free computation and says nothing about failure modes when prior transactions are absent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three tightly packed sentences: what it does, the rules it enforces, and what it returns. The most important information (the CE 3.0 evaluation) leads, and no sentence is filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a two-parameter tool with nested objects and no output schema, the description covers inputs of interest, the eligibility rules, and the shape of the response, which is enough to call it correctly. It could go further on how many priorTransactions are needed and what an ineligible verdict looks like.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents both parameters, but the description adds meaning: it names the five matching elements (IP, device fingerprint, billing address hash, customer ID, email) that map onto ipAddress, deviceId, billingAddress, userAccountId, and customerEmail. It also ties the 120-365 day window to the created dates and the undisputed requirement to the disputed flag, which the schema does not explain.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: "Evaluates a disputed transaction against merchant historical settlement records under Visa Compelling Evidence 3.0 (CE 3.0)." The Visa CE 3.0 framing plus the eligibility-verdict output clearly separates it from compile_stripe_dispute_evidence (evidence assembly) and audit_merchant_chargeback_ratio (portfolio auditing).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The eligibility-checking context implies when to reach for it (a chargeback where the merchant holds prior settled transactions), but it never names the sibling tools or states when NOT to use it, e.g. when no prior transaction history exists the check cannot succeed. Usage is inferable rather than directed.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
compile_stripe_dispute_evidenceB
Compiles an official Stripe disputes.update API evidence payload with pre-formatted fields (access_activity_log, customer_communication, refund_policy_disclosure, cancellation_policy_disclosure, service_documentation, uncategorized_text), ToS SHA-256 cryptographic acceptance receipt, and an Executive Legal Rebuttal narrative in Markdown citing card network regulations (Visa CE 3.0, Mastercard Chargeback Guide). Supports fraudulent, subscription_canceled, product_not_received, unacceptable_product, duplicate, and credit_not_processed dispute reason codes.
| Name | Required | Description | Default |
|---|---|---|---|
| disputeCase | Yes | Comprehensive dispute case file. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full behavioral burden. It richly describes the output contents (evidence fields, ToS SHA-256 receipt, Markdown rebuttal citing Visa CE 3.0 / Mastercard Chargeback Guide), but never clarifies the crucial question of whether it merely builds the payload or actually submits to the Stripe disputes.update API, nor does it mention auth requirements, side effects, or idempotency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
It is front-loaded with the verb and resource, and both sentences are dense with useful specifics rather than filler. The long parenthetical field list makes it run-on, but each item carries information for an agent building the payload.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and no annotations, the description does well at describing the produced payload, but for a one-parameter, deeply nested tool with legal/financial stakes it omits the return shape and, more importantly, whether the operation writes to Stripe. Those omissions matter for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the 3 baseline applies, and the description adds real meaning: by naming output evidence slots (access_activity_log, customer_communication, refund_policy_disclosure, etc.), it hints how nested inputs like telemetry, customerCommunication, and termsAcceptance feed the payload. It stops short of explicitly mapping each nested input field to its output slot.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb+resource: it compiles a Stripe disputes.update evidence payload, and it enumerates the exact evidence fields, the ToS receipt, and the rebuttal narrative it produces. It does not explicitly name the sibling tools (check_visa_ce30_eligibility, audit_merchant_chargeback_ratio), but the 'compile evidence payload' purpose is clearly distinct from eligibility-checking or ratio-auditing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: the list of supported dispute reason codes tells the agent the contexts in which it applies, but there is no explicit when-to-use/when-not guidance and no reference to sequencing with the sibling eligibility or ratio tools. No prerequisites or exclusions are stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v1.0.0- First observed
audit_merchant_chargeback_ratio - First observed
check_visa_ce30_eligibility - First observed
compile_stripe_dispute_evidence
TDQS
Scored across 3 tools
Each tool targets a clearly distinct phase of the chargeback workflow: eligibility evaluation, evidence payload compilation, and portfolio ratio auditing. There is no overlap in purpose or inputs, so an agent can confidently select the right tool.
All three names follow a strict verb_noun snake_case pattern (check_, compile_, audit_) with descriptive domain-specific nouns. The convention is uniform and predictable.
Three tools is well-scoped for a narrow, specialized server focused on Visa CE 3.0 eligibility, evidence compilation, and chargeback ratio auditing. Each tool earns its place without bloat.
The surface covers eligibility checking, evidence compilation, and compliance auditing, but lacks tools to retrieve/list disputes or actually submit the compiled evidence via Stripe's disputes.update API. Eligibility is also limited to Visa CE 3.0, leaving other network-specific checks as a gap.
Maintenance
Related MCP Connectors
Chargeback intelligence: 9 card-network reason codes, winning evidence, gateway deadlines. Free.
Merchant account rescue and prep: shutdown checklists, fit hints, policy and dispute-ratio checks.
Explains each card chargeback reason code and the proof that wins it, and prices custom responses.
Unified dispute resolution: crypto, payments, SLA violations. 95% AI automation.
Related MCP Servers
- FlicenseAqualityDmaintenanceHelps merchants resolve credit card disputes by searching VISA guidelines and checking dispute history to generate structured recommendations.2-
- FlicenseNot gradedqualityBmaintenanceEnables detection and risk scoring of e-commerce return fraud and wardrobing by correlating return velocity, carrier scan discrepancies, product tag tampering indicators, and customer return history, then enforcing actions like restocking fees or dispute escalation.7-
- FlicenseNot gradedqualityNot gradedmaintenanceEnables MCP clients to evaluate e-commerce return requests by correlating return velocity, carrier scan discrepancies, product tag tampering indicators, and customer lifetime return ratios. It computes a composite fraud risk score and recommends enforcement actions such as restocking fees or dispute escalation.7-
- FlicenseNot gradedqualityBmaintenanceEnables auditing recurring bank and card subscription charges to detect stealth price increases, expired trial conversions, and calculate annualized budget leakage. It also generates retention negotiation dispute letters to help users reduce unnecessary expenses.7-