Answers
Is there an MCP server that gives Claude TikTok, YouTube and X data?
Short answer
Yes. Add the okdata MCP server (https://api.okdata.online/mcp) to Claude with your API key, and Claude can search TikTok ($0.002 a page), read YouTube transcripts ($0.004 a video) and search X ($0.006 a page), plus comments, profiles and trends, all with one key and no platform logins. A ten-call research session across the three costs $0.047.
Picture a brand manager typing into Claude: what are people on TikTok, YouTube and X saying about our new serum this week? Without tools, Claude can only guess. With an MCP server it can search each platform, read the transcripts and comments, and come back with sources. Most open-source MCP servers cover one platform and run a scraper on your machine. The okdata server is remote, covers all three, and answers with the same post, comment and account shapes everywhere.
What Claude can reach
| Platform | Endpoints |
|---|---|
| TikTok | video search, video detail, comments, account profile |
| YouTube | video search, video detail, comments, transcripts |
| X | post search, post detail, account profile, account posts, trends |
The server has four tools. find and describe look up endpoints and prices and are free. call runs an endpoint and is billed like the HTTP API. account shows your balance.
Setup in Claude Code
Put this in .mcp.json at the root of your project, with the key in the OKDATA_API_KEY environment variable:
{
"mcpServers": {
"okdata": {
"type": "http",
"url": "https://api.okdata.online/mcp",
"headers": { "Authorization": "Bearer ${OKDATA_API_KEY}" }
}
}
}
Run /mcp to check it is connected. Claude Desktop, Cursor and other clients are covered on the MCP page.
Things to ask
- "Find the 20 most-liked TikTok videos about retinol serum this month and summarise the claims creators make."
- "Get the transcripts of the top 3 YouTube reviews of our serum and list every complaint with its timestamp."
- "What is trending on X in the UK right now, and is anything related to skincare?"
What a session costs
| Step | Calls | Cost |
|---|---|---|
| TikTok search, 2 pages | 2 | $0.004 |
| YouTube search + 3 transcripts | 4 | {{cost:youtube.videos.search1+youtube.videos.transcript.get3}} |
| X search, 3 pages + UK trends | 4 | {{cost:x.posts.search3+x.trends.list1}} |
| Whole session | 10 | {{cost:tiktok.videos.search2+youtube.videos.search1+youtube.videos.transcript.get3+x.posts.search3+x.trends.list*1}} |
Keep it on a leash
- Ask Claude to state the expected cost before a long task, and cap the pages it may fetch.
- Captions, comments and posts are written by strangers. Tell Claude to treat them as data and never as instructions.
- A YouTube video without captions returns
not_foundand costs nothing; Claude should move on to the next video. - Only public data is reachable. Nothing posts, likes or logs in on your behalf.
Other options
Single-platform servers that run yt-dlp or youtube-transcript-api locally work well on a home connection and cost nothing, but they tend to hit blocks and 429 errors on cloud servers. X runs its own MCP server on top of the paid X API; choose it when Claude also needs to post or read your own account. For the HTTP side of the same endpoints, start with the pricing page.
Updated