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

@captapi/mcp

v0.2.1

Published

Official Captapi MCP server — give Claude, Cursor, and any MCP-compatible AI agent access to 62 social media data endpoints (YouTube, TikTok, Instagram, Facebook).

Readme

@captapi/mcp

Official Captapi MCP server. Give Claude, Cursor, VS Code, and any MCP-compatible AI agent direct access to 62 social media data endpoints across YouTube, TikTok, Instagram, and Facebook — transcripts, summaries, comments, channel stats, search, bulk lists, and downloads.

One Captapi key works across every platform. The agent calls a tool, Captapi handles proxies, rate limits, retries, and auth, and returns clean JSON.

Quick start

You need a Captapi API key (capt_live_...). Get one at captapi.com/dashboard/api-keys.

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project):

{
  "mcpServers": {
    "captapi": {
      "command": "npx",
      "args": ["-y", "@captapi/mcp"],
      "env": {
        "CAPTAPI_API_KEY": "capt_live_xxxxxxxxxxxxxxxx"
      }
    }
  }
}

Claude Desktop

Add the same block to claude_desktop_config.json (Settings → Developer → Edit Config).

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "captapi": {
      "command": "npx",
      "args": ["-y", "@captapi/mcp"],
      "env": {
        "CAPTAPI_API_KEY": "capt_live_xxxxxxxxxxxxxxxx"
      }
    }
  }
}

Configuration

| Env var | Required | Default | Description | | ------------------- | -------- | -------------------------- | ---------------------------------------- | | CAPTAPI_API_KEY | yes | — | Your capt_live_... / capt_test_... key. | | CAPTAPI_BASE_URL | no | https://api.captapi.com | Override the API base URL. |

Tools

Each endpoint is exposed as a tool named <platform>_<action>, e.g. youtube_transcript, tiktok_comments, instagram_channel_posts, facebook_profile_posts. Every tool declares its exact inputs (and the precise URL type expected — video, profile, playlist, sound, group, …):

  • Most tools take a url. The description tells you which URL type.
  • Search tools take q; list/comments tools also accept an optional limit.
  • Comment-replies tools (*_comment_replies) additionally require comment_id.
  • tiktok_trending_feed takes country (ISO-2, default US); tiktok_popular_hashtags takes query (default trending).
  • Transcript / summarize tools accept an optional language.

Cached results (24h) are free. Failed or empty results are never charged.

License

MIT