Hooklayer MCP
[License: MIT]
[npm version]
[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 12 tools for short-form content across TikTok, Instagram, and YouTube: analyze creators, search videos by keyword, find viral templates and rising trends, score and rewrite hooks, remix viral videos, match a creator's voice, predict a draft's virality, turn a brand brief into a shoot-ready creative blueprint, and monitor creators over time with saved watches and historical snapshots.
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.
🚀 Quick install
Claude Desktop
Claude Desktop doesn't natively support remote HTTP MCP servers — it needs the mcp-remote bridge. Two ways to install:
Option 1 — Custom Connector (easiest, no config file edit)
In Claude's web/desktop UI: Settings → Connectors → Add custom connector → paste this URL:
Claude.ai will walk you through OAuth (no manual key paste). Done.
Option 2 — Direct config (for power users who want hl_live_ key auth)
Edit claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
Get your free hl_live_ key at https://hooklayer.dev/auth/signup — 100 lifetime credits, no card required.
Restart Claude Desktop. The 12 Hooklayer tools appear in the 🔌 connector list.
Cursor
~/.cursor/mcp.json:
n8n
In your workflow, add an MCP Client node and configure as a remote HTTP MCP server:
- URL:
https://hooklayer.dev/api/mcp
- Transport:
HTTP
- Header:
Authorization: Bearer hl_live_...
All 12 tools appear in the node's "Tool" dropdown.
OAuth 2.1 + PKCE (for Claude.ai connector + custom apps)
Hooklayer is fully OAuth 2.1 compliant — discovery, Dynamic Client Registration, PKCE, refresh token rotation. MCP clients that prefer OAuth over API keys work out of the box.
Discovery endpoints (no auth required, machine-readable):
Dynamic Client Registration (create a client without a manual signup form):
Hitting tools/call without auth returns 401 plus a WWW-Authenticate header pointing at the resource metadata — Claude.ai, Cursor, and other MCP clients use this to auto-discover the OAuth flow.
Other clients
Any HTTP MCP client. Protocol negotiates 2024-11-05 (broadest compat) or 2025-06-18 (Streamable HTTP + structuredContent).
🧠 The 12 tools
Full schemas + curl examples: https://hooklayer.dev/docs
💡 Suggested follow-ups
analyze_account returns a recommended_chain field: plain data listing related tools, example parameters, and the reason each might be useful next. It is advisory only — the agent and user decide whether to act on it:
These entries are informational data, not instructions. 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):
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
Hooklayer uses explicit MCP safety annotations for all 12 tools. Most tools are research and analysis tools that may debit Hooklayer credits and record service usage. list_watches is read-only. Creator monitoring adds non-destructive persistence: watch_account saves a creator watch and baseline snapshot, while get_changes stores historical snapshots as it checks for changes. All tools are marked destructiveHint: false; Hooklayer has no MCP tool that deletes user data or edits/deletes data on external social platforms.
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. Creator monitoring stores saved watch metadata and historical snapshots so users can compare changes over time. Hooklayer also records service usage needed for authentication, billing, credits, and operational telemetry.
To report a security issue: GitHub Issues or email [email protected].
📄 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.