npm.io
1.1.0 • Published 3d agoCLI

hooklayer

Licence
MIT
Version
1.1.0
Deps
1
Size
6 kB
Vulns
0
Weekly
0

Hooklayer — viral-content intelligence for AI agents

One-line MCP connector for the hosted Hooklayer server. Gives Claude Desktop, Cursor, n8n, or any MCP client 7 read-only tools for short-form video intelligence: hook scoring, virality prediction, viral template search, trend pulse, TikTok creator analysis, voice matching, and viral remixing.

Install

Add to your MCP client config:

{
  "mcpServers": {
    "hooklayer": {
      "command": "npx",
      "args": ["-y", "hooklayer"]
    }
  }
}

That's it. On first run your browser opens Hooklayer's OAuth flow — sign in and you're connected (free tier: 100 credits, no card).

Prefer an API key? Get a free hl_live_... key at hooklayer.dev/auth/signup and set it as an env var:

{
  "mcpServers": {
    "hooklayer": {
      "command": "npx",
      "args": ["-y", "hooklayer"],
      "env": { "HOOKLAYER_API_KEY": "hl_live_..." }
    }
  }
}

Clients with native remote MCP support (Claude.ai connectors, Cursor) can skip this package and connect directly to https://hooklayer.dev/api/mcp.

The 7 tools

Tool What it does
analyze_account TikTok creator deep dive: viral DNA scores, format fingerprint, top videos, content gaps, recommended follow-up chain
score_hook Score any hook 0-100 against proven viral patterns, with 3 stronger rewrites
viral_remix URL or transcript to fresh scene-by-scene script with mirrored viral DNA
trend_pulse Rising opportunities + saturated patterns per niche, near-real-time
find_viral_template Niche-fit ranked templates with hook patterns and example URLs
match_voice Extract a creator's voice DNA from samples, rewrite drafts in their style
predict_virality Score a draft before publishing, with retention diagnosis

All tools are read-only (readOnlyHint: true) — they analyze and generate, never mutate.

License

MIT. This connector is a thin bridge (via mcp-remote) to the hosted Hooklayer service, which is a commercial product — see pricing.

Keywords