<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Enes</title>
    <description>The latest articles on DEV Community by Enes (@eeeeeeeees).</description>
    <link>https://dev.to/eeeeeeeees</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4147694%2Fb1ab3b8e-1eff-44a5-aec1-218dc997405b.png</url>
      <title>DEV Community: Enes</title>
      <link>https://dev.to/eeeeeeeees</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eeeeeeeees"/>
    <language>en</language>
    <item>
      <title>How to let your AI assistant read TikTok, YouTube and Reddit (5-minute MCP setup)</title>
      <dc:creator>Enes</dc:creator>
      <pubDate>Sun, 29 Nov 2026 09:11:29 +0000</pubDate>
      <link>https://dev.to/socialapi/how-to-let-your-ai-assistant-read-tiktok-youtube-and-reddit-5-minute-mcp-setup-2id</link>
      <guid>https://dev.to/socialapi/how-to-let-your-ai-assistant-read-tiktok-youtube-and-reddit-5-minute-mcp-setup-2id</guid>
      <description>&lt;p&gt;I wanted to ask Claude a simple question the other day: &lt;em&gt;"How is Nike's latest TikTok doing, and what are people saying in the comments?"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;It couldn't answer. Not because the question is hard, but because the assistant has no way to look. It can't open TikTok, and scraping it yourself means proxies, captchas and parsers that break every other week.&lt;/p&gt;

&lt;p&gt;In this tutorial we'll fix that in about five minutes. We'll connect an AI assistant to an MCP server that reads public social media data, then use it for a small real task: checking how a brand's latest post is doing and summarizing its comments.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you'll need
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;An MCP-capable assistant. I'll use &lt;strong&gt;Claude Code&lt;/strong&gt;, but Claude Desktop, Cursor and VS Code work the same way (setup for each is below).&lt;/li&gt;
&lt;li&gt;A free &lt;a href="https://socialapi.sh" rel="noopener noreferrer"&gt;SocialAPI&lt;/a&gt; account. It starts with 100 free credits and no card, which is plenty for this tutorial.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's it. Nothing to install, no API key to copy around.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1. Add the MCP server
&lt;/h2&gt;

&lt;p&gt;The server is remote and lives at &lt;code&gt;https://api.socialapi.sh/mcp&lt;/code&gt;. In Claude Code, run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http socialapi https://api.socialapi.sh/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;/p&gt;
  Using Cursor, VS Code or Claude Desktop instead?
  &lt;p&gt;&lt;strong&gt;Cursor&lt;/strong&gt;, in &lt;code&gt;~/.cursor/mcp.json&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"socialapi"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://api.socialapi.sh/mcp"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;VS Code&lt;/strong&gt;, in &lt;code&gt;.vscode/mcp.json&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"servers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"socialapi"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"http"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://api.socialapi.sh/mcp"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Claude Desktop / claude.ai&lt;/strong&gt;: Settings → Connectors → Add custom connector, and paste the URL.&lt;/p&gt;



&lt;br&gt;
&lt;p&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2. Sign in
&lt;/h2&gt;

&lt;p&gt;In Claude Code, type &lt;code&gt;/mcp&lt;/code&gt;, pick &lt;strong&gt;socialapi&lt;/strong&gt;, and a browser window opens. Sign in, choose the workspace whose credits the assistant should spend, and click &lt;strong&gt;Allow&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;To check it worked, just ask:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;How many SocialAPI credits do I have left?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If it answers with a number, you're connected. (Checking the balance is free.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3. Ask your first question
&lt;/h2&gt;

&lt;p&gt;Let's start small:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;How many followers does Nike have on TikTok?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Here's what happens behind the scenes. The assistant doesn't know the API yet, so it searches first:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"tool"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"find_endpoints"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"tiktok profile"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It gets back &lt;code&gt;tiktok_profile&lt;/code&gt; with its parameters, and calls it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"tool"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"call_endpoint"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"endpoint"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"tiktok_profile"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"arguments"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"handle"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"nike"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The answer looks like this (trimmed):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"username"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"nike"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"displayName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Nike"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"verified"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"followers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;9440793&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"following"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;94&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"likes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;51312842&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"posts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1131&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And Claude replies with something like &lt;em&gt;"Nike has about 9.4 million followers on TikTok."&lt;/em&gt; One credit spent. If you ask the same thing again within 15 minutes, it comes from the cache and costs nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4. Do something actually useful
&lt;/h2&gt;

&lt;p&gt;Now the question I started with. Paste this in:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Look at Nike's 5 most recent TikToks. Which one has the best engagement? Then read the comments on that one and tell me, in a few bullets, what people are saying.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This takes the assistant three steps, and it figures them out on its own:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Recent posts.&lt;/strong&gt; It finds &lt;code&gt;tiktok_profile_posts&lt;/code&gt; and reads the latest posts. Each post has the same fields: &lt;code&gt;stats.views&lt;/code&gt;, &lt;code&gt;stats.likes&lt;/code&gt;, &lt;code&gt;stats.comments&lt;/code&gt;, &lt;code&gt;stats.shares&lt;/code&gt;, and a ready-made &lt;code&gt;stats.engagementRate&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pick the winner.&lt;/strong&gt; It compares the engagement rates, which is just arithmetic on those numbers, so no guessing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Comments.&lt;/strong&gt; It finds &lt;code&gt;tiktok_post_comments&lt;/code&gt;, reads the comments on that post, and summarizes them.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What I like here is that I didn't have to tell it which endpoints exist or what they're called. It searched for what it needed.&lt;/p&gt;

&lt;p&gt;The nice part is that the fields are the same on every platform. Swap "TikTok" for "YouTube", "Instagram" or "Reddit" in the prompt above and it still works, because a post always has &lt;code&gt;stats.views&lt;/code&gt; and a comment always has &lt;code&gt;text&lt;/code&gt; and &lt;code&gt;author&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  A few more prompts to try
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;"Summarize the top comments on this YouTube video"&lt;/em&gt;, then paste a link&lt;/li&gt;
&lt;li&gt;&lt;em&gt;"What's hot on r/programming right now?"&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;"Get the transcript of this TikTok and list every product it mentions"&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;"Compare the last 10 posts of these two Instagram accounts"&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Bonus: why the assistant searches first
&lt;/h2&gt;

&lt;p&gt;You might wonder why the assistant calls &lt;code&gt;find_endpoints&lt;/code&gt; instead of having one tool per endpoint.&lt;/p&gt;

&lt;p&gt;Every MCP tool you expose sits in the model's context before you've even asked a question, at roughly 200 tokens each. An API that covers many platforms has hundreds of endpoints, so one-tool-per-endpoint would burn tens of thousands of tokens up front, and models get worse at choosing between dozens of look-alikes like &lt;code&gt;tiktok_profile_posts&lt;/code&gt; and &lt;code&gt;instagram_profile_posts&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;So the server shows just three tools (&lt;code&gt;find_endpoints&lt;/code&gt;, &lt;code&gt;call_endpoint&lt;/code&gt; and &lt;code&gt;get_credits&lt;/code&gt;), about 600 tokens in total, and the model searches for what it needs. If you're building your own MCP server over a large API, this pattern is worth stealing.&lt;/p&gt;

&lt;p&gt;(If you only care about one or two platforms, you can also connect to &lt;code&gt;https://api.socialapi.sh/mcp?platforms=tiktok,instagram&lt;/code&gt; and get one tool per endpoint for just those.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;That's it: one command, one sign-in, and your assistant can read public social media. The full setup guide for every app is in the &lt;a href="https://socialapi.sh/docs/mcp/setup" rel="noopener noreferrer"&gt;MCP docs&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you try it, I'd love to hear what you ask it. Drop your favorite prompt in the comments.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>api</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
