Connect WooCommerce to Claude
Connect WooCommerce to Claude with Supermetrics and turn your WooCommerce data into answers, reports, and next steps without leaving Claude.
Don’t take our word. Try it free today.

At a glance
What it does
The Supermetrics connector lets Claude read WooCommerce sales and order data through the Model Context Protocol (MCP), with no export step.
Four report types
Supermetrics lists 110 WooCommerce fields (28 metrics and 82 dimensions) across four report types: Sales overview, Sales by product, Orders and Order items.
What you need
To connect, you need WooCommerce REST API keys, your https:// store URL and a Shop Manager role or higher.
Before you start
Claude
Your Claude account must be able to add connectors (Customize, then Connectors). Anthropic’s custom connectors guide explains remote connectors.
Supermetrics
You don’t need a subscription to begin, because a trial is created at login. Existing customers should open the Supermetrics Hub and check for an AI chats destination (AI chats docs). If it’s missing, upgrade or swap an existing destination.
Know which team to use before you sign in. The connection is tied to the subscription active at first connection (Supermetrics for Claude docs). If you pick the wrong team, you’ll need to disconnect and reconnect.
Plans are on the pricing page.
WooCommerce
Have these ready before opening the Hub (WooCommerce connection guide):
- A role of Shop Manager or higher in WooCommerce, and the Analytics section enabled.
- A consumer key and consumer secret from WooCommerce, Settings, Advanced, REST API. The Hub has a separate field for each, so note which value is which as you copy them. Before WooCommerce 3.4, the path was Settings, API, Key/Apps.
- Your store URL with https:// at the start, using only the base address, such as https://example.com.
WooCommerce explains its REST API keys and user roles in its own documentation.
Do you need coding skills to connect WooCommerce to Claude?
No. The one technical step is creating a REST API key inside WooCommerce, and the list above shows where to find it. Agencies and freelancers can ask a store admin to create the keys.
Start here
How do you connect WooCommerce to Claude?
1 Add Supermetrics to Claude. Open the Supermetrics for Claude page and click Try in Claude. Or open Claude, go to Customize, then Connectors, and search for Supermetrics.

2 Select your team. Sign in to Supermetrics and choose the team that holds your subscription. If you have no subscription, the trial starts here.
3 Enter your store details in the Hub. Open WooCommerce in the Supermetrics Hub, or use the login link Claude gives you. Enter the consumer key, consumer secret and store URL and click Start.


4 Choose your store and a report type. Pick Sales overview, Sales by product, Orders or Order items. If several data tools are connected, write “use Supermetrics” in your prompt.
5 Run one small query. Try: “Use Supermetrics. Show WooCommerce order count and net sales by day for the last 14 days.”
6 Check it, then go deeper. Compare the totals with WooCommerce Analytics for the same dates. Then move on to products, orders and line items.
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 WooCommerce?
Every WooCommerce query needs a date range, so each prompt names a period. Naming your store by its URL helps when you’ve connected more than one.
| Goal | Prompt | What you get | Fields used |
|---|---|---|---|
| Reporting | Use Supermetrics. For https://example.com, show gross sales, refunds and net sales by week for the last 10 weeks. | A table with one row per week and a column for each total | gross_sales, refunds, net_revenue, year_week_iso |
| Reporting | Which 15 products earned the most net sales last month, with SKU and units sold? | A ranked product list, highest net sales first | product_title, sku, product_net_sales, product_items_sold |
| Diagnosis | By created date, how many orders from the last 30 days are still unpaid, and what is their total value? | An order count and total value for unpaid orders, grouped by status | order_status, needs_payment, order_total |
| Comparison over time | Compare coupon discounts against gross sales this quarter versus last quarter. | Both totals for each quarter, side by side | coupons, gross_sales, year_month |
| Geography | Which billing countries had the highest order totals in the last 90 days? | Countries ranked by order total | billing_country, order_total |
| Cross-source | Put WooCommerce net sales by day next to my Google Ads spend by day for the last 30 days. | Two result sets lined up by date | net_revenue, date, plus the ad source’s cost field |
More example prompts
| Goal | Prompt | What you get | Fields used |
|---|---|---|---|
| Diagnosis | By created date, which payment methods and order sources brought in the most revenue in the last 30 days? | Revenue per payment method and order source, largest first | payment_method_title, created_via, order_total |
| Comparison over time | Show average order value by month for this year and flag any dip. | A monthly trend, with any drop called out | avg_order_value, year_month |
| Cross-source | Show daily WooCommerce order count next to Stripe payments for the last 4 weeks. | Daily orders and payments side by side | order_count, date, plus Stripe charge fields |
| Reporting | Build a dashboard of net sales, order count and top products for last month and push it to Supermetrics Studio. | A dashboard in Studio. Viewing and sharing work with AI chats, and editing needs a Studio destination subscription | net_revenue, order_count, product_net_sales |

What can you do with WooCommerce data in Claude?
Six tasks fit this connector.
Track sales and refunds
Compare gross sales with net sales, refunds and coupon discounts, week by week.
Find best-selling products
Rank your top 15 products by net sales, with each product’s SKU and units sold.
Review payment and channel mix
See which payment methods and order sources bring in the most revenue.
Check order status
Find orders that sit unpaid or unfinished, using each order’s status and its created and paid dates.
Map where customers are
Group order totals by billing country and shipping state to see which regions buy most.
Audit discounts at line level
Compare each line’s price before and after discounts, with the SKU to name the product.
Supermetrics shares more examples in Use cases for Supermetrics AI chats and MCP server.
How do you use WooCommerce data with agencies and clients?
Connect each client store in the Hub, then name the store in your prompt. If the store owner holds the keys, the Hub can share an authentication link with them. For client reporting, ask for a React artifact or a dashboard pushed to Supermetrics Studio.
How do you combine WooCommerce with other data in Claude?
Claude can compare WooCommerce sales with Facebook or Google ad spend, as long as those ad accounts are connected in Supermetrics too. Your store sits beside your other Supermetrics sources in the same chat.
Orders vs payments
With Stripe in Claude, compare weekly order counts with payment volume to spot gaps between orders and money received.
Email sends and orders
With ActiveCampaign in Claude, ask whether order volume rises after a campaign send.
Sales vs ad spend
Connect your ad platforms in Supermetrics, then ask for daily net sales next to daily spend, with a simple ROAS calculated by Claude.
Sessions vs orders
If your site uses GA4, connect Google Analytics in Supermetrics and compare daily sessions with daily order count.
Claude runs one query per source and joins the results on a shared dimension. Date works for all of them.
Customer emails or campaign names only match if both systems use identical values, and Supermetrics doesn’t create that match. Never add amounts in different currencies.
What WooCommerce data can Claude query?
Supermetrics lists 110 WooCommerce fields: 28 metrics and 82 dimensions. They’re grouped into four report types, and you choose one in the report type setting. Fields in one query must belong to the same report type, and every query needs a date range.
| Report type | What it covers | Example field IDs |
|---|---|---|
| Sales overview | Store-level totals per period | gross_sales, refunds, coupons, net_revenue, taxes, shipping, order_count |
| Sales by product | Product-level sales | product_title, sku, product_net_sales, product_items_sold, product_orders_count |
| Orders | Order-level details such as totals, status and addresses | order_total, order_status, payment_method_title, billing_country, order_total_tax |
| Order items | Item-level details for each order | line_item_name, line_item_sku, quantity, line_item_total, line_item_discount |
Sales by product has no date dimension. Date and week fields are available only in Sales overview, Orders and Order items.
Which limits affect WooCommerce queries?
| Situation | What happens | What to do |
|---|---|---|
| Date range | Every WooCommerce query requires one | State the period in your prompt |
| Which date counts | For Orders and Order items, “Orders fetched by” defaults to modified date in local time, so edited orders move into the range. Options are created or modified date, in local time or GMT | Say “by created date” when you want orders placed in the period, or change the setting |
| History depth | The WooCommerce connection guide lists no historical data limit | Test a long range before you rely on it |
| Multiple stores | WooCommerce has a store list, and you select the store to fetch | Name the store by its URL in your prompt |
| Skipped stores | A setting that excludes invalid accounts (exclude_invalid_accounts) ignores disabled or inaccessible stores, so they don’t appear in results | Turn it on for long store lists, and expect those stores to be missing |
| Time zone and currency | Order dates come in local time and GMT versions, and each order has its own order_currency | Pick one date basis and check currency before comparing stores |
| Data freshness | Supermetrics fetches data when you ask | Compare today’s orders with WooCommerce Analytics |
What do the WooCommerce fields mean?
| Field ID | Plain-English meaning | Type | Watch out |
|---|---|---|---|
| gross_sales | Gross sales for the period, built from the sale price of the products sold | Metric | Sales overview only |
| net_revenue | Net sales in the period (named “Net sales”) | Metric | Differs from total_sales and gross_sales, so check which one Claude used |
| refunds | Money returned to customers via refunds (named “Returns”) | Metric | The ID is refunds but the label says Returns |
| coupons | Total of discounts from coupons | Metric | A discount total, not a count of coupons used |
| order_count | Number of new orders placed in the selected period | Metric | Sales overview only. Orders has no such metric |
| avg_order_value | Average value of orders placed | Metric | Can’t be added up or averaged across rows. Ask for the full period instead |
| total_customers | Unique count of customers in the period | Metric | Can’t be added up across rows, so don’t add weekly values |
| order_total | Grand total of an order | Metric | Orders only |
| line_item_total | Line total after discounts | Metric | Order items only. line_item_subtotal is before discounts |
| order_status | State of the order | Dimension | Filter on it to keep unpaid or canceled orders out of revenue |
| created_via | Where the order was created | Dimension | Orders and Order items only |
| order_currency | Currency the order was created with | Dimension | Break down by it in multi-currency stores |
Some metrics, such as average order value and total customers, can’t be added up across rows. Four of the 28 metrics work this way. Each returned row is correct, so ask Claude for the total over the full period instead of adding rows.
Report type IDs, for reference: Sales overview is sale_summary, Sales by product is sale_by_product, Orders is order_total and Order items is order.
What is the WooCommerce MCP connector for Claude?
The WooCommerce MCP connector for Claude is the Supermetrics connector that lets Claude read your WooCommerce 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 (modelcontextprotocol.io). The Supermetrics connector is one such tool. You ask a store question, Claude chooses the fields, Supermetrics fetches them from your store and Claude shows the result.
Use AI chats to ask questions in Claude. For custom agents, n8n workflows or other MCP clients, use the standalone Supermetrics MCP server.

Which way should you connect WooCommerce to Claude?
Two things decide the route: whether you want store data alone or beside other channels, and how much code you want to own.
Supermetrics offers two routes to MCP. AI chats is the Claude connector this page covers, and you don’t configure MCP yourself. The Supermetrics MCP server is a standalone product for technical users who wire it into n8n, custom-built agents or other MCP-compatible tools.
The ready-made remote connector works on the web, in Claude Desktop and in Claude Code. Use the standalone Supermetrics MCP server when configuring a custom agent, n8n workflow or another MCP host. That separate route requires a Supermetrics subscription with API access rather than an AI chats destination.
| Approach | Setup effort | Data scope | Blending with other sources | Maintenance | Suits |
|---|---|---|---|---|---|
| Supermetrics connector for Claude | Low: add the connector, enter store URL and keys once | WooCommerce plus the other sources connected in your Supermetrics account | Yes, in the same chat | Supermetrics maintains the connector | Store owners, marketers and agencies who want answers in chat |
| Supermetrics MCP server (custom client) | Medium: you set up your own client | Same sources as the connector | Yes, if your agent joins results | You maintain the client | Engineers building agents |
| Automation platform workflow | Medium: you build triggers and steps | The events and fields you map | Only what you wire in | You fix workflows when fields change | Scheduled pushes of orders to other tools |
| CSV export and upload | Low, but repeated by hand | One file per upload | Only if you merge files yourself | Manual each time | A one-off check |
| Direct REST API and custom code | High: you write and host a script | Whatever you code | Whatever you code | You own it | Teams with a developer who want full control |
For store-only questions, WooCommerce may offer its own native MCP or plugin. Check the WooCommerce developer docs for what exists.
Choose the Supermetrics connector for Claude if you want to ask about store data in chat, then compare revenue with ad spend or email.
Choose the Supermetrics MCP server if you already run an agent or n8n flow and need to control the client.
Choose a native or automation route if your need is store-only, or a scheduled push of new orders into another tool.
Choose CSV export if you want a frozen snapshot for finance. Choose the REST API if you want a pipeline you fully control.
When is this not the right tool?
- You need orders in Looker Studio. Orders and Order items aren’t currently available in the Data Studio destination, so see WooCommerce in Looker Studio for what is.
- You need a long order history in a database. Chat answers aren’t saved as a data history, so use WooCommerce to BigQuery.
- You work in spreadsheets. Use WooCommerce in Google Sheets.
- You need to refund, edit orders or change stock. Do that in your store admin.
- You need data outside the 110 fields. Products, stock and customer lists beyond these fields need the REST API directly.
How do you check Claude’s WooCommerce numbers?
Before you share a number from Claude, check the query behind it. These checks cover the common reasons a result differs from WooCommerce Analytics.
| Check | How to check it | What it catches |
|---|---|---|
| Dates and store | Confirm the dates and store URL Claude used match your intent | A query for the wrong period or store |
| One total | Compare one total, such as net sales, with WooCommerce Analytics for the same period | A mismatch you need to explain |
| Report type | Look up each field in the glossary to see which report type it belongs to | Fields that can’t share one query |
| Date basis | Check created or modified date, local time or GMT. See “Which date counts” in the limits table | Orders counted by modified date |
| Sales metric | Check which of gross_sales, total_sales and net_revenue Claude used | Gross, total and net sales mixed up |
| Order status | Look for an order_status filter | Canceled or unpaid orders included |
| Currency | Check order_currency by order | Several currencies summed |
| The query itself | Ask Claude to show its query and field list | Fields or filters you didn’t expect |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| LICENSE_NOT_FOUND | The connection was made with an earlier email address or team | Confirm the email and team that match the paid subscription. Then disconnect Supermetrics in Claude Connectors, reconnect and pick that team |
| Claude queries another team’s data, or never calls Supermetrics | A different team was picked at first login, or several data tools compete for the question | Disconnect Supermetrics in Claude Connectors and reconnect with the right team. Begin the prompt with “use Supermetrics” |
| “No accounts found” | The keys or store URL you entered don’t reach a store | Work through the docs article “How to fix No accounts found errors”, then enter the store details again in the Hub |
| Claude says WooCommerce isn’t authorized | No Hub connection exists yet, or the old one lapsed | Ask Claude for the WooCommerce login link, or reconnect in the Hub. Then rerun the query |
| The store isn’t found after you enter the URL | The URL must start with https:// and be the base address only | Remove any path and enter, for example, https://example.com |
| You can’t find the consumer key and secret | Older stores keep them in a different menu | Use WooCommerce, Settings, Advanced, REST API. Before WooCommerce 3.4, use Settings, API, Key/Apps |
| Sales figures are missing or the connection is refused | The Analytics section is off, or your role is below Shop Manager | Enable the Analytics section and connect with a Shop Manager or higher account |
| Orders appear or vanish between runs | Orders are fetched by modified date by default | Set “Orders fetched by” to created date |
| Product report has no daily rows | That report type has no date field | Use Sales overview or Order items for daily views |
| Still stuck | Something else | Contact support through the Supermetrics Hub |
If a working query stops, reconnect WooCommerce in the Hub first.
Is it safe? Security and data handling
- Supermetrics connects with the consumer key and secret you create in WooCommerce, so you choose the access. Create the key with the permission level you’re comfortable with.
- Supermetrics fetches the fields you ask for and returns them to Claude. Anything in the result is visible in the chat.
- Order fields include billing_email, billing_phone, customer_ip_address and customer_note. Leave them out of your prompts unless you need them.
- The connector writes nothing to WooCommerce. It reads orders and sales, and the only write-like action is pushing a dashboard to Supermetrics Studio.
- 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.
- Anthropic’s storage and use of chat content depends on your Claude plan and organization settings. Supermetrics’ policies are in the Supermetrics Trust Center.
Related connectors
Send WooCommerce data to BigQuery to keep order history in a warehouse
Report on WooCommerce in Looker Studio with shareable sales dashboards
Analyze WooCommerce in Google Sheets in spreadsheet views of orders and products
Connect ActiveCampaign to Claude to match orders with email campaigns
Connect Stripe to Claude to compare orders with payments
See Supermetrics for Claude for every source you can ask Claude about
FAQ
-
A Model Context Protocol endpoint that lets an AI client read WooCommerce data. The Supermetrics connector for Claude covers this for you. For custom builds, see the connection routes compared above and the Supermetrics MCP server docs.
-
Supermetrics doesn’t document one, so check the WooCommerce developer docs for anything current. The Supermetrics connector is a separate route that reads WooCommerce through its own report types and fields, beside your other sources.
-
Yes. Add Supermetrics through Claude’s Connectors directory. The remote connector works on the web, in Claude Desktop and in Claude Code, subject to your account and organization settings. The standalone Supermetrics MCP server is a separate option for custom integrations and requires a subscription with API access.
-
No. Claude can read your store’s sales and orders but can’t change orders, prices or stock.
-
Supermetrics fetches data when you ask, so you aren’t reading a stored export. To confirm the newest orders are included, compare them with WooCommerce Analytics.
-
Yes. You pick the store to fetch from, so connect each store and name it in your prompt. Agencies can ask clients to authorize through a shared link from the Hub.
-
A trial is created at login, so you can start without a subscription. Teams that already pay for Supermetrics should look for an AI chats destination in the Hub, and pricing lists plans.
-
Check two places. Anthropic’s handling depends on your Claude plan and settings, so review Anthropic’s terms for your plan. Supermetrics’ policies are in the Supermetrics Trust Center.
-
By default Orders and Order items are fetched by modified date in local time, so edited orders fall in the range. Switch “Orders fetched by” to created date, and keep the date basis the same in both places.
-
The Sales by product report type has no date dimension. Use Order items with line_item_name and date for daily product views.