Plugging live YouTube and TikTok trend data into Cursor and Claude with a remote MCP server
Most "what should I post next" tools live in a separate tab. You open a dashboard, scroll, copy a few ideas back into your notes, then ask your AI assistant to turn them into a script. We wanted to remove that round trip
Most "what should I post next" tools live in a separate tab. You open a dashboard, scroll, copy a few ideas back into your notes, then ask your AI assistant to turn them into a script. We wanted to remove that round trip, so we exposed YoTrends as a remote MCP server. Here is what it does, how to connect it, and one limitation we have not solved yet.
What the server exposes
Nine tools that cover the loop from "what is happening" to "here is the copy":
-
whoami: which plan is connected and how many AI credits are left -
search_trends: what is trending now, by region, platform, format and time window -
list_top_creators: creators who show up in trends most often -
list_trend_clusters: topics that are starting to rise, before they are obvious -
list_my_topics,get_topic_feed,create_topic: track your own niches and pull matching videos live -
get_topic_digest: an AI read of why a topic is moving, with the key videos -
generate_text_pack: titles, hooks, a script outline, description and tags for one angle
Two of them spend AI credits (get_topic_digest costs 2, generate_text_pack costs 3). If the balance is empty, the call returns a message and charges nothing, so an agent cannot burn credits in a loop.
Remote, not local
There is nothing to install. The server runs at https://app.yotrends.ai/mcp/ over Streamable HTTP, and you authenticate with a bearer token from your account (Settings → Connect to AI; tokens start with ytm_).
In Cursor, add this to .cursor/mcp.json:
{
"mcpServers": {
"yotrends": {
"url": "https://app.yotrends.ai/mcp/",
"headers": { "Authorization": "Bearer ytm_YOUR_TOKEN" }
}
}
}
In Claude Code:
claude mcp add --transport http yotrends https://app.yotrends.ai/mcp/ \
--header "Authorization: Bearer ytm_YOUR_TOKEN"
VS Code works the same way through headers, and Claude Desktop connects through mcp-remote.
What a session looks like
Ask: "What cooking formats are rising on TikTok in the US this week?" The assistant calls search_trends and list_trend_clusters. Then: "Give me a text pack for the second one, aimed at beginners." That is generate_text_pack, and you get titles, hooks and an outline without leaving the editor.
The limitation: no OAuth yet
Claude's web app and its custom-connector dialog only accept a server URL and, optionally, OAuth credentials. There is no field for an arbitrary header, so a static bearer token cannot be entered. The MCP spec expects HTTP servers to authorise over OAuth 2.1 with discovery through protected-resource metadata. Our server currently answers 401 with a plain WWW-Authenticate: Bearer and does not serve /.well-known/oauth-protected-resource, so that flow cannot start. Until OAuth lands, use Cursor, Claude Code, VS Code or Claude Desktop.
Try it
MCP access needs a paid YoTrends plan. The free tier covers the web app only. Setup docs and tool reference are in the GitHub repo, and the product overview is on the YoTrends MCP page.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.