
sortviral
io.github.postoncehq/sortviral
TikTok, Instagram and YouTube MCP: sort any creator's posts by views and find the viral outliers.
Documentation

SortViral Skills
TikTok, Instagram and YouTube MCP: sort any creator's posts by views and find the viral outliers and winning formats from your AI. The official SortViral MCP server and skills for Claude, Claude Code, Cursor, Codex, Windsurf and any MCP app: your AI loads a creator's posts in your own Chrome, scores each one against the creator's usual views, and tells you which formats keep beating it.
Requires the free SortViral Chrome extension. It does the work in your own Chrome, signed in as you. No API key, no server, no account. Read-only: it never posts, likes or follows.
You: Find the formats on this creator's Instagram and tell me which to copy.
Claude: Loaded his latest 100 posts and scored each against his usual views.
1. Gives away his own free app, "comment CLIP for the link"
12 posts, median 11.2x (best 134x, 106x, 88x)
2. "AI makes my videos" stack demo: 5 posts, median 9.0x
3. Chatbot build demo: 12 posts, median 3.8x (one 248x was luck)
Copy the first: it repeats, and 3 of his top 4 posts are in it.
Install
- Install the SortViral Chrome extension and keep Chrome open.
- Add SortViral to your AI app. The easiest way: ask it, "Add the SortViral MCP server to this app: npx -y sortviral-mcp". Or:
| App | How |
|---|---|
| Claude Code | /plugin marketplace add postoncehq/sortviral-skills then /plugin install sortviral@sortviral-skills (MCP + skills), or claude mcp add sortviral -- npx -y sortviral-mcp (MCP only) |
| Claude Desktop (one click) | Download sortviral.mcpb, double-click it, then click Install |
| Cursor, Windsurf, Cline, Claude Desktop | Add { "mcpServers": { "sortviral": { "command": "npx", "args": ["-y", "sortviral-mcp"] } } } to the app's MCP settings |
| Codex | codex mcp add sortviral -- npx -y sortviral-mcp |
| Gemini CLI | gemini extensions install https://github.com/postoncehq/sortviral-skills |
SortViral connects by itself, with no code to approve. Step-by-step for each app: sortviral.com/ai.
What you can ask
| Ask | What happens |
|---|---|
| "Find the outliers on @mrbeast's TikTok from the last 90 days" | sort_page by outlier score (views ÷ the creator's usual) |
| "What's blowing up on this channel right now?" | sort_page by rising (views per day) |
| "Find the formats on instagram.com/natgeo and tell me which to copy" | find_formats + the find-formats skill |
| "Compare the best posts of these 5 creators this month" | find_outliers, each post scored against its own creator |
| "Scan my Watchlist and list this week's top 10" | scan_watchlist |
| "Search TikTok for 'iphone review' and sort by views per follower" | search |
| "Find creators like @mkbhd that are growing fast" | similar_accounts (Instagram) |
| "Get the transcript of this video" | get_transcript (TikTok, YouTube) |
Works on Instagram (Reels, Posts, search, hashtags), TikTok (profiles, search, hashtags, sounds), YouTube (Videos and Shorts), Facebook (Reels) and Pinterest (profiles, boards, search).
Skills
| Skill | Use it for |
|---|---|
sortviral | Which tool to call, what each number means, how to answer |
find-outliers | A creator's or a niche's standout posts, and what's rising |
find-formats | Recurring hook + filming formats, ranked by median outlier score |
competitor-watchlist | Track competitors, a weekly report, similar rising creators |
Post what you make
When the video is filmed, PostOnce posts one upload to TikTok, Instagram, YouTube and more, and has its own MCP.
Source
The MCP server is in server/ (no dependencies; node --test server/test runs its tests) and is published to npm as sortviral-mcp. Dockerfile runs it from source.
Privacy
Everything runs in your browser. The bridge (sortviral-mcp) only passes messages between your AI app and the extension over ws://127.0.0.1 and sends nothing to any server. Privacy policy.
MIT licensed.
sortviral-mcpnpm install sortviral-mcp