Profitpather — Shopify MCP server: analytics and setup
Profitpather gives AI agents access to unsampled Shopify event analytics. Use it to inspect acquisition sources, conversion funnels, visitor journeys, and potential revenue losses.
claude mcp add --transport http analytics https://profitpather.com/mcpWhat Profitpather does
Profitpather exposes 26 MCP tools for querying Shopify store analytics from an AI coding client. The tools cover sessions, campaign attribution, funnel stages, page transitions, device breakdowns, and pixel health. pp_diagnose_leaks combines eight analyses into a prioritised recommendation list, while pp_brief returns a formatted snapshot of key metrics, acquisition, devices, and pixel status.
The server uses Streamable HTTP at https://profitpather.com/mcp and authenticates through OAuth 2.1. A Shopify store needs the Profitpather Custom Pixel to collect the events used by its analytics. Merchant events are stored in D1, with queries reading the database directly rather than passing through a cache or sampling layer. All 26 tools are read-only and scoped to the merchant's own data, so the agent can investigate issues but cannot apply fixes through these tools.
Supported clients include Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, and Gemini CLI. Add the MCP connection using the relevant client configuration, restart the client, and authorise access when the first tool call triggers OAuth. Without the Shopify Custom Pixel collecting events, the server lacks the store activity needed for its analysis.
What it helps with
- Trace revenue back to acquisition sources and campaigns
- Locate funnel stages where shoppers drop out
- Find page transitions associated with dead ends
- Check analytics pixel coverage and status
- Compare store metrics across reporting periods
Example prompts for the agent
- Summarise the store's traffic and sales using
pp_brief. - Use
pp_diagnose_leaksto identify revenue losses and rank the recommended actions. - Compare acquisition channels by revenue and conversion with
pp_acquisition.
How to install Profitpather
Platform CLI: remote server
claude mcp add --transport http analytics https://profitpather.com/mcpPlatform CLI: remote server
codex mcp add profitpather --url https://profitpather.com/mcpConfig file
{
"mcpServers": {
"profitpather": {
"url": "https://profitpather.com/mcp"
}
}
}Config file
{
"servers": {
"profitpather": {
"type": "http",
"url": "https://profitpather.com/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http profitpather https://profitpather.com/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Profitpather
How do I install Profitpather in Claude Code?
Run claude mcp add --transport http analytics https://profitpather.com/mcp, followed by claude mcp add --transport http profitpather https://profitpather.com/mcp. Restart the client, then authorise the connection through OAuth 2.1 when you call a tool for the first time.
What does the Profitpather MCP server do?
It gives AI agents 26 tools for examining Shopify traffic, campaign attribution, conversion funnels, and possible revenue losses. The tools query the merchant's own analytics data and do not modify it.
Does Profitpather require a Shopify pixel?
Yes. The store needs a Profitpather Custom Pixel to collect the events used for analysis. You also need a Profitpather account and must approve the OAuth 2.1 connection.