Skip to main content
Glama
rugvedp

Whats Trending on Social Media

πŸš€ 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


Related MCP server: TikTok MCP

πŸš€ 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 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

Latest Blog Posts

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