Skip to main content
Glama

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.


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


Fetches region-specific YouTube trending videos.


🔹 get_yt_video_info()

Returns detailed metadata about a YouTube video.


Fetches trending TikTok videos via the RapidAPI and summarizes them.


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 Locally To 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.

-
security - not tested
F
license - not found
-
quality - not tested

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 claude.

  1. 🛠️ Dependencies
    1. 🚀 Available Tools
      1. 🔹 get_comments_yt()
      2. 🔹 get_yt_trending_global()
      3. 🔹 get_yt_trending_by_region()
      4. 🔹 get_yt_video_info()
      5. 🔹 tiktok_trending_global()
      6. 🔹 get_this_weeks_reels_trends()
    2. 📁 File Structure
      1. 🌐 External Resources
        1. 📌 MCP Config File
          1. 📎 Notes
            1. 🧑‍💻 Author

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                A MCP Server for TikTok videos that allows you to get video subtitles and post details, such as the number of likes, hashtags, and publishing time.
                Last updated -
                3
                2
                78
                JavaScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                An MCP server that allows Claude and other AI assistants to interact with the YouTube API, providing tools to search videos/channels and retrieve detailed information about them.
                Last updated -
                4
                1
                JavaScript
                MIT License
                • Apple
              • A
                security
                F
                license
                A
                quality
                An MCP server that provides AI assistants with powerful tools to interact with YouTube, including video searching, transcript extraction, comment retrieval, and more.
                Last updated -
                8
                15
                Python
                • Linux
                • Apple
              • -
                security
                A
                license
                -
                quality
                A FastMCP-based service that extracts no-watermark links from 20+ video platforms (including TikTok, Kuaishou, etc.) and can convert video speech to text.
                Last updated -
                24
                Python
                MIT License

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/rugvedp/Trends-MCP'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server