GUIDE / MCP SERVER
Your Threads data,one question away.
Your dashboard already runs an MCP server at /api/mcp. Connect the AI agent you already use — Claude Code, Claude, Codex, Cursor — and it can read your posts, analytics, and follower history to answer questions and write reports. Read-only, and you approve every connection.
About 2 minutes · No API keys · Read-only
https://your-deployment.example.com/api/mcp
claude mcp add --transport http threads-analytics https://your-deployment.example.com/api/mcp
Replace your-deployment.example.com with your deployed dashboard's domain.
01 / WHAT IT CAN DO
Six read-only tools. Six report prompts.
The server turns your synced data into structured tools. You ask in plain language; your agent picks the right tool and reads only what it needs.
get_account_overviewSee the account at a glanceUsername, sync status, post count, data range, and follower growth summary — the first call every conversation starts with.
list_posts · get_postSearch and read every postFilter by date, media type, or text, sort by views, likes, or engagement rate, then pull any post's full text.
get_analytics31 analytics sectionsBest time to post, keyword analysis, posting streaks, views distribution, and more — computed over any date range you ask for.
get_follower_historyFollow the audience curveDaily follower snapshots with a growth summary, plus the latest country, city, age, and gender demographics.
compare_periodsCompare any two periodsPosts, views, engagement, and follower growth side by side, with absolute and percentage changes.
6 built-in promptsReports, ready to runPerformance review, content strategy, posting schedule, and three more — pick one from your client's prompt menu and get a full report back.
02 / HOW TO CONNECT
No API keys. Approve it in your browser.
Authentication is OAuth 2.1 with PKCE and dynamic client registration: the client registers itself, your browser opens your dashboard's sign-in, and you approve access on a consent screen.
- Copy your endpoint
The MCP server lives at /api/mcp on the dashboard you deployed — the same domain you sign in to, nothing extra to run.
- Add it to your client
One command in Claude Code or Codex, a custom connector in Claude, a URL entry in Cursor — switch between them below.
- Sign in and approve
Your browser opens the dashboard login. Approve the read-only scope and the agent is connected — revoke it anytime in Settings.
Run the one-line command — copyable at the top of this page — then run /mcp inside Claude Code and complete the sign-in when the browser opens.
Connected agents
MCP clients you have authorized to read your analytics data.
03 / HOW TO USE IT
Ask in your own words, or start from a prompt.
Once connected, the tools appear automatically — there is nothing to configure. Ask anything about your account, or run one of the six built-in prompts; each takes an optional period like 30d or 90d.
Your agent decides which tools to call — overview first, then posts, analytics, or follower history as needed.
performance-reviewPerformance reviewTrends, your best and worst posts with likely reasons, and three concrete actions for the next period.
content-strategyContent strategyWhich formats, lengths, and topics work — and the content mix to publish going forward.
posting-schedulePosting scheduleA concrete weekly schedule built from when your audience actually engages.
viral-post-breakdownViral post breakdownDeep-dives your outlier posts and extracts the repeatable patterns behind them.
audience-insightsAudience insightsFollower growth and demographics, and what they imply for content and timing.
topic-analysisTopic analysisWhich topics and writing patterns drive performance, plus five post ideas that apply them.
Point your agent at your own data.
Deploy the dashboard, connect the agent you already use, and your next performance report is one prompt away.
Every connected agent shows up in Settings → Connected Agents — revoke access with one click.
