Analytics in Claude or ChatGPT (MCP)
Read your PaidGoods Analytics numbers from Claude, ChatGPT or Cursor with a read-only token.
PaidGoods Analytics can be read by any MCP client. The client gets the same numbers, definitions and data warnings as the dashboard and the CSV export. It cannot change anything, and it needs no AI key: your MCP client uses its own model, and PaidGoods makes no model request for these reads.
Analytics is turned on per store. If it isn't on for yours, these tools answer 403.
Make a read-only token
Create a token that can only read Analytics for one store:
POST /v1/stores/{storeId}/profitability/mcp-tokenswith{ "name": "Claude" }. You need the Create and manage API keys permission and a recent "confirm it's you". The token is shown once.GET /v1/stores/{storeId}/profitability/mcp-tokenslists them;DELETE /v1/stores/{storeId}/profitability/mcp-tokens/{id}revokes one. A revoked token stops working at once.
A store API key with only the View analytics permission works the same way.
Connect
Use the endpoint https://mcp.paidgoods.com/mcp/analytics with the header Authorization: Bearer <token>. It lists only the Analytics tools and the docs search. The full /mcp endpoint also includes them.
{
"mcpServers": {
"paidgoods-analytics": {
"url": "https://mcp.paidgoods.com/mcp/analytics",
"headers": { "Authorization": "Bearer <token>" }
}
}
}Tools
Start with list_businesses, then pass its storeId to the others. Every tool takes an optional period (query.from, query.to, time zone, currency, or a snapshotId).
| Tool | What it returns |
|---|---|
list_businesses | Stores this token can read in Analytics |
metric_dictionary | What every metric and state means, with calculation versions |
customer_cohorts | Observed acquisition cohorts, contribution LTV, retention, payback and complete follow-up periods |
refund_diagnostics | Refund, return and reship exposure by supplier, product, destination and cohort |
business_summary | Totals and the waterfall from net sales to operating result |
country_sku_matrix | Destination country × SKU with landed-cost categories and break-even |
country_order_type_matrix | Country × order type, or × exact basket composition |
list_orders | Order economics one page at a time; totals cover every order |
order_economics | One order with every raw supplier fee, revision and allocation |
cost_category_bridge | Per-order cost differences between two rows or two periods |
cost_queues | Unclassified, unreconciled, missing and changed costs |
ad_campaign_tree | Spend, platform-reported and observed results, unattributed and unmapped spend |
data_health | Source freshness, coverage by cost category, stock signals |
attention_items | Saved attention items and decisions |
recommendations | Rule-based verdicts: hold, investigate, revise, pause candidate, controlled scaling test, not enough evidence |
store_profile | Your approved business profile |
saved_analyses | Saved views and analyses |
scenario_calculate | Contribution and allowable cost per purchase for a basket mix you enter |
What every answer carries
Each result has a one-line summary, the data, and a scope block: period, time zone, currency, metric and policy versions, snapshot id, data cutoff, each source's freshness, and completeness (how many orders are estimated or unavailable, sample size, unresolved supplier totals). Unknown amounts are null, never 0. Money is in minor units (cents for USD).
Ask your assistant to quote the period and the data warnings with any figure. If a source is stale or a sample is under 10 orders, treat rankings as unproven.
Customer cohorts use the first paid live order in the reporting time zone. Unidentified orders stay separate. The 30, 60, 90, 180 and 365 day values are observed only, and each period says whether every needed source and linked ad account covers it. Missing coverage means incomplete. A named return affects only the named product; a mixed basket’s supplier credit needs product evidence before it can be shown against a product. Predicted LTV is unavailable until a method has enough complete history and passes a back-test. The read API also offers customer-cohorts, customer-cohorts/detail, retention, payback, refund-diagnostics, and matching export.csv?report= values.
What it can't do
There is no tool to change ads, budgets, prices, orders, refunds or suppliers. Customer names, emails and addresses are not in any result, and neither is any connection credential.