rugvedp

๐Ÿš€ Whats Trending On Social Media

Community rugvedp
Updated

MCP for Claude to fetch trending data from platforms like YouTube, TikTok, and Instagram Reels

๐Ÿš€ Whats Trending On Social Media

This MCP fetches trending data from platforms like YouTube, TikTok, and Instagram Reels using various scraping and API techniques. It's designed to run under FastMCP and exposes tools that can be consumed via a local CLI or server.

Animation

๐Ÿ› ๏ธ Dependencies

Make sure the following Python packages are installed:

  • beautifulsoup4
  • youtube-comment-downloader
  • yt_dlp
  • requests
  • fastmcp

๐Ÿš€ Available Tools

๐Ÿ”น get_comments_yt()

Fetches YouTube comments for a given video ID.

๐Ÿ”น get_yt_trending_global()

Fetches globally trending YouTube videos (default region: US).

๐Ÿ”น get_yt_trending_by_region()

Fetches region-specific YouTube trending videos.

๐Ÿ”น get_yt_video_info()

Returns detailed metadata about a YouTube video.

๐Ÿ”น tiktok_trending_global()

Fetches trending TikTok videos via the RapidAPI and summarizes them.

๐Ÿ”น get_this_weeks_reels_trends()

Scrapes weekly Instagram Reels trends from Later.com.

๐Ÿ“ File Structure

This module can be executed via CLI or server mode using FastMCP:

fastmcp run server.py

๐ŸŒ External Resources

YouTube Trending Feed: https://www.youtube.com/feed/trending

Instagram Reels Trends Source: https://later.com/blog/instagram-reels-trends/

TikTok RapidAPI: https://rapidapi.com/ponds4552/api/tiktok-best-experience

๐Ÿ“Œ MCP Config File

{
  "mcpServers": {
    "Whats Trending On Social Media": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "--with",
        "fastmcp",
        "--with",
        "youtube-comment-downloader",
        "--with",
        "yt_dlp",
        "--with",
        "beautifulsoup4",
        "--with",
        "requests",
        "mcp",
        "run",
        "server.py"
      ],
      "env":{
        "tiktok": "<tiktok token goes here>"
    }
    }
  }
}

๐Ÿงช Run LocallyTo run the server locally:

fastmcp run server.py

๐Ÿ“Ž Notes

YouTube comment extraction uses unofficial scraping and may break with YouTube changes.

TikTok API requires a valid RapidAPI key.

Instagram scraping is done by parsing Later.com's blog โ€“ may vary if structure changes.

๐Ÿง‘โ€๐Ÿ’ป Author

Trends-MCP by Rugved Patil.

MCP Server ยท Populars

MCP Server ยท New

    aovestdipaperino

    tokensave

    Rust port of CodeGraph โ€” a local-first code intelligence system that builds semantic knowledge graphs from codebases. Ported from the original TypeScript implementation by @colbymchenry.

    Community aovestdipaperino
    jpicklyk

    MCP Task Orchestrator

    Server-enforced workflow discipline for AI agents. An MCP server providing persistent work items, dependency graphs, quality gates, and actor attribution. Schemas define what agents must produce โ€” the server blocks the call if they don't. Works with any MCP-compatible client.

    Community jpicklyk
    AgentsID-dev

    AgentsID Scanner

    Security scanner for MCP servers. Grades auth, permissions, injection risks, and tool safety. The Lighthouse of agent security.

    Community AgentsID-dev
    remete618

    widemem.ai

    Next-gen AI memory layer with importance scoring, temporal decay, hierarchical memory, and YMYL prioritization

    Community remete618
    Ruya-AI

    Cozempic

    Context cleaning for Claude Code โ€” prune bloated sessions, protect Agent Teams from context loss, auto-guard with tiered pruning

    Community Ruya-AI