跳到正文
DEV Community· Nirmal V·· 16 分鐘前AI 評分46

如何透過 ContHunt MCP 將 TikTok、Instagram Reels 和 YouTube Shorts 數據連接至 Claude Code 和 Cursor

How to Connect TikTok, Instagram Reels & YouTube Shorts Data to Claude Code & Cursor via ContHunt MCP

AI 導讀

ContHunt 提供託管式 MCP 伺服器,讓用戶把 TikTok、Instagram Reels 和 YouTube Shorts 的公開短片數據接入 Claude Code 與 Cursor。

正文

If you build creator tools, growth workflows, or content pipelines inside Claude Code or Cursor, you have probably hit the same wall we did: LLMs are great at structuring creative briefs and writing scripts, but they are completely blind to live short-form video performance across TikTok, Instagram Reels, and YouTube Shorts.

Pasting 20 social links into chat or maintaining brittle DIY scrapers breaks fast. That is why we shipped a hosted Model Context Protocol (MCP) server for ContHunt at https://mcp.conthunt.app — included on every paid ContHunt plan (starting at $25/month billed yearly, with a 7-day free trial) with zero add-on fee.

In this tutorial, I will show you how to wire ContHunt MCP into Claude Code and Cursor, authenticate cleanly, and run a real cross-platform short-form research workflow using SQL reads (query_saved_data), multi-platform keyword search (search), and hosted Deep Search (deep_search).

Full official reference: ContHunt MCP Documentation | Claude Code Integration Guide | Cursor Integration Guide

Why connect short-form video data over MCP?

In our 2026 benchmark of 1,500 public non-ad short-form videos, view distributions were wildly right-skewed:

  • TikTok: median 2,818 views, top 10% (p90) 202,504 views (71.9× skew), median like-to-view 4.85%, median share-to-view 0.19% (0.35% among top-10% breakouts).
  • Instagram Reels: median 3,068 views, p90 78,858 views (25.7× skew), median like-to-view 5.20%.
  • YouTube Shorts: median 998 views, p90 29,277 views (29.3× skew), median like-to-view 1.77%.

When an AI coding or research agent can query real public videos, inspect saved boards with SQL, and compare hooks across all three platforms in one thread, it stops guessing generic hooks and starts working from verified public evidence.

Step 1: Connect ContHunt MCP to Claude Code

With Claude Code installed, register the remote HTTP MCP server using the hosted endpoint:

claude mcp add --transport http conthunt https://mcp.conthunt.app

Then start Claude Code and run /mcp to trigger the standard OAuth browser sign-in flow with your ContHunt account (no long-lived API secret hardcoded in dotfiles).

For team repos or project-scoped config, you can also declare it in .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "conthunt": {
      "type": "http",
      "url": "https://mcp.conthunt.app"
    }
  }
}

More Claude Code examples live at conthunt.app/integrations/claude-code.

Step 2: Connect ContHunt MCP to Cursor

In Cursor, add ContHunt to your .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "conthunt": {
      "url": "https://mcp.conthunt.app"
    }
  }
}

Reload MCP servers in Cursor Settings → Tools & MCP and complete the browser OAuth prompt when Cursor connects. Full walkthrough: conthunt.app/integrations/cursor.

Step 3: Verify authentication and credit balance first

Before running searches, check your connection and monthly Hunt/AI credit balance with a zero-cost read:

"Use ContHunt whoami to verify my account and show remaining Hunt and AI credits."

Step 4: Know the core ContHunt MCP tools

Once connected, your agent has access to a focused toolset:

Tool What It Does When to Use It
whoami Checks signed-in account and remaining credits Sanity check before batch runs
query_saved_data Runs read-only SQL against your saved searches, boards, metrics, and analyses Always check saved evidence first before spending new search credits
search Keyword discovery across TikTok, Instagram Reels, and YouTube Shorts Acquiring fresh public candidates with explicit date windows
creator Pulls live public profile and recent videos for a handle Computing a creator’s 10-video median and outlier multiples
video Ingests pasted public video URLs Inspecting specific clips you found manually
boards Creates/manages saved boards and adds/removes videos Grouping winning references for editors or clients
analyze_video / analyze_long_video AI video analysis for a short clip or one long-form source Extracting hooks, pacing, and visual structure
deep_search Persistent hosted research specialist that searches, analyzes, compares, and writes a cited report End-to-end niche investigations across a set of videos
trending Reads platform and niche trends Quick pulse check on rising categories
files Reads saved Deep Search reports Pulling full cited findings into your repo or docs

Step 5: Run a real credit-conscious workflow

A common mistake when wiring agents to paid search tools is letting the agent fire ten duplicate synonym queries. Follow this two-step pattern instead:

1. Check saved evidence with SQL first (query_saved_data):

"Check my existing ContHunt boards and saved searches using query_saved_data for any TikTok, Reels, or Shorts clips about AI coding workflows from the last 30 days. Return the top 15 by views alongside like-to-view and TikTok share-to-view ratios."

2. Run bounded multi-platform discovery + Deep Search only when needed:

"Run one multi-platform ContHunt search across TikTok, Instagram Reels, and YouTube Shorts for claude code workflow published in the last 30 days. Then hand the saved search to deep_search to identify the top 5 opening-hook patterns, compare TikTok vs. Reels vs. Shorts performance, and save the winning clips to a board called AI Coding Hooks Q4."

Best practices & honest limits

  • Always set explicit date windows and query caps in your prompt so your agent does not waste Hunt credits on two-year-old viral clips.
  • Public metadata only: ContHunt MCP exposes public views, likes, comments, TikTok shares, captions, duration, and AI creative analysis — never private retention curves, Instagram DM sends, or TikTok Shop GMV.
  • Inspect free public data first: If you want to test the benchmark data before connecting MCP, download our 1,500-video 2026 benchmark CSV/JSON or browse ContHunt Viral Now.

Docs & setup reference: https://conthunt.app/docs/integrations/mcp

來源:DEV Community · dev.to