- Home
- MCP servers
- Whats Trending On Social Media
Whats Trending On Social Media
- python
10
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"rugvedp-trends-mcp": {
"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>"
}
}
}
}This MCP server fetches trending data from YouTube, TikTok, and Instagram Reels by combining scraping techniques with API access. It is designed to run with FastMCP and exposes a set of practical tools you can use from a local CLI or by starting the server directly. Use it to surface current trends for content ideas, market research, or social media analysis in real time.
How to use
To use this MCP server with an MCP client, start the server using the runtime configuration below. You will access the available trending data through the CLI or any client that speaks the MCP protocol. The runtime exposes commands and environment controls to fetch YouTube trends, YouTube video data, YouTube comments, TikTok trends, and Instagram Reels trends.
How to install
Prerequisites you need before installation:
- Python 3.8+ (recommended)
- pip (Python package manager)
- Node.js/npm (if you plan to use optional MCP tooling)
Install the required Python packages. Run these commands in your terminal one per line:
pip install beautifulsoup4
pip install youtube-comment-downloader
pip install yt_dlp
pip install requests
pip install fastmcp
Prepare and start the MCP server. Use the stdio runtime configuration shown here to run the server with all needed plugins loaded.
{
"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>"
}
}
}
}
Additional setup details
Run the server locally using your MCP client or by executing the provided start command. The server supports local execution through FastMCP and can be started with the command above. If you prefer a quick local start without additional configuration, you can also run the following generic command as a convenience in your environment when you have the MCP tooling installed.
fastmcp run server.py
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.