Social Trends MCP
Retrieves real-time trending topics from Instagram using the Meta Graph API and fallback scrapers; supports searching trends and aggregating Instagram data with other platforms.
Retrieves real-time trending topics from TikTok via the Creative Center API and fallback scrapers; supports searching trends and aggregating TikTok data with other platforms.
Retrieves trending YouTube videos and topics via YouTube Data API v3, returning ranked lists with view counts and URLs; supports searching trends and aggregating YouTube data with other platforms.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π Social Trends MCP
Real-time trending topics from X, TikTok, YouTube & Instagram β as an MCP Server
Ask Claude "What's trending on TikTok right now?" and get real answers.
Quick Start Β· MCP Setup Β· REST API Β· Docker Deploy Β· Contributing
What is this?
A social media trends aggregator that works in two modes:
MCP Server β Plug into Claude Desktop, Cursor, or any MCP client. Ask trending questions in natural language.
REST API β Self-hosted API service with auto-refresh every 6 hours, PostgreSQL storage, and WebSocket push.
Supported Platforms
Platform | Method | API Key Required? |
π¬ YouTube | Data API v3 | β Free (10K units/day) |
π΅ TikTok | Creative Center API | β No |
π¦ X (Twitter) | Web scraping fallback | β No (API optional, $200/mo) |
πΈ Instagram | Meta Graph API + fallback | β No (API optional) |
Every scraper has multi-level fallback β if one method fails, it automatically tries the next.
Related MCP server: Upriver MCP
β‘ Quick Start
Use as MCP Server (recommended)
Claude Desktop β Add to claude_desktop_config.json:
{
"mcpServers": {
"social-trends": {
"command": "uvx",
"args": ["social-trends-mcp"],
"env": {
"YOUTUBE_API_KEY": "your_youtube_api_key"
}
}
}
}Then just ask:
"What's trending on YouTube right now?"
"Show me TikTok trends"
"Is AI trending on any social platform?"
"Give me a full overview of what's trending globally"
Install from source
git clone https://github.com/YOUR_USERNAME/social-trends-mcp.git
cd social-trends-mcp
pip install -e .
python mcp_server.pyπ§ MCP Tools
Tool | Description |
| Get trending topics from a specific platform (twitter, tiktok, youtube, instagram) |
| Get trends from ALL platforms at once |
| Search for a keyword across all platform trends |
Example: get_trends
Input: { "platform": "youtube", "limit": 10 }
Output: Ranked list of trending videos with view counts and URLsExample: search_trends
Input: { "query": "AI" }
Output: All trending topics mentioning "AI" across every platformπ REST API
For production use, deploy the full API service with PostgreSQL and auto-refresh.
Method | Path | Description |
GET |
| All platforms latest data |
GET |
| Single platform trends |
GET |
| Historical trends |
POST |
| Manual refresh trigger |
GET |
| Service health + stats |
GET |
| Interactive Swagger UI |
WS |
| WebSocket real-time push |
π³ Docker Deployment
Full production stack in one command:
git clone https://github.com/YOUR_USERNAME/social-trends-mcp.git
cd social-trends-mcp
cp .env.example .env
# Edit .env β at minimum set YOUTUBE_API_KEY
docker-compose up -dThis starts PostgreSQL + App (4 workers) + Nginx.
βοΈ Configuration
Variable | Required | Description |
| Recommended | Get free β 10K units/day |
| Optional | $200/mo β fallback works without it |
| Optional | Meta Developer β fallback works without it |
| Optional | Proxy URL if TikTok blocks your IP |
| Optional | Auto-refresh interval (default: 6) |
Zero-config is possible β every platform has fallback scrapers that work without API keys.
π€ Contributing
We welcome contributions! See CONTRIBUTING.md.
Easy wins: Add a new platform (Threads, Bluesky...), improve scraper quality, add MCP tools, translations.
π License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Trending topics, cross-platform sentiment, viral content, community pulse & brand mentions.
Cross-platform social trend signals from TikTok, YouTube, Reddit and X. Free key at trendsapi.ai
Short-form video analytics and trend intelligence for TikTok, YouTube, and Instagram
Cross-platform social media intelligence. Trend volume and growth signals. Free key at trendsmcp.ai
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceProvides AI agents with real-time social trends, cross-platform sentiment, viral content velocity, and brand mentions from Reddit, Hacker News, and Google Trends.MIT

Upriver MCPofficial
AlicenseNot gradedqualityDmaintenanceProvides AI applications with real-time, evidence-backed context on creators, audiences, brands, trends, and sponsorships, including breakout topic search and browsing tools.MIT- AlicenseAqualityDmaintenanceEnables AI agents to query live trend data and historical search volume across 30+ platforms like Google, TikTok, YouTube, Amazon, and Reddit, including growth comparisons and top-ranking trends.318MIT
- AlicenseAqualityCmaintenanceEnables AI-driven analysis of aggregated news and hot topics from 35+ platforms, providing tools for trend tracking, sentiment analysis, and similar-content retrieval through natural language conversations.27GPL 3.0