Model Context Protocol

Connect Your AI to 163,000+ Viral Hooks

Connect GetAHook directly into Cursor, Claude Desktop, ChatGPT, Antigravity, or custom agents via our Model Context Protocol (MCP) server or REST API.

Live MCP Server

Your API Keys

Use this key in your MCP configuration or as a Bearer token for REST API requests.

No API keys generated yet. Click above to generate your first key!

Or test right away using the demo token: gah_live_demo_test_key_2026

Exposed MCP Tools

search_hooks

Search 163,000+ proven hooks by keyword, product, or emotion.

get_product_hooks

Top-converting hooks for specific TikTok Shop products.

generate_viral_hooks

Generate on-demand hooks using direct-response frameworks.

generate_video_script

Turn any hook into a full 30s-60s TikTok ad script with visual cues.

deconstruct_competitor_ad

Break down competitor copy, score the hook (1-10), and suggest 3 angles.

save_to_swipe_file

Save winning hooks directly to your personal swipe file.

Claude Desktop / Cursor

Add this snippet to your claude_desktop_config.json or Cursor MCP settings:

{
  "mcpServers": {
    "getahook": {
      "url": "https://getahook.com/mcp/sse.php",
      "headers": {
        "Authorization": "Bearer YOUR_GETAHOOK_API_KEY"
      }
    }
  }
}

REST API Quickstart

Query hooks directly from cURL or Python:

curl -H "Authorization: Bearer YOUR_KEY" \
  "https://getahook.com/api/v1/hooks.php?query=skincare&limit=5"

Generate video script:

curl -X POST \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_name": "Lip Oil", "format": "hook_story_offer"}' \
  "https://getahook.com/api/v1/scripts.php"