MCP server and Ask
Use Pathrail from Claude, Cursor or any MCP client.
The MCP server gives an agent the same reports as the dashboard. With a full key it can also create goals, funnels and alerts. A read key only gets the read tools.
claude mcp add --transport http pathrail https://pathrail.io/api/mcp --header "Authorization: Bearer sk_pr_..."
For Cursor, Windsurf and other clients:
{ "mcpServers": { "pathrail": { "url": "https://pathrail.io/api/mcp", "headers": { "Authorization": "Bearer sk_pr_..." } } } }Tools include overview, breakdown, revenue, ltv, retention, funnels, goals, ai_visibility, uncrawled_pages, bot_report, railhq_apps, predictions, journey (one person's whole history) and get_install_instructions, so an agent can set up tracking in your codebase for you.
Ask
Every site also has an Ask page in the dashboard. Ask in plain words, like "which AI assistant brought paying customers last month?". The answer links each number to the report it came from.