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-tokens with { "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-tokens lists 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).

ToolWhat it returns
list_businessesStores this token can read in Analytics
metric_dictionaryWhat every metric and state means, with calculation versions
customer_cohortsObserved acquisition cohorts, contribution LTV, retention, payback and complete follow-up periods
refund_diagnosticsRefund, return and reship exposure by supplier, product, destination and cohort
business_summaryTotals and the waterfall from net sales to operating result
country_sku_matrixDestination country × SKU with landed-cost categories and break-even
country_order_type_matrixCountry × order type, or × exact basket composition
list_ordersOrder economics one page at a time; totals cover every order
order_economicsOne order with every raw supplier fee, revision and allocation
cost_category_bridgePer-order cost differences between two rows or two periods
cost_queuesUnclassified, unreconciled, missing and changed costs
ad_campaign_treeSpend, platform-reported and observed results, unattributed and unmapped spend
data_healthSource freshness, coverage by cost category, stock signals
attention_itemsSaved attention items and decisions
recommendationsRule-based verdicts: hold, investigate, revise, pause candidate, controlled scaling test, not enough evidence
store_profileYour approved business profile
saved_analysesSaved views and analyses
scenario_calculateContribution 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.

On this page