Connect Shopify to Claude
Connect Shopify to Claude with Supermetrics and turn your Shopify 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
With Supermetrics, Claude can read Shopify orders, line items, customers, products and refunds over the Model Context Protocol (MCP). It can’t edit your store.
What you can query
Supermetrics lists 136 Shopify fields (19 metrics and 117 dimensions) across seven report types.
What you need
Store owners connect with full access. Staff need two app permissions plus access to the store areas they want to query.
One store per connection
Each store is a separate connection.
Before you start
Claude
Your Claude account must be allowed to add connectors. Connectors sit under Customize, then Connectors, and your Claude administrator may manage that menu. Anthropic’s custom connectors guide explains remote connectors.
Supermetrics
If your team has no subscription, logging in starts a trial. Subscribers need an AI chats destination in the Supermetrics Hub. If none is there, upgrade or swap an existing destination.
If you connect under a trial email or team that differs from your paid subscription, you get LICENSE_NOT_FOUND (Supermetrics for Claude docs). See pricing for plans.
Shopify
Access works like this, per the Shopify connection guide:
- Store owners can install the app and have full access once connected. You can confirm the owner under Settings, then Users and permissions.
- Staff need the “Manage and install apps and channels” and “Approve app charges” permissions.
- Staff also need the owner to grant access to Home, Orders, Draft orders, Products, Gift cards, Customers, Reports, Dashboards, Marketing and Discounts.
- Shopify partner collaborators follow separate instructions linked from the guide.
Start here
How do you connect Shopify to Claude?
1 Add the connector. Press Try in Claude on the Supermetrics for Claude page, or search for Supermetrics in Claude under Customize, then Connectors.

2 Pick your team. Sign in to Supermetrics and choose your team. Without a subscription, the trial begins at this point.
3 Authorize Shopify. Install the Supermetrics app and authorize your store. Use either route. Option A, from the Hub: install the Supermetrics app when prompted, enter your store name (the first part of the URL, such as mystorename for mystorename.myshopify.com), click Start and log in. Option B, from inside Shopify: open the Supermetrics app, select Create or refresh a connection, log in, pick your team and click Back to Shopify.


4 Add more stores if needed. Each store is a separate connection, so repeat step 3 with that store’s name.
5 Run a small query. Shopify queries need a date range. If other data tools are connected, start the prompt with “use Supermetrics”. Try: “Use Supermetrics. Show Shopify gross sales, discounts, returns and net sales by month for the last six months.”
6 Check the totals, then dig deeper. Compare them with Shopify Analytics for the same dates and currency. If they match, move on to customers, products and inventory.
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 Shopify?
Change the dates and store to suit yours.
| Goal | Prompt | What you get | Fields used |
|---|---|---|---|
| Reporting | Show gross sales, discounts, returns and net sales by month for the last 12 months. | A monthly sales bridge | gross_sales, discounts, returns, net_sales, yearMonth |
| Diagnosis | Which products have inventory on hand but sold few units this month? | Slow stock candidates, from two queries | product_inventory_quantity, sku, ordered_quantity |
| Comparison over time | Compare new and returning customer orders by month this year against last year. | A year-on-year table | sm_order_count, order_is_returning_customer, yearMonth |
| Cross-source | Show daily Shopify net sales next to ad spend from my ad accounts for the last 30 days. | Both series on one date axis | net_sales, date, plus the ad source’s cost field |
| Attribution | Which UTM campaigns brought orders last month, and how many were first orders? | Campaigns with first-order counts | order_utm_name, customer_journey_customer_order_index, sm_order_count |
| Action | Build a dashboard of net sales, returns and repeat orders and push it to Supermetrics Studio. | A Studio dashboard | net_sales, returns, sm_order_count |
More example prompts
| Goal | Prompt | What you get | Fields used |
|---|---|---|---|
| Reporting | List my top 10 products by net sales last quarter, with SKU. | A ranked product table | net_sales, title, sku |
| Diagnosis | Which discount codes cut net sales the most? | Discount codes ranked by amount | discounts, order_discount_code |
| Comparison over time | Split net sales by sales channel and payment gateway for last month, with order counts. | Channel and gateway breakdown | net_sales, order_channel, order_payment_gateway_names, sm_order_count |
| Reporting | Which orders were refunded this month and why? | Refunded orders with notes | refund_id, refund_note, refund_processed_at_date, returns |
AI chats covers viewing and sharing Studio dashboards. Editing them needs a Studio destination subscription.
More patterns: AI chats use cases.

What can you do with Shopify data in Claude?
Start with a business question about your store. Claude picks the Shopify fields and returns the answer.
Net sales trend
Track net sales by month to see how much discounts and refunds took off gross sales.
Repeat buyers
Find repeat buyers by splitting new customers from returning ones and seeing where each order falls in a customer’s history.
Product bundles
Find product bundles by asking which products turn up on the same orders.
Slow-moving stock
Spot slow-moving stock by comparing stock on hand with units sold.
Product margin
Check margin by comparing each product’s cost of goods sold with its gross profit.
Marketing attribution
Attribute orders to marketing by seeing which campaigns, sources and referrers brought buyers in.
Claude can also build visual dashboards, either as shareable artifacts or pushed to Supermetrics Studio.
How does Shopify attribute an order to marketing?
Shopify records marketing details at two levels. Order-level details, such as UTM source, UTM medium, UTM campaign and referrer URL, describe the visit that led to that order. First-visit details describe how the customer first arrived.
Ask Claude to use one level per answer, and to say which, so first-touch and last-touch views don’t blur.
Can Claude help me reduce cart abandonment?
Not from this source. The Shopify connector doesn’t include abandoned checkout data. It covers orders, line items, customers, products and refunds.
To look at funnel drop-off, pair Shopify orders with a web analytics source such as GA4.
Can Claude help me with pricing?
It can analyze pricing. Ask Claude to compare price, cost per item, discounts and gross profit by product to see how discounting affected margin. Changing prices happens in Shopify.
How do you combine Shopify with other data in Claude?
Here are four ways to compare Shopify with your other sources.
Sales vs ad spend
Put daily Shopify net sales beside spend from your ad platforms to see whether spend and revenue move together.
Email sends and orders
Check whether order counts rise on send days with ActiveCampaign in Claude.
CRM activity and orders
Line up CRM deal activity with Shopify orders by date to see whether purchases rise on days with more deal activity.
Two-store comparison
Compare monthly order counts across both stores if you also run WooCommerce in Claude.
Shopify joins another source only on a shared dimension, and date always works. UTM names and campaign names match only if both systems use identical spellings, and Supermetrics doesn’t create that match. Don’t add amounts that are in different currencies.
What Shopify data can Claude query?
Supermetrics groups Shopify fields into seven report types: Customer, LineItem, Order, Product, ProductNoTimeDimensions, ProductSales and Sales. Keep each question to fields from the same group so they work together. Every Shopify query needs a date range.
| Report type or field group | What it covers | Example field IDs |
|---|---|---|
| Order and LineItem | Sales, discounts, returns, shipping and tax per order or line | gross_sales, net_sales, discounts, returns, order_financial_status |
| ProductSales | Sales per product or variant | total_sales, ordered_quantity, net_quantity, title, sku |
| Customer | Customer counts and attributes | customer_count, customer_country, customer_created_at_date |
| Product | Product attributes such as tags and status | product_tags, product_status, vendor, type |
| ProductNoTimeDimensions | Inventory by product, without date breakdowns | product_inventory_quantity, product_inventory_value |
| Marketing and journey fields | UTM values, referrers and first visit details | order_utm_source, order_utm_name, order_referrer_url, customer_journey_customer_first_visit_source |
| Refunds and fulfillment | Refund timing and fulfillment status | refund_processed_at_date, refund_note, order_display_fulfillment_status |
Field glossary
| Field ID | Plain-English meaning | Type | Watch out |
|---|---|---|---|
| gross_sales | The total price for the line item | Metric | Monetary. Check order_currency_code |
| discounts | The total amount of discounts applied | Metric | Monetary |
| returns | The total amount refunded for the order | Metric | Separate from returned_quantity |
| net_sales | Net sales for the line. Read it beside gross_sales, discounts and returns to see what came off the top | Metric | Monetary |
| total_sales | Total sales for the line, a separate figure from net_sales | Metric | Don’t swap it for net_sales |
| ordered_quantity | Total number of items ordered | Metric | Tagged to LineItem, Order and ProductSales |
| avg_total_sales | The average total sales, shown as Avg. order value | Metric | Order only, non-aggregatable |
| product_inventory_quantity | The product quantity in inventory | Metric | ProductNoTimeDimensions only |
| gross_profit | The total profit made | Metric | Pair it with cost_of_goods_sold |
| order_is_returning_customer | Whether the customer is returning or not | Dimension | Tagged to Customer, LineItem, Order and ProductSales |
| customer_journey_customer_order_index | The position of the current order in the customer’s history | Dimension | Useful for first versus repeat orders |
| order_currency_code | ISO 4217 currency code for the order | Dimension | Group by it if the store sells in several currencies |
The list holds 136 fields: 19 metrics and 117 dimensions.
What is the Shopify MCP connector for Claude?
The Shopify MCP connector for Claude is the Supermetrics connector that lets Claude read your Shopify data through the Model Context Protocol (MCP).
The Model Context Protocol (MCP) is an open standard that lets AI apps call external tools and read outside data (modelcontextprotocol.io). Supermetrics built its Claude connector on it. Ask how last month’s discounts affected net sales, and Claude chooses the Shopify fields while Supermetrics fetches them from your store. Claude then calculates the answer and writes it up.
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 Shopify to Claude?
| Option | Setup effort | Data scope | Blending with other sources | Maintenance | Suits |
|---|---|---|---|---|---|
| Supermetrics connector for Claude | Low: add the connector, install the Supermetrics app on the store | Shopify plus all other sources in your Supermetrics account | Yes, inside one chat | Supermetrics | Store owners, ecommerce marketers and analysts |
| Supermetrics MCP server (custom client) | Medium: set up your own MCP host | Same sources as above | Yes, if your agent combines results | You | Developers and agent builders |
| Shopify’s own MCP options, if the platform offers them | Depends on Shopify | Shopify only | Not without more tools | Shopify and your developers | Building on Shopify |
| CSV export and upload | Low, but manual every time | One export at a time | Only if you merge files | By hand | One-off checks |
| Shopify Admin API with custom code | High: build and host the script | What you code | What you code | Your developers | Custom pipelines |
Which one do I need?
- Choose the Supermetrics connector if you want store answers in Claude, or sales beside ad spend.
- Choose the Supermetrics MCP server if you run your own agent or n8n flow.
- Choose Shopify’s own tooling if the work is building on Shopify rather than reporting.
- Choose CSV or API code for a single snapshot or a pipeline you own.
When is this not the right tool?
A chat isn’t a database. For a durable order archive, send the data to Shopify to BigQuery.
For scheduled dashboards, try Shopify in Looker Studio. If your team lives in spreadsheets, open Shopify in Google Sheets instead.
How do you check Claude’s Shopify numbers?
Start by matching the date range, store and currency to your question. Compare one total with Shopify Analytics or a Shopify report, and ask Claude to show the query and the fields it used. If the numbers still differ, check the causes below.
| Situation | What happens | What to check or do |
|---|---|---|
| Gross sales read as net sales | gross_sales, net_sales and total_sales are separate fields | Check which one Claude used, and see the field glossary |
| Returns and refund dates | returns is the amount refunded for the order, and refunds have their own dates such as refund_processed_at_date | Check whether the order date or the refund date drove the range, and pick the one that matches the question |
| Canceled orders | Fields such as order_cancelled_at_date and order_financial_status exist | Filter on the cancellation fields and compare with Shopify |
| Time zone of the day boundary | Daily totals depend on where the day starts and ends | Check how your Shopify report defines the day |
| Currency | order_currency_code names each order’s currency | Group by it and don’t add mixed currencies |
| Pre-aggregated metrics | Average order value and units per transaction are non-aggregatable | Request the grouping you need rather than summing |
| Multiple stores | Disabled or inaccessible stores can cause errors | Check “Exclude invalid accounts” if a store is disabled. Ignored stores drop from results |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| LICENSE_NOT_FOUND | The connection was made under another email or team | Work out which email and team hold the paid subscription, then disconnect Supermetrics in Claude Connectors and reconnect with that team |
| Wrong team, or Supermetrics gets ignored | The first login picked a different team, or other tools compete | Reconnect on the right team, and use the prompt tip in step 5 |
| “No accounts found” | The login has no Shopify store attached | Authorize again with the right store name, and check you’re on the right team |
| Shopify shows as not authorized | The store was never connected on this team | Ask Claude for the login link, or run Create or refresh a connection in the Supermetrics app |
| Login fails on the store name | The store name is wrong | Enter only the first part of the URL, such as mystorename |
| Only one store returns data | The second store was never authenticated | Repeat authentication with the second store’s name |
| The app can’t be installed by a staff member | Staff need “Manage and install apps and channels” and “Approve app charges” | Ask the store owner to install, or to grant both permissions |
| Orders, customers or products are missing | The staff account lacks access to those areas | The owner grants access to Orders, Customers, Products and the other listed areas |
| Inventory by date returns nothing useful | Inventory fields sit in ProductNoTimeDimensions | Ask for a snapshot without date breakdowns and trend sales instead |
| Average order value looks wrong in totals | It’s non-aggregatable | Ask for the grouping you need, such as by month |
| Still stuck | Something else | Contact Supermetrics support |
Is it safe? Security and data handling
- Supermetrics fetches only the fields you request for the stores you connected, and Claude shows the results.
- Customer fields hold names, emails, phones and addresses. Fields such as customer_email and order_shipping_phone are personal data, so request them only when you need them.
- The connector is read only, so products, prices, orders and inventory stay untouched. The only thing Claude can create is a dashboard in Supermetrics Studio.
- The store owner, or a staff member with the listed permissions, installs the app. Staff data access in Shopify controls what the connection can read.
- Anyone who can see the chat sees what Claude returned.
- Check Anthropic’s terms for your plan to see how chats are stored and retained.
- The Supermetrics Trust Center lists Supermetrics’ security material.
Related connectors
Send Shopify data to BigQuery for a warehouse copy of order history
Build Shopify reports in Looker Studio for sales dashboards on a schedule
Pull Shopify into Google Sheets for orders and products in a sheet
Connect WooCommerce to Claude to set a second store alongside
Connect ActiveCampaign to Claude for email sends next to orders
Supermetrics for Claude for all sources you can ask Claude about
FAQ
-
Supermetrics offers a Claude connector for Shopify reporting that needs no MCP setup, plus the standalone Supermetrics MCP server for people building their own agents. In general, a Shopify MCP server exposes store capabilities to AI clients over the Model Context Protocol.
-
Shopify may offer its own MCP options, so check its documentation for what exists today. The Supermetrics connector is separate. It reads Shopify through Supermetrics 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. The connector is read only. Claude can’t edit a product, change a price or fulfill an order.
-
Data is fetched when you ask. For orders placed minutes ago, compare with Shopify.
-
Yes, one connection per store. Repeat the same steps for each additional store.
-
Not to start. A trial begins when you log in, so you don’t need a subscription to begin. To keep using the connector, you need a Supermetrics subscription that includes an AI chats destination.
If your subscription has no AI chats destination, upgrade or swap a destination in the Supermetrics Hub. Editing Studio dashboards needs a Studio destination. See pricing for plans.
-
Anthropic’s handling of your chats depends on your plan and settings. Read Anthropic’s terms for your plan before you connect your store.
-
Group orders by order_is_returning_customer or customer_journey_customer_order_index. The first shows new against returning, and the second gives the order’s position in the customer’s history.
-
Gross, net and total sales are separate fields, and refunds or discounts may be dated differently. Compare the same field and date basis. Checking results against Shopify lists the other common causes.
-
Not for the steps on this page. You install the Supermetrics app from the Shopify app store, enter your store name and log in.