anysite Trend Analysis
Discover emerging trends and track viral content across social platforms using anysite MCP. Identify what's gaining momentum before it peaks.
Overview
- Detect emerging trends across multiple platforms
- Track viral content and identify breakout topics
- Monitor hashtag performance and trending keywords
- Analyze topic momentum and growth patterns
- Identify market shifts through social listening
Coverage: 75% - Good for Twitter, Reddit, YouTube, LinkedIn, Instagram
Supported Platforms
- Twitter/X: Trending topics, viral tweets, hashtag tracking
- Reddit: Trending posts, subreddit activity, upvote velocity
- YouTube: Trending videos, search trends, rising channels
- LinkedIn: Professional trends, industry discussions
- Instagram: Trending hashtags, viral content
v2 Tool Interface
All data fetching uses the universal execute() meta-tool. Always call discover(source, category) first if you need to verify endpoint names or available parameters.
Core tools:
execute(source, category, endpoint, params) - Fetch data. Returns first page + cache_key.
get_page(cache_key, offset, limit) - Load more results from a previous execute.
query_cache(cache_key, conditions, sort_by, aggregate, group_by) - Filter, sort, or aggregate cached data without new API calls.
export_data(cache_key, format) - Export full dataset as CSV, JSON, or JSONL.
Error handling: If execute() returns an error with llm_hint, follow the hint to fix the request (e.g., correcting a parameter name or adjusting the query).
Quick Start
Step 1: Search for Trending Content
By platform:
- Twitter:
execute("twitter", "search", "search_tweets", {"query": "<topic>", "count": 100}) sorted by engagement
- Reddit:
execute("reddit", "search", "search", {"query": "<topic>"}) sorted by upvotes
- YouTube:
execute("youtube", "search", "search_videos", {"query": "<topic>", "count": 50}) by recent
- LinkedIn:
execute("linkedin", "post", "search_posts", {"keywords": "<topic>"}) by engagement
- Instagram:
execute("instagram", "search", "search_users", {"query": "<topic>"}) for hashtag/topic discovery
Step 2: Analyze Momentum
Use query_cache() to filter and sort cached results:
query_cache(cache_key, sort_by="engagement_desc", conditions=[{"field": "date", "op": ">", "value": "2024-01-01"}])
Check indicators:
- Engagement velocity (growth rate)
- Cross-platform presence
- Comment volume and sentiment
- Share/retweet patterns
Step 3: Track Over Time
Monitor changes:
- Daily engagement growth
- New platform adoption
- Mainstream vs. niche spread
- Peak timing prediction
Step 4: Report Insights
Use export_data(cache_key, "csv") to generate downloadable reports.
Deliver:
- Trending topics list
- Momentum indicators
- Strategic recommendations
- Early warnings or opportunities
Common Workflows
Workflow 1: Multi-Platform Trend Detection
Scenario: Identify what's trending in tech/AI space
Steps:
- Search Across Platforms
# Twitter
execute("twitter", "search", "search_tweets", {"query": "AI OR artificial intelligence", "count": 100})
→ Filter for: Posted within 24-48h, high engagement
→ Save cache_key as twitter_cache
# Reddit
execute("reddit", "search", "search", {"query": "artificial intelligence"})
→ Filter: r/technology, r/MachineLearning, r/singularity
→ Save cache_key as reddit_cache
# YouTube
execute("youtube", "search", "search_videos", {"query": "AI news", "count": 50})
→ Filter: Published this week, views >10k
→ Save cache_key as youtube_cache
# LinkedIn
execute("linkedin", "post", "search_posts", {"keywords": "artificial intelligence"})
→ Filter: High engagement, recent
→ Save cache_key as linkedin_cache
- Use query_cache to Filter Results
# Filter Twitter for high-engagement posts
query_cache(twitter_cache, sort_by="engagement_desc", conditions=[{"field": "likes", "op": ">", "value": 100}])
# Filter Reddit for specific subreddits
query_cache(reddit_cache, conditions=[{"field": "subreddit", "op": "contains", "value": "technology"}])
# Aggregate YouTube view counts
query_cache(youtube_cache, aggregate={"field": "views", "op": "avg"})
- Load More Results if Needed
# If execute() returned next_offset, paginate
get_page(twitter_cache, offset=10, limit=50)
get_page(reddit_cache, offset=10, limit=50)
- Extract Common Themes
Analyze content for recurring:
- Keywords and phrases
- Company/product mentions
- Events or announcements
- Questions or concerns
- Calculate Trend Score
For each theme:
- Platform count (how many platforms)
- Total engagement
- Growth velocity
- Sentiment distribution
- Identify Breakout Trends
Trends with:
- Presence on 3+ platforms
- Engagement growing >50% daily
- Positive or controversial sentiment
- Coverage by influencers/media
Expected Output:
- Top 5-10 trending themes
- Platform-by-platform breakdown
- Momentum indicators
- Strategic implications
Workflow 2: Hashtag Performance Tracking
Scenario: Monitor hashtag growth and adoption
Steps:
- Search by Hashtag
# Instagram - discover users/content around the hashtag
execute("instagram", "search", "search_users", {"query": "sustainability"})
→ Save cache_key as ig_cache
# Twitter
execute("twitter", "search", "search_tweets", {"query": "#sustainability", "count": 100})
→ Track tweet volume over time
→ Save cache_key as tw_cache
# LinkedIn
execute("linkedin", "post", "search_posts", {"keywords": "sustainability"})
→ Check professional adoption
→ Save cache_key as li_cache
- Calculate Velocity with query_cache
# Sort by recency and engagement
query_cache(tw_cache, sort_by="date_desc")
query_cache(ig_cache, sort_by="followers_desc")
Hashtag velocity:
- Posts in last 24h vs. previous 24h
- Engagement rate change
- New accounts using hashtag
- Geographic spread
- Analyze Content Evolution
Compare early vs. recent posts:
- Topic shifts
- Audience changes
- Influencer involvement
- Commercial adoption
- Export Results
export_data(tw_cache, "csv")
export_data(ig_cache, "json")
→ Share downloadable reports
- Predict Peak
Based on growth curve:
- Early stage (accelerating)
- Peak stage (plateauing)
- Decline stage (slowing)
Expected Output:
- Hashtag performance report
- Growth trajectory
- Peak timing estimate
- Strategic recommendations
Workflow 3: Reddit Trend Mining
Scenario: Find emerging discussions in specific communities
Steps:
- Search Target Subreddits
execute("reddit", "posts", "get", {"subreddit": "technology"})
→ Get top posts from last week
→ Save cache_key as reddit_tech_cache
- Analyze Post Momentum
# Sort cached posts by engagement
query_cache(reddit_tech_cache, sort_by="upvotes_desc")
# Aggregate engagement metrics
query_cache(reddit_tech_cache, aggregate={"field": "upvotes", "op": "avg"})
For each high-momentum post:
execute("reddit", "search", "search", {"query": "<post topic>"})
→ Deeper analysis
Calculate:
- Upvotes per hour
- Comment velocity
- Award count
- Controversial score
- Extract Discussion Themes
From high-momentum posts:
- What problems are discussed?
- What solutions are proposed?
- What companies/products mentioned?
- What sentiment (positive, negative, concerned)?
- Track Cross-Pollination
Check if trending Reddit topics appear on:
- Twitter: execute("twitter", "search", "search_tweets", {"query": "<topic>"})
- LinkedIn: execute("linkedin", "post", "search_posts", {"keywords": "<topic>"})
- YouTube: execute("youtube", "search", "search_videos", {"query": "<topic>"})
Expected Output:
- Top Reddit trends
- Community sentiment
- Mainstream potential
- Early mover opportunities
MCP Tools Reference (v2)
Twitter/X
execute("twitter", "search", "search_tweets", {"query": ..., "count": N}) - Find tweets, filter by engagement
execute("twitter", "user", "get", {"username": ...}) - Check influencer adoption
Reddit
execute("reddit", "search", "search", {"query": ...,}) - Find discussions
execute("reddit", "posts", "get", {"subreddit": ...}) - Get subreddit posts and momentum
execute("reddit", "user", "get", {"username": ...}) - Get user details
YouTube
execute("youtube", "search", "search_videos", {"query": ..., "count": N}) - Find trending videos
execute("youtube", "video", "video", {"video": ...}) - Track view velocity
execute("youtube", "video", "video_comments", {"video": ..., "count": N}) - Gauge interest
LinkedIn
execute("linkedin", "post", "search_posts", {"keywords": ...}) - Professional trends
execute("linkedin", "company", "get", {"company": ...}) - Company details
Instagram
execute("instagram", "search", "search_users", {"query": ...}) - Discover users/hashtags
execute("instagram", "post", "post", {"post": ...}) - Engagement metrics
Pagination & Analysis
get_page(cache_key, offset, limit) - Load additional results from any execute() call
query_cache(cache_key, conditions, sort_by, aggregate, group_by) - Filter, sort, aggregate cached data
export_data(cache_key, "csv"|"json"|"jsonl") - Export datasets for reporting
Trend Identification Framework
Trend Stages:
Emergence (0-20% awareness)
- Niche communities discussing
- Low but accelerating engagement
- Early adopters experimenting
- Action: Monitor closely, prepare strategy
Growth (20-50% awareness)
- Crossing into mainstream platforms
- Rapid engagement growth
- Influencer adoption
- Action: Create content, engage actively
Peak (50-80% awareness)
- Maximum visibility
- Slowing growth rate
- Saturation approaching
- Action: Maximize presence before decline
Decline (80-100% awareness)
- Engagement decreasing
- Moving to "background noise"
- New trends emerging
- Action: Shift focus to next trend
Momentum Indicators:
- Volume: Mentions per day
- Velocity: Growth rate (% change)
- Reach: Unique accounts discussing
- Spread: Number of platforms
- Sentiment: Positive/negative ratio
- Influence: Key accounts involved
Output Formats
Chat Summary:
- Top 5 trends with momentum scores
- Platform breakdown
- Strategic recommendations
CSV Export (via export_data(cache_key, "csv")):
- Trend name, platforms, volume
- Growth rate, sentiment
- Key influencers mentioning
JSON Export (via export_data(cache_key, "json")):
- Complete trend data
- Time-series metrics
- Cross-platform correlations
Reference Documentation
- SOCIAL_MONITORING.md - Social listening techniques, monitoring strategies, and trend prediction methods
Ready to discover trends? Ask Claude to help you identify emerging topics, track viral content, or monitor market shifts across social platforms!
1---2name: anysite-trend-analysis3description: Discover and track emerging trends across Twitter/X, Reddit, YouTube, LinkedIn, and Instagram using anysite MCP server. Identify viral content, monitor topic momentum, detect trending hashtags, analyze search patterns, and track industry shifts. Supports multi-platform trend detection, sentiment analysis, and momentum tracking. Use when users need to identify emerging trends, track viral content, monitor market shifts, discover trending topics, or analyze social media conversations for strategic insights.4---56# anysite Trend Analysis78Discover emerging trends and track viral content across social platforms using anysite MCP. Identify what's gaining momentum before it peaks.910## Overview1112- **Detect emerging trends** across multiple platforms13- **Track viral content** and identify breakout topics14- **Monitor hashtag performance** and trending keywords15- **Analyze topic momentum** and growth patterns16- **Identify market shifts** through social listening1718**Coverage**: 75% - Good for Twitter, Reddit, YouTube, LinkedIn, Instagram1920## Supported Platforms2122- **Twitter/X**: Trending topics, viral tweets, hashtag tracking23- **Reddit**: Trending posts, subreddit activity, upvote velocity24- **YouTube**: Trending videos, search trends, rising channels25- **LinkedIn**: Professional trends, industry discussions26- **Instagram**: Trending hashtags, viral content2728## v2 Tool Interface2930All data fetching uses the universal `execute()` meta-tool. Always call `discover(source, category)` first if you need to verify endpoint names or available parameters.3132**Core tools**:33- `execute(source, category, endpoint, params)` - Fetch data. Returns first page + `cache_key`.34- `get_page(cache_key, offset, limit)` - Load more results from a previous execute.35- `query_cache(cache_key, conditions, sort_by, aggregate, group_by)` - Filter, sort, or aggregate cached data without new API calls.36- `export_data(cache_key, format)` - Export full dataset as CSV, JSON, or JSONL.3738**Error handling**: If execute() returns an error with `llm_hint`, follow the hint to fix the request (e.g., correcting a parameter name or adjusting the query).3940## Quick Start4142**Step 1: Search for Trending Content**4344By platform:45- Twitter: `execute("twitter", "search", "search_tweets", {"query": "<topic>", "count": 100})` sorted by engagement46- Reddit: `execute("reddit", "search", "search", {"query": "<topic>"})` sorted by upvotes47- YouTube: `execute("youtube", "search", "search_videos", {"query": "<topic>", "count": 50})` by recent48- LinkedIn: `execute("linkedin", "post", "search_posts", {"keywords": "<topic>"})` by engagement49- Instagram: `execute("instagram", "search", "search_users", {"query": "<topic>"})` for hashtag/topic discovery5051**Step 2: Analyze Momentum**5253Use `query_cache()` to filter and sort cached results:54```55query_cache(cache_key, sort_by="engagement_desc", conditions=[{"field": "date", "op": ">", "value": "2024-01-01"}])56```5758Check indicators:59- Engagement velocity (growth rate)60- Cross-platform presence61- Comment volume and sentiment62- Share/retweet patterns6364**Step 3: Track Over Time**6566Monitor changes:67- Daily engagement growth68- New platform adoption69- Mainstream vs. niche spread70- Peak timing prediction7172**Step 4: Report Insights**7374Use `export_data(cache_key, "csv")` to generate downloadable reports.7576Deliver:77- Trending topics list78- Momentum indicators79- Strategic recommendations80- Early warnings or opportunities8182## Common Workflows8384### Workflow 1: Multi-Platform Trend Detection8586**Scenario**: Identify what's trending in tech/AI space8788**Steps**:89901. **Search Across Platforms**91```92# Twitter93execute("twitter", "search", "search_tweets", {"query": "AI OR artificial intelligence", "count": 100})94→ Filter for: Posted within 24-48h, high engagement95→ Save cache_key as twitter_cache9697# Reddit98execute("reddit", "search", "search", {"query": "artificial intelligence"})99→ Filter: r/technology, r/MachineLearning, r/singularity100→ Save cache_key as reddit_cache101102# YouTube103execute("youtube", "search", "search_videos", {"query": "AI news", "count": 50})104→ Filter: Published this week, views >10k105→ Save cache_key as youtube_cache106107# LinkedIn108execute("linkedin", "post", "search_posts", {"keywords": "artificial intelligence"})109→ Filter: High engagement, recent110→ Save cache_key as linkedin_cache111```1121132. **Use query_cache to Filter Results**114```115# Filter Twitter for high-engagement posts116query_cache(twitter_cache, sort_by="engagement_desc", conditions=[{"field": "likes", "op": ">", "value": 100}])117118# Filter Reddit for specific subreddits119query_cache(reddit_cache, conditions=[{"field": "subreddit", "op": "contains", "value": "technology"}])120121# Aggregate YouTube view counts122query_cache(youtube_cache, aggregate={"field": "views", "op": "avg"})123```1241253. **Load More Results if Needed**126```127# If execute() returned next_offset, paginate128get_page(twitter_cache, offset=10, limit=50)129get_page(reddit_cache, offset=10, limit=50)130```1311324. **Extract Common Themes**133```134Analyze content for recurring:135- Keywords and phrases136- Company/product mentions137- Events or announcements138- Questions or concerns139```1401415. **Calculate Trend Score**142```143For each theme:144- Platform count (how many platforms)145- Total engagement146- Growth velocity147- Sentiment distribution148```1491506. **Identify Breakout Trends**151```152Trends with:153- Presence on 3+ platforms154- Engagement growing >50% daily155- Positive or controversial sentiment156- Coverage by influencers/media157```158159**Expected Output**:160- Top 5-10 trending themes161- Platform-by-platform breakdown162- Momentum indicators163- Strategic implications164165### Workflow 2: Hashtag Performance Tracking166167**Scenario**: Monitor hashtag growth and adoption168169**Steps**:1701711. **Search by Hashtag**172```173# Instagram - discover users/content around the hashtag174execute("instagram", "search", "search_users", {"query": "sustainability"})175→ Save cache_key as ig_cache176177# Twitter178execute("twitter", "search", "search_tweets", {"query": "#sustainability", "count": 100})179→ Track tweet volume over time180→ Save cache_key as tw_cache181182# LinkedIn183execute("linkedin", "post", "search_posts", {"keywords": "sustainability"})184→ Check professional adoption185→ Save cache_key as li_cache186```1871882. **Calculate Velocity with query_cache**189```190# Sort by recency and engagement191query_cache(tw_cache, sort_by="date_desc")192query_cache(ig_cache, sort_by="followers_desc")193194Hashtag velocity:195- Posts in last 24h vs. previous 24h196- Engagement rate change197- New accounts using hashtag198- Geographic spread199```2002013. **Analyze Content Evolution**202```203Compare early vs. recent posts:204- Topic shifts205- Audience changes206- Influencer involvement207- Commercial adoption208```2092104. **Export Results**211```212export_data(tw_cache, "csv")213export_data(ig_cache, "json")214→ Share downloadable reports215```2162175. **Predict Peak**218```219Based on growth curve:220- Early stage (accelerating)221- Peak stage (plateauing)222- Decline stage (slowing)223```224225**Expected Output**:226- Hashtag performance report227- Growth trajectory228- Peak timing estimate229- Strategic recommendations230231### Workflow 3: Reddit Trend Mining232233**Scenario**: Find emerging discussions in specific communities234235**Steps**:2362371. **Search Target Subreddits**238```239execute("reddit", "posts", "get", {"subreddit": "technology"})240→ Get top posts from last week241→ Save cache_key as reddit_tech_cache242```2432442. **Analyze Post Momentum**245```246# Sort cached posts by engagement247query_cache(reddit_tech_cache, sort_by="upvotes_desc")248249# Aggregate engagement metrics250query_cache(reddit_tech_cache, aggregate={"field": "upvotes", "op": "avg"})251252For each high-momentum post:253 execute("reddit", "search", "search", {"query": "<post topic>"})254 → Deeper analysis255256Calculate:257- Upvotes per hour258- Comment velocity259- Award count260- Controversial score261```2622633. **Extract Discussion Themes**264```265From high-momentum posts:266- What problems are discussed?267- What solutions are proposed?268- What companies/products mentioned?269- What sentiment (positive, negative, concerned)?270```2712724. **Track Cross-Pollination**273```274Check if trending Reddit topics appear on:275- Twitter: execute("twitter", "search", "search_tweets", {"query": "<topic>"})276- LinkedIn: execute("linkedin", "post", "search_posts", {"keywords": "<topic>"})277- YouTube: execute("youtube", "search", "search_videos", {"query": "<topic>"})278```279280**Expected Output**:281- Top Reddit trends282- Community sentiment283- Mainstream potential284- Early mover opportunities285286## MCP Tools Reference (v2)287288### Twitter/X289- `execute("twitter", "search", "search_tweets", {"query": ..., "count": N})` - Find tweets, filter by engagement290- `execute("twitter", "user", "get", {"username": ...})` - Check influencer adoption291292### Reddit293- `execute("reddit", "search", "search", {"query": ...,})` - Find discussions294- `execute("reddit", "posts", "get", {"subreddit": ...})` - Get subreddit posts and momentum295- `execute("reddit", "user", "get", {"username": ...})` - Get user details296297### YouTube298- `execute("youtube", "search", "search_videos", {"query": ..., "count": N})` - Find trending videos299- `execute("youtube", "video", "video", {"video": ...})` - Track view velocity300- `execute("youtube", "video", "video_comments", {"video": ..., "count": N})` - Gauge interest301302### LinkedIn303- `execute("linkedin", "post", "search_posts", {"keywords": ...})` - Professional trends304- `execute("linkedin", "company", "get", {"company": ...})` - Company details305306### Instagram307- `execute("instagram", "search", "search_users", {"query": ...})` - Discover users/hashtags308- `execute("instagram", "post", "post", {"post": ...})` - Engagement metrics309310### Pagination & Analysis311- `get_page(cache_key, offset, limit)` - Load additional results from any execute() call312- `query_cache(cache_key, conditions, sort_by, aggregate, group_by)` - Filter, sort, aggregate cached data313- `export_data(cache_key, "csv"|"json"|"jsonl")` - Export datasets for reporting314315## Trend Identification Framework316317**Trend Stages**:3183191. **Emergence** (0-20% awareness)320 - Niche communities discussing321 - Low but accelerating engagement322 - Early adopters experimenting323 - Action: Monitor closely, prepare strategy3243252. **Growth** (20-50% awareness)326 - Crossing into mainstream platforms327 - Rapid engagement growth328 - Influencer adoption329 - Action: Create content, engage actively3303313. **Peak** (50-80% awareness)332 - Maximum visibility333 - Slowing growth rate334 - Saturation approaching335 - Action: Maximize presence before decline3363374. **Decline** (80-100% awareness)338 - Engagement decreasing339 - Moving to "background noise"340 - New trends emerging341 - Action: Shift focus to next trend342343**Momentum Indicators**:344- **Volume**: Mentions per day345- **Velocity**: Growth rate (% change)346- **Reach**: Unique accounts discussing347- **Spread**: Number of platforms348- **Sentiment**: Positive/negative ratio349- **Influence**: Key accounts involved350351## Output Formats352353**Chat Summary**:354- Top 5 trends with momentum scores355- Platform breakdown356- Strategic recommendations357358**CSV Export** (via `export_data(cache_key, "csv")`):359- Trend name, platforms, volume360- Growth rate, sentiment361- Key influencers mentioning362363**JSON Export** (via `export_data(cache_key, "json")`):364- Complete trend data365- Time-series metrics366- Cross-platform correlations367368## Reference Documentation369370- **[SOCIAL_MONITORING.md](references/SOCIAL_MONITORING.md)** - Social listening techniques, monitoring strategies, and trend prediction methods371372---373374**Ready to discover trends?** Ask Claude to help you identify emerging topics, track viral content, or monitor market shifts across social platforms!