Your team asks Claude about the store in plain language — "how did we do this week?", "what should I reorder?" — and Claude answers through ten tools that compute every number in code and return it with its date range. Read-only and free of customer personal data by default; tagging orders is an opt-in, two-step preview → confirm flow.
Recorded on 26 Nov 2026: headless Claude Code with this server attached over stdio, sample store, read-only, only four tools allowed. Not edited except formatting. I re-checked every number below against the data afterwards — all match.
Q: How did the store do in the last 7 days compared with the 7 days before, and which 3 variants should I reorder first? Keep it short.
| Nov 18–24 | Nov 11–17 | Change | |
|---|---|---|---|
| Net sales | $13,382.29 | $11,081.09 | +20.8% |
| Orders | 24 | 16 | +50% |
| Avg order value | $557.60 | $692.57 | −19.5% |
| Units sold | 130 | 125 | +4% |
"More orders, but each one smaller. The earlier week was lumpy — Nov 15–16 alone was $8,408.68 (~76% of that week). Reorder first (sold out, highest 30-day sales): Joggers in technical microfiber soft-shell / 34 — 12 sold; Waterproof Wading Jacket clay / L — 8 sold; Compact Camping Stool breathable / small — 8 sold. Next: High-Tech Synthetic Trousers 32 / nylon-blend — 4 left, 10 sold, about 12 days of cover."
Claude's answer, shortened. Full transcript in the repo: docs/claude-code-session.md.
An inspector over the server's real tool definitions and input schemas, running on the sample store in your browser. Pick a tool, change the arguments, call it — this is exactly what Claude receives. Dashed tools are the write tools that only exist with --allow-writes.
| Tool | Answers | Rule |
|---|---|---|
store_overview | Catalog size, last 7 days, low-stock count | Start here |
sales_summary | Orders, gross/net, discounts, AOV, per-day series | Always returns the period; cancelled orders counted separately |
top_products | Best sellers by units or revenue | Default last 30 days |
find_orders / get_order | Orders by date, status, tag, total, note | Customers as ids only; notes as note_untrusted |
inventory_report | What to reorder | On hand, sold in 30 days, days of cover |
search_products · review_insights | Products, ratings, recent low reviews | Review text as _untrusted |
preview_order_tags → apply_order_tags | Tag orders | Opt-in; preview returns a 10-minute single-use token; audit log |
Also: store policies as MCP resources and two prompts, weekly_report and restock_check.
readOnlyHint, so Claude Desktop can auto-approve reads and ask for writes.claude mcp add shopify-store -- npx tsx /path/to/shopify-store-mcp/src/index.ts
# Claude Desktop: claude_desktop_config.json
{ "mcpServers": { "shopify-store": {
"command": "npx", "args": ["tsx", "/path/to/src/index.ts"],
"env": { "SHOPIFY_STORE_DOMAIN": "your-store.myshopify.com", "SHOPIFY_ADMIN_TOKEN": "shpat_…" } } } }
Custom app scopes: read_orders, read_products, read_customers (id only), read_legal_policies, plus write_orders if writes are on. All Admin operations validated against API 2026-10.
| What | Result |
|---|---|
| Tests through a real MCP client (numbers vs hand count, PII never returned, notes untrusted, preview/apply/expiry/single use, tag format) | 11 / 11 pass |
| End-to-end from Claude Code on the sample store | Correct — every number re-checked |
| Run against a real store | Not yet (GraphQL validated, not executed) |
Drafted the server, tool code, Shopify adapter and tests; generated and checked the session transcript.
Chose the ten tools and their outputs, "code computes", no-PII, the token-based write flow and the limits; verified the Claude session's numbers against the data.