npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

social-media-analytics

v1.1.4

Published

MCP server for social media analytics - profile analysis, hashtag research, content calendars, competitor analysis, and viral scoring

Readme

Social Media Analytics

An MCP (Model Context Protocol) server for social media analysis and marketing optimization. Analyze profiles, research hashtags, generate content calendars, benchmark competitors, and score content for viral potential -- all from your AI assistant.

Pricing

| Plan | Price | Features | |------|-------|----------| | Basic | $10/mo | Profile analysis, hashtag research, viral scoring — Buy → | | Pro | $15/mo | Everything in Basic + content calendars, competitor analysis, priority support — Buy → |

Free trial: 3 calls total (shared across all tools), no credit card. License keys are emailed instantly after checkout. Activate via the LICENSE_KEY environment variable. More info: aivp-mcp.vercel.app

Features

  • Profile Analysis -- Scrape and analyze any public social media profile across Twitter/X, Instagram, YouTube, LinkedIn, and TikTok
  • Hashtag Research -- Estimate popularity, competition level, related hashtags, and get platform-specific recommendations
  • Content Calendar -- Generate 30-day content calendars with post ideas, captions, optimal timing, and hashtag suggestions
  • Competitor Analysis -- Side-by-side comparison of 2-5 competitors with follower, engagement, and strategy benchmarks
  • Viral Scoring -- Score any post concept 0-100 for virality potential with emotional triggers and improvement suggestions

Installation

No install step needed — run straight from npm:

npx -y social-media-analytics

Or install globally:

npm install -g social-media-analytics

Configure with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "social-media-analytics": {
      "command": "npx",
      "args": ["-y", "social-media-analytics"],
      "env": { "LICENSE_KEY": "<your license key — omit for free trial>" }
    }
  }
}

Configure with Claude Code

claude mcp add social-media-analytics -- npx -y social-media-analytics

Run with SSE transport (Streamable HTTP)

# Start the SSE server (default port 3000)
npx -y social-media-analytics --sse

# Or specify a custom port
PORT=8080 npx -y social-media-analytics --sse

The Streamable HTTP endpoint is available at http://localhost:3000/mcp.

Tools

analyze_profile

Analyze a social media profile from its URL. Extracts publicly available data including profile name, bio, follower count, post frequency, engagement rate, and content themes.

Input:

{
  "url": "https://twitter.com/elonmusk"
}

Supported platforms: Twitter/X, Instagram, YouTube, LinkedIn, TikTok


analyze_hashtags

Analyze hashtags for estimated popularity, related tags, best posting times, competition level, and platform-specific recommendations.

Input:

{
  "hashtags": ["#ai", "#startup", "#buildinpublic"],
  "platforms": ["twitter", "linkedin"]
}

generate_content_calendar

Generate a 30-day content calendar with post ideas, captions, optimal posting times, content mix recommendations, and hashtag suggestions.

Input:

{
  "niche": "AI startups",
  "platforms": ["twitter", "linkedin", "instagram"],
  "posts_per_week": 5
}

analyze_competitors

Compare 2-5 competitor profiles side-by-side with follower comparison, content strategy analysis, posting frequency, and engagement benchmarks.

Input:

{
  "competitors": [
    "https://twitter.com/competitor1",
    "https://twitter.com/competitor2",
    "https://twitter.com/competitor3"
  ]
}

viral_score

Score post text or concepts for virality potential (0-100). Identifies emotional triggers, shareability factors, and provides improvement suggestions with platform-specific optimization tips.

Input:

{
  "text": "Stop scrolling. Here are 5 things I wish I knew before starting my SaaS business:\n\n1. Your first 100 users matter more than your next 10,000\n2. Ship weekly, not monthly\n3. Talk to users every single day\n4. Pricing is a feature\n5. Distribution > Product\n\nWhich one resonates most?",
  "platform": "linkedin"
}

Platform Support

| Platform | Profile Analysis | Hashtag Research | Content Calendar | Competitor Analysis | |----------|:---:|:---:|:---:|:---:| | Twitter/X | Yes | Yes | Yes | Yes | | Instagram | Yes | Yes | Yes | Yes | | YouTube | Yes | Yes | Yes | Yes | | LinkedIn | Yes | Yes | Yes | Yes | | TikTok | Yes | Yes | Yes | Yes |

How It Works

The server uses web scraping (basic HTML fetch + parsing) for publicly available data. No API keys or social media account connections required.

When live scraping is blocked (common with social media sites that require JavaScript rendering), the server falls back to intelligent estimation based on handle heuristics and platform benchmarks.

This makes the server:

  • No API keys needed -- works out of the box
  • Privacy-friendly -- no persistent data storage
  • Platform-agnostic -- works with all major social platforms
  • Always available -- no rate limits or API dependencies

License

MIT