Connect Claude (MCP)
SlingAgent runs a Model Context Protocol (MCP) server, so Claude — or any MCP client — can read your analytics and answer questions like "which network sent the most clicks this month?", "did anything come from ChatGPT?" or "what should I post more of?". It's read-only: Claude can look, never post or change anything.
Available on the Unlimited plan.
On claude.ai (easiest)
No token needed — you sign in and approve:
- In Claude, open Settings → Connectors and choose Add custom connector.
- Name it SlingAgent and enter the URL
https://slingagent.com/api/mcp. - Click Connect. Claude sends you to SlingAgent; sign in if asked, check the request, and click Allow.
That's it — ask Claude about your analytics in any chat with the connector turned on. You can see and disconnect it any time under Settings → API tokens → Connected apps.
Claude Code, Claude Desktop and other clients
These use a personal token instead. Create one under Settings → API tokens
and copy it (it's shown once; it starts with slag_).
Claude Code — one command:
claude mcp add --transport http slingagent https://slingagent.com/api/mcp \
--header "Authorization: Bearer slag_your_token_here"
Claude Desktop — add this to your claude_desktop_config.json and restart
Claude. It uses the mcp-remote bridge, which needs Node.js installed:
{
"mcpServers": {
"slingagent": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://slingagent.com/api/mcp",
"--header", "Authorization:${SLINGAGENT_AUTH}"],
"env": { "SLINGAGENT_AUTH": "Bearer slag_your_token_here" }
}
}
}
Other clients — anything that speaks MCP over Streamable HTTP works: either
with OAuth (it'll find SlingAgent's sign-in automatically) or with the header
Authorization: Bearer <token>.
What Claude can see
| Tool | What it returns |
|---|---|
get_summary |
Clicks, visitors, change vs last period, top links, networks, countries, sources, best hours, top posts |
list_links |
Your links with ids, clicks and networks |
get_traffic_sources |
Channels — including AI assistants — and every named source |
get_devices |
Phone vs desktop, browsers, and how often clicks open inside an app |
get_funnel |
Posts → views → clicks → visitors → earnings |
get_live_clicks |
The last 30 minutes, click by click |
get_recommendations |
SlingAgent's suggestions for your account |
Most tools take the same filters as the Analytics pages: range_days,
network, link_id and country.
Good to know
- Bots are already excluded, same as everywhere else in SlingAgent.
- Earnings are whatever you've logged on each link — Claude can't see your affiliate account.
- Rate limit: 120 requests per minute per account.
- Revoke access any time: disconnect the app under Settings → API tokens → Connected apps, or delete the token you pasted.
SlingAgent