Give Claude or Cursor live TikTok, YouTube, Reddit and X data with one MCP URL
Ask Claude what people on TikTok are saying about a product this week and it usually guesses. Web search rarely reaches inside TikTok, Reddit threads or YouTube transcripts, and an agent that writes code against a social platform tends to invent sample data. Disclosure: I build okdata, the service used below. It is a pay-per-call social data API with a hosted MCP server. This post shows how to connect it and what a few real prompts cost. What the agent gets One MCP server, https://api.okdata.online/mcp, with five tools: find searches the catalog of 200+ endpoints on 17 platforms (TikTok, YouTube, Instagram, X, Reddit, Meta and Google ad libraries, plus Douyin, Xiaohongshu/RedNote and WeChat). Free. describe returns an endpoint's parameters, fields and price. Free. call runs it. This is the only tool that costs money, and a failed call costs nothing. read_more pages through long answers. Free. account shows the balance. Free. So the model does not load 200 tool sch
Ask Claude what people on TikTok are saying about a product this week and it usually guesses. Web search rarely reaches inside TikTok, Reddit threads or YouTube transcripts, and an agent that writes code against a social platform tends to invent sample data.
Disclosure: I build okdata, the service used below. It is a pay-per-call social data API with a hosted MCP server. This post shows how to connect it and what a few real prompts cost.
What the agent gets
One MCP server, https://api.okdata.online/mcp, with five tools:
-
findsearches the catalog of 200+ endpoints on 17 platforms (TikTok, YouTube, Instagram, X, Reddit, Meta and Google ad libraries, plus Douyin, Xiaohongshu/RedNote and WeChat). Free. -
describereturns an endpoint's parameters, fields and price. Free. -
callruns it. This is the only tool that costs money, and a failed call costs nothing. -
read_morepages through long answers. Free. -
accountshows the balance. Free.
So the model does not load 200 tool schemas up front. It looks up what it needs, checks the price, then calls.
Claude on the web: sign in, no key to copy
- Customize → Connectors → Add → Add custom connector.
- Name
okdata, URLhttps://api.okdata.online/mcp. - Authentication: choose Sign in now. Claude preselects No sign-in, because a few tools work without it, so change it.
- Click Add, sign in on the okdata page and allow. Claude gets its own key, capped at $5 a month by default; you can change the cap or revoke it in the console.
- In a chat, open + → Connectors and switch okdata on.
The same connector then works in Claude Desktop and on mobile with that account.
Cursor and Claude Code: a key in an env var
Get a key at https://okdata.online/signup/?src=devto-mcp (new accounts get $0.10 of credit) and export it as OKDATA_API_KEY.
Cursor, in ~/.cursor/mcp.json:
{
"mcpServers": {
"okdata": {
"url": "https://api.okdata.online/mcp",
"headers": { "Authorization": "Bearer ${env:OKDATA_API_KEY}" }
}
}
}
Claude Code:
claude mcp add --transport http --scope user okdata https://api.okdata.online/mcp \
--header 'Authorization: Bearer ${OKDATA_API_KEY}'
Keep the single quotes, so the key stays in your environment and out of the settings file.
Prompts to try, and what they cost
Find TikTok videos about portable blenders from this month, read the comments under the three most played, and list what people complain about.
One page of TikTok video search ($0.002, about 30 videos) plus three pages of comments ($0.002 each): $0.008.
What is trending on X in Japan right now?
One call to X trending topics: $0.009.
Get the transcripts of this channel's last 10 YouTube videos and list every product they recommend, with timestamps.
Ten transcripts at $0.004: $0.04, plus one channel listing.
Search Reddit for threads asking which budget espresso machine to buy and summarise the top answers.
One page of Reddit search (25 posts) is $0.004; each thread's comments are $0.002 a page.
The $0.10 trial covers all four. If an agent starts looping through pages, put the limit in the prompt: "one page only" or "stop after three pages and ask me".
Without MCP
Every endpoint is also plain HTTPS with the same key, so a script or an n8n workflow can call it directly. The docs and per-endpoint prices are at https://okdata.online/apis/.
If you try it, I would like to hear which platform or field you were missing.