Connect Stripe to Claude

Connect Stripe to Claude with Supermetrics and turn your Stripe data into answers, reports, and next steps without leaving Claude.

Don’t take our word. Try it free today.

Illustrative Claude response for Stripe: Use Supermetrics. Show successful captured charges by week for the last 12 weeks, and the refunds currently attached to those charges, in whole currency units.

At a glance

What it does

Ask Claude about Stripe charges, refunds, disputes, invoices, subscriptions, payouts, transactions, balance, coupons, orders and transfers.

Works with your other data

Set Stripe revenue beside ad spend, store orders or email campaigns from your other Supermetrics sources in the same chat.

What you need

Connecting requires the Administrator user role in Stripe.

One report type per query

Fields in one query must come from the same report type, so some questions take more than one query.

Before you start

Claude

You need a Claude account where you can add connectors. Supermetrics appears under Customize, then Connectors. Anthropic’s custom connectors guide explains remote connectors.

Supermetrics

You don’t need a Supermetrics subscription to start. A trial is created at login if you don’t have one. If you already pay for Supermetrics, you need an AI chats destination in the Supermetrics Hub. If you don’t have one, upgrade or swap an existing destination to AI chats. See pricing for current plans.

Stripe

You need the Administrator user role in Stripe. Stripe explains its user roles in its own docs. If you aren’t an Administrator, a Stripe Administrator can authorize Stripe for you through an authentication link shared from the Hub.

You can query one Stripe account at a time. To query a second account, log out and log back in with it.

Start here

How do you connect Stripe to Claude?

1

Install the connector. From the Supermetrics for Claude page press Try in Claude, or open Customize, then Connectors inside Claude and look up Supermetrics.

Option A: from the Supermetrics site
2

Choose a team. Log in to Supermetrics and pick the team that holds your Supermetrics subscription. Without one, a trial starts at this point.

3

Link your Stripe login. Find Stripe in the Supermetrics Hub, or follow the login link Claude offers. Press Start, sign in to Stripe, choose the account and press Connect; see the Stripe connection guide.

Illustrative Supermetrics Hub form for connecting Stripe.
4

Point Claude at Supermetrics. When other data tools are connected, open the prompt with “use Supermetrics”. Claude uses the Stripe account you chose in step 3.

5

Start with a narrow question. Always include a date range in your question. Try: “Use Supermetrics. Show Stripe charge amount and refunded amount by day for the last 14 days, in whole currency units.”

6

Reconcile, then widen. Check the totals against the Stripe Dashboard for the same dates and currency. Once they agree, move to invoices, subscriptions and payouts, or ask Claude to build a dashboard.

Building your own agent or n8n workflow instead? Use the standalone Supermetrics MCP server, which needs a Supermetrics subscription with API access. For more setup help, see the AI tools connection guide.

What can you ask Claude about Stripe?

Replace the dates with your own.

Goal

Prompt

What you get

Fields used

Reporting

Use Supermetrics. Show charge amount and refunded amount by week for the last 12 weeks, in whole currency units.

A weekly table of gross charges against refunds

charge_amount, charge_amount_refunded, yearweekiso

Reporting

Use Supermetrics. List Stripe subscriptions by status and plan name, with quantity, for subscriptions created in the last 12 months.

A table of subscription counts by status and plan

subscription_status, subscription_plan_name, subscription_quantity

Diagnosis

What are the top failure codes on Stripe charges this month, and what does Stripe say about each?

A ranked list of failure codes with Stripe’s message for each

charge_failure_code, charge_failure_message

Diagnosis

Which Stripe invoices from the last 90 days are unpaid, how many payment attempts have they had, and when is the next one?

A list of invoices that need attention, with amount due and next attempt date

invoice_status, invoice_amount_due, invoice_payment_attempts, invoice_next_payment_attempt

Comparison over time

Compare Stripe refund amounts by refund reason this quarter against last quarter, in whole currency units.

A two-period table showing which refund reasons grew or shrank

refund_amount, refund_reason, quarter

Cross-source

Show Stripe charge amounts by day next to ad spend from my ad accounts for the last 30 days.

Two result sets that Claude lines up by date

charge_amount, date, plus the ad source’s cost field

Action

Build a dashboard of Stripe charges, refunds and failed payments for the last 90 days and push it to Supermetrics Studio.

A dashboard in Studio. Viewing and sharing work with AI chats, and editing needs a Studio destination subscription

charge_amount, charge_amount_refunded, charge_failure_code

More patterns: AI chats use cases.

What are the top failure codes on Stripe charges this month, and what does Stripe say about each?

What can you do with Stripe data in Claude?

Track payments and refunds

See how much of each period’s revenue is refunded.

Watch failed charges

Find out why payments fail, with Stripe’s failure code and message for each.

Chase unpaid invoices

List invoices with an amount still due and see when the next payment attempt is scheduled.

Reconcile payouts

Match payout amounts, status and arrival dates against your bank statement.

Meet dispute deadlines

List open disputes by the date evidence is due.

Review the subscription mix

Count subscriptions by plan and status.

Failure codes, risk levels and dispute evidence deadlines live only in Stripe, so the failed charges and dispute deadline tasks answer questions no other source in your stack can.

Audit fee-to-revenue efficiency

Find out what share of gross revenue goes to fees each month, and which kinds of transaction carry the cost. Ask Claude to calculate the fee share from gross amount and fee for each month and currency, rather than averaging a percentage field. Platforms that take a cut can review their application fees and refunded application fees the same way. Card brand and card country sit in Charges, so they can’t be split against Transactions fees in one query.

Fields used: transaction_amount, transaction_fee, transaction_net, transaction_type, transaction_fee_type, transaction_currency, yearmonth (Transactions); app_fee_amount, app_fee_amount_refunded (AppFees).

Measure marketing impact on revenue

Compare Stripe revenue with ad spend, coupon use and checkout tags. Stripe holds no ad data, so ask Claude to set daily charges beside ad cost from another connected source for the same days. To review promotions, see which coupon codes customers use and how often, then compare invoice subtotal with the total after discount to see what each coupon gave away. Finally, the metadata your team attached to charges, invoices and subscriptions can show campaign tags, if your checkout writes them.

Fields used: charge_amount, date (Charges); coupon_id, coupon_percent_off, coupon_times_redeemed (Coupons); invoice_subtotal, invoice_total (Invoices); charge_metadata, invoice_metadata, subscription_metadata.

Monitor subscription churn patterns

Stripe has no churn-rate field, so Claude counts canceled and ended subscriptions per month. Subscriptions set to stop when the current period closes give you an early warning. To see how much recurring revenue the canceled subscriptions represented, add plan price and billing interval, and ask Claude to normalize yearly and monthly plans. You can also check what status trials reached after they ended, and use Stripe’s delinquent-customer flag, which Stripe sets from the customer’s latest invoice, to add a failed-payment angle.

Fields used: subscription_status, subscription_cancel_time, subscription_end_time, subscription_cancel_period_end, subscription_trial_end (Subscriptions); subscription_plan_amount, subscription_plan_interval (SubscriptionsItems); customer_delinquent.

Identify refund red flags

Spot months where the reasons for refunds shift, then trace a spike to the specific payments behind it. Review disputes by reason, status and amount each month, and flag cases where evidence is due or overdue. To check whether payments Stripe rated riskier come back as refunds, compare risk level with refunds and customer fraud reports, and see whether returns cluster in one card country. Run Refunds, Disputes and Charges as separate questions.

Fields used: refund_amount, refund_reason, charge_id, yearmonth (Refunds); dispute_reason, dispute_status, dispute_amount, dispute_evidence_due_by, dispute_evidence_past_due (Disputes); charge_outcome_risk_level, charge_refunded, charge_fraud_user_report, source_card_country (Charges).

How do you combine Stripe with other data in Claude?

Stripe can sit beside your other Supermetrics sources in one chat. Three questions work well.

Ad spend against revenue

“Show Stripe charge amount by day and ad spend by day for the last 30 days.” Claude runs one query per source and compares them by date.

Store orders against payments

With WooCommerce in Claude, compare weekly order counts with Stripe charges.

Email campaigns against billing

With ActiveCampaign in Claude, ask whether payment or refund spikes follow a campaign send.

Stripe and another source only join on a shared dimension. Date works because both sources have it. Campaign names or customer identifiers only match if both systems use the same values, and Supermetrics doesn’t create that match for you. Don’t add together amounts in different currencies.

What Stripe data can Claude query?

Supermetrics lists 254 Stripe fields (62 metrics and 192 dimensions) across 17 report types. Fields in one query must come from the same report type. The 17 are AppFees, Balance, Charges, Coupons, Disputes, Invoices, InvoicesItems, InvoicesTax, Orders, Payouts, Products, Refunds, Subscriptions, SubscriptionsItems, SubscriptionsTax, Transactions and Transfers.

Many Stripe amount fields are in cents, the smallest currency unit. Ask Claude to convert them to whole units and to state the currency. Each object has its own currency field, such as charge_currency.

Report type or field group

What it covers

Example field IDs

Charges

Payments with status, outcome, fees and failure details

charge_amount, charge_amount_refunded, charge_status, charge_paid, charge_failure_code

Refunds

Refund amounts, reasons and status

refund_amount, refund_reason, refund_status

Disputes

Chargebacks and evidence deadlines

dispute_amount, dispute_status, dispute_reason, dispute_evidence_due_by

Invoices, InvoicesItems, InvoicesTax

Billing documents, line items and tax

invoice_total, invoice_amount_due, invoice_status, invoice_tax, invoice_payment_attempts

Subscriptions, SubscriptionsItems, SubscriptionsTax

Plans, status, trial and cancellation dates. subscription_plan_amount is available in SubscriptionsItems only

subscription_status, subscription_plan_amount, subscription_plan_interval, subscription_quantity, subscription_trial_end

Payouts, Transactions, Balance

Payouts to your bank, transaction fees and your Stripe balance. Each field belongs to one of these three report types

payout_amount, payout_status, transaction_net, transaction_fee, balance_amount

Coupons, Orders, Transfers, AppFees

Discounts, orders, transfers and platform fees

coupon_times_redeemed, coupon_percent_off, order_amount, transfer_amount, app_fee_amount

What specific Stripe metrics can I analyze in Claude?

Metrics group by object: Charges (charge_amount, charge_amount_refunded, charge_app_fee), Transactions (transaction_amount, transaction_fee, transaction_net), Refunds (refund_amount), Disputes (dispute_amount, dispute_evidence_submissions), Invoices (invoice_total, invoice_subtotal, invoice_amount_due, invoice_tax, invoice_payment_attempts), Subscriptions (subscription_quantity, subscription_plan_amount, subscription_plan_trial_days), Coupons (coupon_times_redeemed, coupon_amount_off), Payouts (payout_amount), plus transfer_amount, order_amount, balance_amount and app_fee_amount. Every other field is a dimension for grouping or filtering. Some fields are deprecated by Stripe. Avoid fields marked as deprecated.

Field glossary

Field ID

Plain-English meaning

Type

Watch out

charge_amount

The charge amount, a positive integer in the smallest currency unit

Metric

Convert before reading

charge_amount_refunded

Amount refunded on a charge, in cents. It can be less than the charge

Metric

Partial refunds appear here, so don’t read it as “fully refunded”

charge_failure_code

Error code explaining reason for charge failure

Dimension

Charges only

refund_amount

Refund amount, in cents

Metric

Refunds only, so it can’t share a query with charge_amount

invoice_amount_due

Final amount due at this time for this invoice

Metric

Available in Invoices, InvoicesItems and InvoicesTax

subscription_status

The subscription’s state, such as trialing or active

Dimension

Available in the three subscription report types

subscription_plan_amount

Plan price as a positive integer in cents (0 for a free plan)

Metric

SubscriptionsItems only

transaction_fee

Fees in cents paid for the transaction

Metric

Transactions only

What is the Stripe MCP connector for Claude?

The Stripe MCP connector for Claude is the Supermetrics connector that lets Claude read your Stripe data through the Model Context Protocol (MCP).

MCP, the Model Context Protocol, is an open standard that lets an AI application call outside tools and data sources (modelcontextprotocol.io). The Supermetrics connector for Claude is one such tool. When you ask a Stripe question, Claude picks the fields it needs, Supermetrics fetches them from Stripe, and Claude shows you the result.

Each Stripe field belongs to a report type such as Charges, Refunds or Payouts.

Use AI chats to ask questions in Claude. For custom agents, n8n workflows or other MCP clients, use the standalone Supermetrics MCP server.

How Stripe data reaches Claude

Which way should you connect Stripe to Claude?

Supermetrics has two routes into MCP. The connector for Claude, described on this page, needs no MCP setup on your side. The standalone Supermetrics MCP server is a separate product for technical users who build custom workflows, use n8n or custom-built agents, or work in any MCP-compatible host. If you only want to chat with your data in Claude, you don’t need the MCP server. Use AI chats instead.

Approach

Setup effort

Data scope

Blending with other sources

Suits

Supermetrics connector for Claude

Low: add the connector, authorize Stripe once

Stripe plus the other sources in your Supermetrics account

Yes, in the same chat

Finance, growth and marketing people who want answers in Claude

Supermetrics MCP server (custom client)

Medium: you set up your own MCP host

Same sources as above

Yes, if your agent combines results

Engineers building agents or automations

Stripe’s own MCP or AI integration, if the platform offers one

Depends on the platform

Stripe only

No, unless you add other tools

Stripe-only work

CSV export and upload

Low, but manual each time

One file at a time

Only if you merge files yourself

One-off questions

Direct API and custom code

High: you build and host a script

Whatever you code

Whatever you code

Teams with an engineer who need full control

Choose the Supermetrics connector for Claude if you want Stripe answers in chat without writing code, or want Stripe revenue next to ad spend and CRM data.

Choose the standalone Supermetrics MCP server for a custom agent, n8n workflow or another MCP host. It requires a subscription with Supermetrics API access. The ready-made remote connector also works in Claude Code.

Choose Stripe’s own tooling, if it offers any, when your question lives entirely inside Stripe. Check its documentation for what it can read and write.

Choose CSV or the API if you need a one-off snapshot (CSV) or a pipeline you control (API).

When is this not the right tool?

  • You need properties outside the field list. Use the Stripe API directly.
  • You need stored history. Chat answers aren’t a store. Send Stripe data to BigQuery to keep payment history in a warehouse.
  • You need scheduled dashboards. Report on Stripe in Looker Studio for finance and growth dashboards.
  • You work in spreadsheets. Analyze Stripe in Google Sheets for spreadsheet views of charges and invoices.
  • You need to refund, charge or edit. Do those actions in Stripe.

More connectors: Connect WooCommerce to Claude to add store orders to the same chat, Connect ActiveCampaign to Claude to match billing with email campaigns, and Supermetrics for Claude for every source you can ask Claude about.

How do you check Claude’s Stripe numbers?

Most mismatches come from the query setup, not the data. Ask Claude to show the query and the fields it used, then compare one total with the Stripe Dashboard for the same period, account and currency.

Check

What can go wrong

What to do

Date range

Every Stripe query requires one, and a different period gives different totals

State the period, and confirm it matches what you meant to ask

Stripe account

Results come from the account you connected

Confirm it’s the account you meant to query

Date breakdown

The date dimension isn’t available in Balance, Orders or Products

Use Charges, Payouts or Transactions for daily views, or ask Claude to check the field list

Report type

Refunds can come from charge_amount_refunded (Charges) or refund_amount (Refunds)

Check which report type each field belongs to in the glossary

Currency

Several currencies mixed in one total

Ask for a charge_currency or payout_currency breakdown, and don’t add across currencies

Deprecated fields

A field marked “Do not use, deprecated by Stripe” was used

Ask Claude to replace it with a current field

History, time zone and delay

Recent or older figures differ from the Dashboard

Compare recent figures with the Stripe Dashboard, and test a long range

Troubleshooting

Symptom

Likely cause

Fix

LICENSE_NOT_FOUND

Claude was linked under a different email or team than the one holding the paid subscription. The connection keeps the email and team from your first login

Work out which email and team own the subscription, remove Supermetrics under Claude Connectors, add it again and choose that team

Answers arrive from the wrong team or another tool

Another team was selected at first sign-in, or several data connectors compete

Remove and re-add Supermetrics, select the correct team, and begin prompts with “use Supermetrics”

“No accounts found”

The login behind the Stripe link has no Stripe account attached

See the “How to fix No accounts found errors” article in our help center, then link Stripe again in the Hub with a login that owns the account

Stripe not authorized

Stripe was never linked in the Hub, or the link has lapsed

Request the Stripe login link from Claude, or relink in the Hub, then repeat the query

Stripe connection is refused

The Stripe user isn’t an Administrator

Ask a Stripe Administrator to connect, to raise your role, or to use a shared authentication link

Queries fail after switching Stripe accounts

Only one Stripe account can be queried at a time

See Before you start

Amounts look 100 times too large

Many Stripe amount fields are in cents

Ask Claude to divide by 100 for two-decimal currencies and state the currency

A working query stops

The Stripe connection may need renewing

Reconnect Stripe in the Hub, then repeat the query

Still stuck

Something else

Contact support through the Supermetrics Hub

Is it safe? Security and data handling

  • What is read. A query makes Supermetrics pull only the fields you requested from Stripe and hand them to Claude, so whatever comes back sits in the chat. Authorize just the Stripe account you need.
  • What can be written. Claude reads Stripe data through Supermetrics and can’t charge, refund or edit. The only thing Claude can create is a dashboard in Supermetrics Studio.
  • Sensitive fields. customer_email and source_card_last4 are queryable, so skip them unless the question needs them.
  • AI chats data-source connections are shared by default. Team members assigned to the subscription can use shared logins, so review team membership and subscription access before connecting client accounts. Anyone who can open the Claude chat can see its returned results.
  • Where chat content goes. Anthropic’s storage and use of chat content follows your Claude plan and organization settings, which Supermetrics doesn’t control.
  • Policies and certifications. See the Supermetrics Trust Center.

Related connectors

Send Stripe data to BigQuery to keep payment history in a warehouse

Report on Stripe in Looker Studio for finance and growth dashboards

Analyze Stripe in Google Sheets for spreadsheet views of charges and invoices

Connect WooCommerce to Claude to add store orders to the same chat

Connect ActiveCampaign to Claude to compare billing with email campaign activity

Supermetrics for Claude for a list of supported data sources

FAQ

Connect Stripe to Claude

Add the Supermetrics connector, authorize Stripe once, and ask your first payments question.