RevClamp MCP Server
Server Details
Zero-take-rate Stripe 2025-03-31.basil, Visa CE 3.0 & EU/XI VIES VAT guardrails MCP server.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- lhphong09t2/revclamp-mcp
- GitHub Stars
- 1
- Server Listing
- RevClamp MCP Server
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 9 tools
Most tools target clearly distinct actions (audit, ROI calc, ghost usage eval, net-terms reconcile, VAT validation, webhook sim/verify). The two dispute-evidence tools (lint_dispute_evidence vs stage_stripe_dispute_ce3) and the two usage-detection tools (audit_revenue_leakage vs evaluate_ghost_usage) have adjacent purposes, but their descriptions explicitly delineate scope and cross-reference each other, keeping misselection low.
Every tool follows a uniform revclamp_<verb>_<noun> snake_case pattern (audit_, calculate_, evaluate_, lint_, reconcile_, simulate_, stage_, validate_, verify_). Verify/practice consistent verb-first naming throughout, with no style mixing.
Nine tools is well within the ideal 3-15 range and each maps to a distinct diagnostic capability in the revenue-leakage/chargeback domain. No filler or redundant tools are apparent.
The surface covers portfolio audit, per-customer entitlement, dispute linting and staging, Net-terms reconciliation, EU VAT validation, webhook simulation, signature verification, and ROI planning—a broad lifecycle for the stated purpose. Minor gaps remain, such as listing/fetching underlying disputes or subscriptions, but these are largely outside the stateless read-only design.
Available Tools
9 toolsrevclamp_audit_revenue_leakageAudit B2B Revenue Leakage & Dispute ReadinessARead-onlyIdempotentInspect
Run a deterministic 90-day B2B revenue leakage and chargeback readiness audit across Stripe subscriptions, AI/API usage telemetry events, and open disputes. Executes as a 100% read-only, stateless diagnostic with zero external Stripe mutations. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, dunningGracePeriodDays, costPerEventCents, and audit (scannedCustomers, scannedEvents, ghostLeakEventsCount, affectedCustomersCount, estimatedBleedUsd, disputesEligibleForAutoEvidence). Use this tool for portfolio-wide multi-customer audits; use revclamp_evaluate_ghost_usage for single-customer entitlement checks or revclamp_stage_stripe_dispute_ce3 to build a single dispute's Visa CE 3.0 evidence bundle.
Inputs: demo, disputes, customers, usageEvents, +2 more.
revclamp_calculate_roi_and_plan_fitCalculate B2B 0% Take-Rate ROI & Optimal Plan FitARead-onlyIdempotentInspect
Deterministically calculate monthly and annual B2B margin savings using exact integer USD cents when replacing a 25%-30% contingency chargeback agency with RevClamp flat-rate 0% commission plans ($19 Starter, $59 Growth, $199 Scale). Evaluates monthlyWonDisputeUsd, monthlyGhostBleedUsd, contingencyTakeRatePercent, and monthlyUsageEvents to recommend the optimal tier. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, recommendedTier, annualNetMarginSavedUsd, roiMultiple, and calculation.
Inputs: demo, monthlyUsageEvents, monthlyGhostBleedUsd, monthlyWonDisputeUsd, +1 more.
revclamp_evaluate_ghost_usageEvaluate Single-Customer Stripe Basil Ghost UsageARead-onlyIdempotentInspect
Evaluate whether a specific customer's AI or API usage event constitutes unpaid ghost usage across multi-subscription Stripe 2025-03-31.basil state, enforcing fail-closed pagination (has_more must be explicitly false) and configurable 0-14 day dunning grace windows. Executes as a stateless, read-only entitlement evaluator with zero side effects. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, and evaluation (isGhostLeak, isGhostUsage, reason). Use this tool for real-time per-customer entitlement gating; use revclamp_audit_revenue_leakage for batch multi-customer portfolio audits.
Inputs: demo, timestamp, customerId, occurredAt, +14 more.
revclamp_lint_dispute_evidenceStripe Dispute Evidence UTF-16 & CE 3.0 Completeness LinterBRead-onlyIdempotentInspect
Deterministically lint a Stripe dispute evidence[access_activity_log] payload against Stripe's 18,000 UTF-16 code unit (String.prototype.length) ceiling, UTF-8 byte length, non-destructive --- BEGIN REVCLAMP CE3 EVIDENCE --- / --- END REVCLAMP CE3 EVIDENCE --- (or [RevClamp Verified Product Usage Log] / [/RevClamp Verified Product Usage Log]) delimiter markers, existing merchant note preservation, 17,922/17,920-char fixed wrapper capacity threshold (SKIP_POST_PRESERVE_DRAFT), and Visa Compelling Evidence 3.0 (CE 3.0) prior-charge (>= 2) + IP/device overlap qualification. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, lint, utf16CodeUnits, maxUtf16Ceiling, remainingUtf16Units, withinCeiling, utf8Bytes, nonDestructiveMarkersPresent, merchantNotesPreserved, merchantNotesUtf16CodeUnits, fixedWrapperUtf16CodeUnits, merchantLogAtCapacity, stagingActionWhenAtCapacity, priorMatchedCount, hasIpMatch, hasDeviceMatch, ce3RubricPassed, and overallVerdict.
Inputs: demo, preset, hasIpMatch, hasDeviceMatch, +6 more.
revclamp_reconcile_b2b_net_termsReconcile B2B Wholesale Net-15/30/60 Deposits & Credit NotesARead-onlyIdempotentInspect
Reconcile B2B wholesale Net-15, Net-30, and Net-60 invoice deposits, partial payments, and credit notes using exact integer minor-unit (EUR/USD cent) arithmetic with zero IEEE-754 floating-point drift. Executes as a pure, stateless, read-only financial reconciliation function. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, and reconciliation (state, status, fulfillmentHold, releaseHoldAction, requiredDepositCents, remainingBalanceCents, creditDueCents, overpaidWarning, orderTag). Use this tool for B2B wholesale order deposit gating and Net-terms balance calculation; use revclamp_validate_eu_vat_vies for cross-border EU VAT number validation.
Inputs: demo, orderId, toleranceCents, creditNoteCents, +9 more.
revclamp_simulate_webhook_replaySimulate Webhook Replay & Out-of-Order State MachineARead-onlyIdempotentInspect
Deterministically evaluate an ordered or out-of-order sequence of 1-10 Stripe/Shopify/RevClamp subscription lifecycle webhooks against a 72-hour idempotency deduplication Set (eventId), a configurable idempotencyWindowSec (60s-2592000s, default: 259200s / 72h), and a monotonic transition timestamp guard (event.createdSec >= lastAppliedCreatedSec). Compares RevClamp's monotonic FSM against a naive overwrite-on-arrival handler to detect resurrected canceled subscriptions, stale tier downgrades, and duplicate retry side-effects. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, simulation, steps, finalStatus, finalTier, finalEntitlementDecision, naiveFinalStatus, and naiveHandlerBug.
Inputs: demo, events, nowSec, scenarioPreset, +1 more.
revclamp_stage_stripe_dispute_ce3Stage Visa CE 3.0 Stripe Dispute Evidence DraftARead-onlyIdempotentInspect
Evaluate Visa Compelling Evidence 3.0 (CE 3.0) qualification across 120-to-365-day historical charges (requiring at least 2 settled, non-refunded, non-disputed prior transactions sharing IP address, device fingerprint, or billing email) and assemble a non-destructive Stripe dispute evidence draft with submit hardcoded to false. Executes as a pure read-only staging computation that never auto-submits to card networks. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, submitForcedFalse, ce3Qualification, and drawer (including stripeUpdateParams with submit: false and merged access_activity_log). Use this tool for single-dispute CE 3.0 qualification and evidence staging; use revclamp_audit_revenue_leakage for portfolio-wide dispute readiness counts.
Inputs: demo, disputeId, customerId, usageEvents, +5 more.
revclamp_validate_eu_vat_viesValidate EU/XI B2B VAT ID & VIES Reverse-Charge StateARead-onlyIdempotentInspect
Normalize EU-27 and Northern Ireland (XI) B2B VAT identifiers (including mandatory Greece ISO-3166 GR to EL prefix normalization) and evaluate cross-border 0% VAT reverse-charge eligibility, VIES consultation evidence, or MS_UNAVAILABLE circuit-breaker fulfillment hold actions. Read-only and non-destructive; supports deterministic simulation modes ('VALID', 'INVALID', 'MS_UNAVAILABLE') or real-time European Commission VIES SOAP/REST lookup ('LIVE'). Returns structuredContent containing ok, mode, statelessEphemeralAudit, simulatedViesLookup, tenantId, normalizedVat, reverseChargeEligible, and viesDecision (status, action, zeroRateAllowed, consultationId). Use this tool for EU/XI VAT tax compliance; use revclamp_reconcile_b2b_net_terms for wholesale Net-15/30/60 deposit and credit-note accounting.
Inputs: demo, viesMode, buyerVatId, supplyType, +2 more.
revclamp_verify_webhook_signatureVerify Stripe, Shopify & RevClamp Webhook HMAC-SHA256 SignaturesARead-onlyIdempotentInspect
Generate and verify canonical Stripe-Signature (t=,v1=<hex_sha256>), X-Shopify-Hmac-Sha256 (<base64_sha256>), and X-RevClamp-Signature (t=,v1=<hex_sha256>) headers over exact UTF-8 webhook payload bytes using crypto.timingSafeEqual and a 300-second replay window guard. Enforces a Zero-Trust guard that blocks known live/production credential patterns (sk_live_, rk_live_, non-test whsec_..., shpss_..., shpat_..., rg_live_, rc_live_, AKIA..., and PEM private keys) with -32602 LIVE_SECRET_FORBIDDEN_IN_SANDBOX. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, and verification (provider, verificationMode, headerName, generatedHeader, expectedSignature, signatureValid, verificationReason, timingSafeCompared, replayWindowApplicable, timestampSec, timestampSkewSeconds, toleranceSeconds, withinReplayWindow, payloadByteLength, payloadSha256, commonIntegrationTrap). Use this tool to debug webhook signature mismatches and replay skew.
Inputs: demo, secret, secrets, provider, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Zero-take-rate Stripe 2025-03-31.basil, Visa CE 3.0 & EU/UK VIES VAT guardrails MCP server.
Hosted Stripe MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
EU & UK statutory VAT compliance, VIES validation, ViDA e-invoicing & Art. 196 reverse-charge.
AI VAT Number Validation: hosted MCP server for EU VAT number checks via VIES.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProduction-grade MCP server for Stripe financial operations, enabling AI assistants to manage payments, customers, subscriptions, invoices, products, prices, refunds, and balance checks.MIT
- AlicenseAqualityBmaintenanceMerchant of record with an MCP server for Claude Code, Cursor and other MCP clients: your agent checks account status, submits business verification, and creates products, checkout links, subscriptions and discount codes. AgentaOS is the legal seller and handles VAT and invoices.318Apache 2.0
- AlicenseCqualityCmaintenanceStripe Billing - MCP server providing AI-powered tools and automation by MEOK AI Labs85 npm44 PyPIMIT
- AlicenseNot gradedqualityCmaintenanceMCP server providing EU compliance APIs for VAT validation, sanctions screening, counterparty checks, and invoice extraction. Enables AI agents to make pay-per-call requests settled in USDC on Base via x402, with no account or API key required.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.