RevClamp MCP Server

io.github.revclampPublished by GitHub account revclampv1.20.7Updated Oct 26, 2026

Zero-take-rate Stripe 2025-03-31.basil, Visa CE 3.0 & EU/UK VIES VAT guardrails MCP server.

The publisher's own server: RevClamp MCP Server

VerifiedStreamable HTTPWeb executableFinanceSecurity & MonitoringBusiness & Commerce

Overview

AI-generated overview

Remote MCP server for read-only Stripe revenue-leakage audits, Visa CE 3.0 dispute evidence drafting, EU VAT/VIES checks and B2B net-terms reconciliation.

What you can do
  • Run a 90-day B2B revenue leakage and chargeback readiness audit across Stripe subscriptions, usage telemetry and open disputes
  • Evaluate a customer's AI or API usage for unpaid ghost usage, with dunning grace windows
  • Assemble a non-destructive Visa CE 3.0 dispute evidence draft and lint evidence payloads against Stripe length and delimiter limits
  • Normalize EU-27 and Northern Ireland VAT IDs and check reverse-charge eligibility or VIES evidence
  • Reconcile Net-15/30/60 invoices, partial payments and credit notes in exact integer minor units
  • Verify Stripe, Shopify and RevClamp webhook signatures, simulate webhook replay and idempotency, and calculate ROI versus contingency agencies
When to use it
Useful for B2B SaaS finance, billing or RevOps teams that want an assistant to diagnose Stripe revenue leakage, prepare chargeback evidence, validate EU VAT treatment, or sanity-check webhook handling and net-terms reconciliation without changing live Stripe data.
Requirements
A remote streamable HTTP endpoint at api.revclamp.com; no packages, environment variables or headers are declared. The tools operate on Stripe subscription, usage and dispute data supplied in the request, so the assistant needs that data to pass in.
Before you install
The tools are described as read-only and stateless with no Stripe mutations, but dispute evidence drafts and reconciliation results should still be reviewed before use. Webhook signature verification involves secrets passed to the tool, and the ROI tool references RevClamp's own paid plans, so treat its output as vendor-provided comparison rather than neutral advice.

Installation

In SourceWeft

  1. Open RevClamp MCP Server in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.revclamp%2Frevclamp-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "revclamp": {
      "type": "http",
      "url": "https://api.revclamp.com/api/mcp"
    }
  }
}

README

This repository has no README.

Tools

9

revclamp_audit_revenue_leakage

Audit B2B Revenue Leakage & Dispute Readiness

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.

ParametersdemodisputescustomersusageEventscostPerEventCentsdunningGracePeriodDays

revclamp_evaluate_ghost_usage

Evaluate Single-Customer Stripe Basil Ghost Usage

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.

ParametersdemocustomerIdusageEventoccurredAtSecsubscriptionsrequiredusageTimestampSecsubscriptionsHasMoredunningGracePeriodDays

revclamp_stage_stripe_dispute_ce3

Stage Visa CE 3.0 Stripe Dispute Evidence Draft

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.

ParametersdemodisputeIdcustomerIdusageEventsdisputeReasonpriorTransactionsdisputedTransactionexistingAccessActivityLogexistingUncategorizedText

revclamp_validate_eu_vat_vies

Validate EU/XI B2B VAT ID & VIES Reverse-Charge State

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.

ParametersdemoviesModebuyerVatIdrequiredsellerCountryconsultationNumber

revclamp_reconcile_b2b_net_terms

Reconcile B2B Wholesale Net-15/30/60 Deposits & Credit Notes

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.

ParametersdemoorderIdtoleranceCentscreditNoteCentsorderTotalCentspaidAmountCentsrequiredtotalOrderCentscreditNotesCentspaymentTermsDaysrequiredDepositCentsrequiredDepositPercentdaysElapsedSinceInvoice

revclamp_verify_webhook_signature

Verify Stripe, Shopify & RevClamp Webhook HMAC-SHA256 Signatures

Generate and verify canonical Stripe-Signature (t=<unix>,v1=<hex_sha256>), X-Shopify-Hmac-Sha256 (<base64_sha256>), and X-RevClamp-Signature (t=<unix>,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.

ParametersdemosecretproviderrawPayloadtimestampSectoleranceSecsignatureHeader

revclamp_calculate_roi_and_plan_fit

Calculate B2B 0% Take-Rate ROI & Optimal Plan Fit

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.

ParametersmonthlyUsageEventsmonthlyGhostBleedUsdmonthlyWonDisputeUsdcontingencyTakeRatePercent

revclamp_simulate_webhook_replay

Simulate Webhook Replay & Out-of-Order State Machine

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.

ParametersdemoeventsnowSecscenarioPresetidempotencyWindowSec

revclamp_lint_dispute_evidence

Stripe Dispute Evidence UTF-16 & CE 3.0 Completeness Linter

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 --- delimiter markers, existing merchant note preservation, 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, priorMatchedCount, hasIpMatch, hasDeviceMatch, ce3RubricPassed, and overallVerdict.

ParameterspresethasIpMatchhasDeviceMatchevidenceLogTextpriorMatchedCountexistingMerchantNotes

Version history

3
  1. v1.20.7LatestOct 26, 2026
  2. v1.20.6Oct 26, 2026
  3. v1.20.0Oct 25, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • License10 pts

Other Revclamp integrations