Labsco
khan-ashifur logo

Hooklayer

from khan-ashifur

Live TikTok creator intelligence MCP β€” 7 tools (analyze creators, score hooks, remix scripts, predict virality) that chain automatically via a recommended_chain that pre-fills the next 3 tool calls.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeAdvanced setup

Hooklayer MCP

License: MIT Version MCP Production Tools OAuth smithery badge

Viral-content intelligence for AI agents. Drop the Hooklayer MCP server into Claude Desktop, Cursor, n8n, or any HTTP MCP client and your agent gets 7 read-only tools for scoring hooks, remixing viral videos, surfacing live trends, and analyzing TikTok creators. The flagship analyze_account tool includes a recommended_chain field with suggested follow-up calls the agent can review and execute.

Copy & paste β€” that's it
7 read-only tools Β· all return structured JSON Β· no mutations Β· no side effects

v1.1.0 (2026-05-14): The evidence layer ships. Every score includes signals[] with cited evidence, a would_fail_because counterfactual, and a quality health field. predict_virality runs an independent adversarial check. analyze_account.recommended_chain steps now expose confidence, cost, action_class (authority taxonomy), and expected_output. See CHANGELOG.md for the full ship.


🧠 The 7 tools

ToolCreditsWhat it does
analyze_account5TikTok creator deep dive: viral DNA scores, format fingerprint, top 5 videos, content gaps, recommended_chain with suggested follow-up tools.
score_hook1Score any hook 0-100 against proven viral patterns. Returns 3 rewrites at higher quality.
viral_remix3URL or transcript β†’ fresh script with mirrored viral DNA. Scene-by-scene with camera shots.
trend_pulse1Real-time rising opportunities + saturated patterns per niche. 12-hour cache.
find_viral_template1Niche-fit ranked templates with hook patterns + example URLs.
match_voice2Extract a creator's voice DNA from 3+ samples, rewrite a draft in their style.
predict_virality2Score a draft script for viral potential before publishing. Retention diagnosis.

Full schemas + curl examples: https://hooklayer.dev/docs


πŸ’‘ The recommended-chain pattern

analyze_account returns a recommended_chain field with suggested follow-up tools and pre-filled parameters. The agent decides whether and when to execute them:

Copy & paste β€” that's it
{
  "viral_dna_score": 87,
  "steal_map": [...],
  "recommended_chain": [
    {
      "tool": "match_voice",
      "params": {
        "draft": "<<<USER_DRAFT>>>",
        "reference_samples": ["https://tiktok.com/...", "...", "..."]
      },
      "reason": "High-signal voice DNA β€” consistent across top 5 videos"
    },
    {
      "tool": "trend_pulse",
      "params": { "niche": "challenge_videos" },
      "reason": "Verify their formula maps to current trends"
    },
    {
      "tool": "viral_remix",
      "params": { "source_url": "https://tiktok.com/..." },
      "reason": "Their #2 video has the highest copyable structure"
    }
  ]
}

The agent can review these suggestions and call the recommended tools if appropriate. Each tool still requires explicit invocation β€” nothing runs automatically without agent/user consent.


πŸ“¦ Examples

  • examples/typescript-example.ts β€” TypeScript usage via the MCP SDK
  • examples/python-example.py β€” Python usage via anthropic-mcp client
  • examples/curl-test.sh β€” Raw curl tests for every endpoint

πŸ’΅ Pricing

  • Free β€” 100 lifetime credits at signup, no card
  • Starter β€” $49/month, 5,000 credits, 60 req/min
  • Pro β€” $149/month, 25,000 credits, 300 req/min, brand voice memory
  • Agency β€” $499/month, 150,000 credits, 1,000 req/min, white-label, 10 seats
  • Pay-as-you-go β€” $25 for 5,000 credits, never expire

Full pricing: https://hooklayer.dev/pricing


πŸ›  Architecture

Hosted MCP server (no stdio install needed):

Copy & paste β€” that's it
Your agent (Claude/Cursor/n8n)
        β”‚
        β”‚  JSON-RPC 2.0 over HTTP
        β–Ό
https://hooklayer.dev/api/mcp
        β”‚
        β”œβ”€β”€ initialize / ping / tools/list  (no auth)
        └── tools/call                       (Bearer hl_live_*)
                β”‚
                └── Routes internally to /v1/* REST endpoints
                    100K+ analyzed viral videos
                    ScrapeCreators + Whisper + Sonnet pipeline

Source code for the hosted server lives at hooklayer.dev (closed source β€” the analysis pipeline is the moat). This repo holds the public client docs, examples, and config snippets.


πŸ“š Links


πŸ”’ Security

All 7 tools are read-only. They analyze, score, and generate content β€” none of them create, modify, or delete any user data, accounts, or external resources. Every tool carries readOnlyHint: true and destructiveHint: false in its MCP annotations.

Authentication: tools/call requires a Bearer token (hl_live_* API key or OAuth 2.1 access token). Public methods (initialize, ping, tools/list) work without auth so MCP clients can handshake and discover tools before authentication.

recommended_chain is advisory only. The analyze_account response includes suggested follow-up tools with pre-filled parameters. These are data β€” the agent and user decide whether to execute them. No tool call ever triggers additional tool calls server-side.

Data handling: Hooklayer processes the inputs you send (handles, hooks, scripts, URLs) to return analysis results. We do not store your content beyond the request lifecycle except for anonymous usage metrics.

To report a security issue: GitHub Issues or email security@hooklayer.dev.


πŸ“„ License

MIT β€” see LICENSE.

The MCP client examples and config snippets in this repo are MIT. The hosted Hooklayer service at hooklayer.dev is a commercial product with the pricing tiers listed above.