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

@lazymac/social-media-toolkit

v1.0.0

Published

Social media content generation and analysis API + MCP server. Generate hashtags, captions, content ideas, and analyze engagement — all rule-based, no external AI APIs.

Readme

lazymac API Store Gumroad MCPize

Social Media Toolkit

Social media content generation and analysis API + MCP server. Generate hashtags, captions, content ideas, and analyze engagement metrics — all rule-based, no external AI APIs required.

Features

  • Hashtag Generation — Topic-based hashtags with competition grouping and platform-specific limits (Instagram 30, Twitter 5, TikTok 8, etc.)
  • Caption Templates — Hook/body/CTA structures with multiple categories (question, stat, story, challenge, controversial, educational)
  • Best Posting Times — Optimal posting schedules by platform and timezone for every day of the week
  • Engagement Analytics — Engagement rate calculator, growth rate projections, content scoring, follower milestone estimator
  • Content Ideas — Niche-specific content ideas with format suggestions (carousel, reel, story, live, etc.)
  • MCP Server — All tools available via Model Context Protocol for AI assistant integration

Quick Start

npm install
npm start
# API running on http://localhost:3500

API Endpoints

| Method | Endpoint | Description | |--------|----------|-------------| | GET | /api/v1/hashtags/:topic | Generate hashtags for a topic | | GET | /api/v1/caption/:category | Generate caption template | | GET | /api/v1/best-times/:platform | Best posting times | | POST | /api/v1/engagement | Calculate engagement metrics | | GET | /api/v1/content-ideas/:niche | Generate content ideas | | POST | /api/v1/growth-rate | Calculate follower growth rate | | POST | /api/v1/content-score | Score content performance | | POST | /api/v1/milestones | Estimate follower milestones | | GET | /api/v1/categories | List hashtag categories |

Usage Examples

Generate Hashtags

curl "http://localhost:3500/api/v1/hashtags/tech?platform=instagram&competition=mixed"

Generate Caption

curl "http://localhost:3500/api/v1/caption/question?topic=coding&mood=professional"

Best Posting Times

curl "http://localhost:3500/api/v1/best-times/instagram?timezone=US/Pacific&day=monday"

Calculate Engagement

curl -X POST http://localhost:3500/api/v1/engagement \
  -H "Content-Type: application/json" \
  -d '{"followers":10000,"likes":500,"comments":50,"shares":20,"saves":30}'

Content Ideas

curl "http://localhost:3500/api/v1/content-ideas/tech?count=5&format=reel"

MCP Server

Add to your Claude Desktop or MCP client config:

{
  "mcpServers": {
    "social-media-toolkit": {
      "command": "node",
      "args": ["src/mcp-server.js"],
      "cwd": "/path/to/social-media-toolkit"
    }
  }
}

Available MCP tools: generate_hashtags, generate_caption, get_best_posting_times, calculate_engagement, calculate_growth_rate, score_content, estimate_milestones, generate_content_ideas, get_categories.

Docker

docker build -t social-media-toolkit .
docker run -p 3500:3500 social-media-toolkit

License

MIT