Sign In

clipbait

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clipbait

Clipbait CLI + MCP server — turn any video into viral clips, and auto-clip live streams, from your terminal or any AI agent.

latest
Source
npmnpm
Version
1.9.4
Version published
Weekly downloads
72
100%
Maintainers
1
Weekly downloads
 
Created
Source

clipbait

Official CLI + MCP server for Clipbait — the AI video clipping tool for streamers and clippers.

Let Claude (or any MCP-capable agent) turn long videos into viral vertical clips, check your credits, auto-clip live Twitch streams, and download finished clips to disk — on your Clipbait account. Also works as a plain terminal CLI.

Requires

  • Node.js 18 or higher.
  • A paid Clipbait account. Generate a key at app.clipbait.ai/meDevelopers / API. Keys are prefixed cbk_live_.

Install

Fastest — one command (auto-configures Claude Code + Claude Desktop)

npx clipbait@latest

Opens Clipbait so you can copy your key, then installs a /clipbait slash command and wires the MCP server into Claude Code and Claude Desktop for you — no JSON to hand-write. Pass the key inline to skip the prompt: npx clipbait@latest cbk_live_yourkey. Restart Claude, then type /clipbait <video url>.

Claude Code

claude mcp add --transport http clipbait https://app.clipbait.ai/api/mcp --header "X-API-Key: cbk_live_your_key_here"

Cursor / Cline / Windsurf / manual

Drop this into the client's MCP config file (runs the local stdio server):

{
  "mcpServers": {
    "clipbait": {
      "command": "npx",
      "args": ["-y", "clipbait@latest", "mcp"],
      "env": { "CLIPBAIT_API_KEY": "cbk_live_your_key_here" }
    }
  }
}

ChatGPT / claude.ai take a remote URL instead of a local process — point them at https://app.clipbait.ai/api/mcp/<your_api_key> (nothing runs on your machine, nothing to update).

Tools

Seven tools are available to any agent:

ToolWhat it does
generate_clipsStart a clipping job (videoUrl, optional aspectRatio 9:16|16:9, maxClips 1–20). Returns a job id.
get_jobCheck a job's status and get finished clip URLs (jobId).
list_recent_clipsList your recent jobs and clip counts.
get_creditsShow credits remaining and your plan. No inputs.
start_live_autoclipAuto-clip a live Twitch stream continuously (channelUrl, optional cadenceMin). Pro plan.
probe_videoGet a video's duration before clipping (url).
download_clipSave a finished clip to your ~/Downloads/ folder and return the path (jobId, clipIndex 1-based). Max 500 MB.
list_social_accountsShow connected accounts. Posting is X/Twitter only today (TikTok, Facebook, Instagram coming soon).
schedule_postSchedule a clip to post on X at a future time (clipUrl, platforms: ["x"], scheduledTime, caption).
list_scheduled_posts / cancel_scheduled_postReview or cancel scheduled posts.

Terminal usage

npx clipbait login cbk_live_your_key
npx clipbait generate "https://youtube.com/watch?v=..." --aspect 9:16 --max 9
npx clipbait status <jobId>       # get finished clip URLs
npx clipbait jobs                 # list recent jobs
npx clipbait live "https://twitch.tv/somestreamer"
npx clipbait mcp                  # run the stdio MCP server (used in configs above)

Auth via the CLIPBAIT_API_KEY env var or ~/.clipbait.json.

Security

  • Never commit your CLIPBAIT_API_KEY. Your agent's config file contains a secret — add it to .gitignore, or use a secrets manager (1Password CLI, direnv) instead of inline env vars.
  • If you leak your key, rotate it at app.clipbait.ai/me immediately — the old key stops working at once.
  • download_clip links are presigned and expire in ~1 hour. Save clips promptly.

Pricing

Requires a paid Clipbait account. Clip generation spends credits (1 credit ≈ 1 minute of source video). See clipbait.ai.

License

MIT

Keywords

clipbait

FAQs

Package last updated on 05 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts