Connect Claude Code, Cursor, or Codex
EarnedFrom runs a standard MCP server, so any MCP-compatible AI tool can query your analytics in plain English.
Claude Desktop or Cursor: one click
EarnedFrom supports the standard connector sign-in flow. In your AI tool, add a custom connector with the URL below — you'll be sent to earnedfrom.com to log in and approve access, no token copying needed:
https://earnedfrom.com/api/mcpAfter you click Allow, the connection is ready — no restart needed for most tools (Claude Desktop needs a full restart, since it only loads connectors on startup).
Claude Code (CLI): use a token
Go to /dashboard/mcp and click "Create Token". Copy it now — it's shown only once.
claude mcp add --transport http askiraz https://earnedfrom.com/api/mcp \
--header "Authorization: Bearer YOUR_TOKEN"Any other config-based client
Paste the same token into your tool's MCP config:
{
"mcpServers": {
"askiraz": {
"url": "https://earnedfrom.com/api/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}What you can ask
- Which channel drove the most visitors to my site last month?
- How much revenue came from Google Ads this week?
- How many WhatsApp clicks did I get from Meta Ads?
- Which of my goals has the most completions?
- What plan am I on, and when does my trial end?
Access is read-only
MCP access can query your data but can't delete sites, change billing, or modify settings — those stay dashboard-only.