Store analytics for AI agents
Connect Claude, Claude Code, Cursor or any MCP app to your store’s paid orders, ad spend and traffic. Your agent answers from money you actually collected, and it can’t touch your ads.
Agents are on every plan. 14 days free, no card. Plans from $9 a month.
Claude: sign in, no key.
In Claude desktop or claude.ai, add DataStated as a custom connector and sign in. There’s no key to copy. The connection shows up under your API keys as “Claude (connected app)”, and revoking it disconnects Claude.
Claude Code: one command.
Make a key for AI tools in DataStated and paste one command into your terminal. Add it once with the user scope and it works in every folder, plus the Code tab in the Claude desktop app.
Cursor and VS Code: one click.
The Connect your AI tools card in DataStated makes a key and opens your editor with the server filled in. You confirm, and the agent can ask about your store.
Any MCP app, or a script.
Point any app that speaks MCP at one address. For scripts and cron jobs, the command-line tool signs in through your browser and prints tables or JSON.
Connect · AI agents
Pick your agent
Claude desktop and claude.ai
Sign in, no key
- Open Settings, then Connectors, and choose Add custom connector
- Paste the address, select Connect, then sign in to DataStated and approve
https://app.datastated.com/api/mcp - It can read your analytics and manage goals and chart notes
- Revoke “Claude (connected app)” under your API keys to disconnect
Claude Code
One command, with a key
- In DataStated, choose Create a key for AI tools. The key is shown once
- Run this, with your key in place of dsk_YOUR_KEY
claude mcp add --scope user --transport http datastated https://app.datastated.com/api/mcp --header "Authorization: Bearer dsk_YOUR_KEY" - Optional: add the DataStated skill so the agent knows which tool answers which question
npx skills add https://datastated.com - The AI tools key can read analytics and manage goals and chart notes
- It can’t change settings, people, billing or other keys
Cursor
One click, with a key
- In DataStated, choose Create a key for AI tools, then Add to Cursor
- Cursor opens and asks you to confirm the DataStated server
- Or add it by hand in .cursor/mcp.json with the same address and your key
- A key made from a site’s settings works on that site only
VS Code
One click, with a key
- In DataStated, choose Create a key for AI tools, then Add to VS Code
- VS Code opens and asks you to confirm the DataStated server
- Ask through GitHub Copilot in agent mode
- Revoke the key and the agent stops on its next request
Any other MCP app
One address, over Streamable HTTP
- Point the app at this address
https://app.datastated.com/api/mcp - Apps that support MCP sign-in connect the way Claude does, with no key
- Other apps send your key as a Bearer header
- Ask for datastated_help first: it lists every tool and the permission it needs
Terminal and scripts
Browser sign-in, no dependencies
- Sign in once. Your browser opens to approve it
npx datastated login - Then ask from a terminal, script or cron job
npx datastated window yourstore.com - Add --json for the raw response, ready for another tool
- Deleting or revoking asks first unless you pass --yes
ChatGPT shows up in your reports as a traffic source when shoppers click through from it.
Ask in plain words.
Your agent picks the right DataStated tool and answers from your own numbers: paid orders from Shopify or Stripe, ad spend, traffic by source and the searches that brought people in.
Questions people ask:
- How is my site doing this week compared to last?
- Did Meta actually earn its spend in August?
- What did people search for to land on the pricing page?
- Which AI assistants read my pages last week?
- Add a funnel from /pricing to the signup goal, then show me its drop-off.
DataStated connected · Acme Inc., example store
How did Meta really do last month?
Meta says 80 sales and $5,847 in the last 30 days. Your store got 25 orders worth $2,479 from Meta ads, so Meta is taking credit for sales other channels brought in.
Where should the next $500 go?
Your best source with no ad spend was Google search: 15 orders and $1,234. Before adding to Meta, I’d test whether that spend still pays once it’s measured against real orders.
Example conversation with example data
What an agent can and can’t do
The agent gets exactly the permissions its key holds, and nothing the API itself can’t do. The MCP guide lists every tool.
- Read your numbers
- Visitors, sources, paid orders, ad spend, Meta’s claims beside your orders, Search Console terms and AI crawler visits.
- Set up tracking
- With permission, it can add goals, funnels and chart notes, so a new signup or booking gets counted.
- Never touch your ads
- Ad data is read-only everywhere in DataStated. Your agent’s requests never reach Meta, Google Ads or TikTok, and it can’t change a campaign, budget, bid or ad.
- Ask before deleting
- Anything that deletes, revokes or disconnects answers with a dry run first. It only happens when the agent confirms.
- See no secrets
- Lists never return key values or the credentials behind your connections. Connecting Shopify, Stripe or Meta stays in the dashboard.
- Stay where you put it
- Pin a key to one site, pick its permissions, and revoke it any time. It stops on the next request.
Every way to connect
One server for every agent. How you connect depends on the app.
| Agent | How it connects | Sign-in |
|---|---|---|
| Claude desktop and claude.ai | Custom connector | Sign in to DataStated, no key |
| Claude Code | One terminal command | Key for AI tools |
| Cursor | Add to Cursor button, or .cursor/mcp.json | Key for AI tools |
| VS Code | Add to VS Code button, for GitHub Copilot in agent mode | Key for AI tools |
| Other MCP apps | Streamable HTTP at app.datastated.com/api/mcp | MCP sign-in where the app supports it, otherwise a key |
| Terminal and scripts | npx datastated | Approve in your browser |
Step-by-step guides: Claude, Claude Code, Cursor and VS Code. For every detail, see the MCP guide, the command-line guide and the API reference.
Questions
Which AI agents work with DataStated?
Claude desktop and claude.ai connect by signing in, with no key. Claude Code, Cursor and VS Code (GitHub Copilot in agent mode) connect with a key. Any other app that speaks MCP can connect to https://app.datastated.com/api/mcp, and scripts can use the command-line tool.
Can my agent change my ads?
No. Your agent reads the numbers DataStated has already pulled in. Its requests never reach Meta, Google Ads or TikTok, and nothing in DataStated can create, change or pause a campaign, budget, bid or ad.
Is there a DataStated skill?
Yes. Run npx skills add https://datastated.com and pick your agent. It works with Claude Code, Cursor, Codex and the other agents the skills tool supports. The skill tells the agent which DataStated tool answers which question, to lead with paid orders over ad platform claims, and to ask before anything that deletes. It needs the MCP connection or the command-line tool to reach your data.
What is MCP?
MCP (Model Context Protocol) is the standard way AI agents reach outside tools. Once DataStated is connected, your agent can call its tools to read your numbers the same way it reads a file.
Does connecting an agent cost extra?
No. The MCP server, the API and the command-line tool are part of every plan, including the 14-day free trial. See plans and prices.
Can I limit what the agent sees?
Yes. Each key carries only the permissions you pick, and a key made from a site’s settings works on that site only. Revoking the key disconnects the agent on its next request.
Give your agent the real numbers.
14 days free with every feature, no card. Add your site, connect your store, then connect your agent.
Add my site Or install it from the Shopify App Store