HandleHaul

v1.0.1
com.handlehaul/social-data Checked 4 days ago Published 4 days ago

Public Instagram + TikTok data for agents: creators, videos, comments, transcripts, followers.

This repository holds the setup guide and the registry metadata (server.json). The server itself is hosted by HandleHaul; nothing here needs to run. In every snippet, HANDLEHAUL_API_KEY is your key. Keep it in an environment variable or your client's secret store, never in a committed file. --scope user makes it available in every project. To share it with a team, commit .mcp.json and let each person set HANDLEHAUL_API_KEY:

Summary extracted from the README.

HandleHaul MCP server

A hosted MCP server for public Instagram and TikTok data. Connect Claude, Cursor, VS Code Copilot, Windsurf, n8n or any MCP client and ask in plain words. The assistant calls HandleHaul's 50 read-only tools and answers from live public data: profiles, followers and following in Instagram's real newest-first order, posts, reels, stories, comments, likers, hashtags, sounds, search and TikTok transcripts.

Ask things like:

"Who did @natgeo follow most recently?" · "Show the 10 newest followers of @nasa" · "Get the transcript of this TikTok and turn it into a 30-second script" · "Pull TikToks under #coldbrew and rank them by views"

This repository holds the setup guide and the registry metadata (server.json). The server itself is hosted by HandleHaul; nothing here needs to run.

Setup

In every snippet, HANDLEHAUL_API_KEY is your key. Keep it in an environment variable or your client's secret store, never in a committed file.

Claude Code

claude mcp add --transport http handlehaul https://api.handlehaul.com/mcp \
  --header "X-Api-Key: $HANDLEHAUL_API_KEY" --scope user

--scope user makes it available in every project. To share it with a team, commit .mcp.json and let each person set HANDLEHAUL_API_KEY:

{
  "mcpServers": {
    "handlehaul": {
      "type": "http",
      "url": "https://api.handlehaul.com/mcp",
      "headers": { "X-Api-Key": "${HANDLEHAUL_API_KEY}" }
    }
  }
}

Type /mcp in Claude Code to check the connection.

Claude Desktop

claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude Desktop. This uses the open-source mcp-remote bridge and needs Node.js:

{
  "mcpServers": {
    "handlehaul": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://api.handlehaul.com/mcp", "--header", "X-Api-Key:${HANDLEHAUL_API_KEY}"],
      "env": { "HANDLEHAUL_API_KEY": "kd_live_your_key" }
    }
  }
}

On plans that offer request headers on custom connectors: Settings → Connectors → Add custom connector, URL https://api.handlehaul.com/mcp, authentication No sign-in, request header x-api-key with your key.

Cursor

~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{
  "mcpServers": {
    "handlehaul": {
      "url": "https://api.handlehaul.com/mcp",
      "headers": { "X-Api-Key": "${env:HANDLEHAUL_API_KEY}" }
    }
  }
}

VS Code (GitHub Copilot)

.vscode/mcp.json. VS Code asks for the key once and stores it securely:

{
  "inputs": [
    { "type": "promptString", "id": "handlehaul-key", "description": "HandleHaul API key", "password": true }
  ],
  "servers": {
    "handlehaul": {
      "type": "http",
      "url": "https://api.handlehaul.com/mcp",
      "headers": { "X-Api-Key": "${input:handlehaul-key}" }
    }
  }
}

Open Copilot Chat in Agent mode and pick the HandleHaul tools.

Windsurf

~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "handlehaul": {
      "serverUrl": "https://api.handlehaul.com/mcp",
      "headers": { "X-Api-Key": "${env:HANDLEHAUL_API_KEY}" }
    }
  }
}

n8n

In an AI Agent workflow, add an MCP Client Tool node to the agent's tools:

Field Value
Endpoint https://api.handlehaul.com/mcp
Server Transport HTTP Streamable
Authentication Header Auth
Credential: Name X-Api-Key
Credential: Value your kd_live_… key
Tools to Include All, or pick the ones the workflow needs

The agent can then answer prompts like "List the 25 newest followers of @nasa". For fixed, non-AI steps, an HTTP Request node calling the REST API (https://api.handlehaul.com/v1/... with the same X-Api-Key header) is cheaper and more predictable.

OpenAI Codex, Gemini CLI and others

# ~/.codex/config.toml
[mcp_servers.handlehaul]
url = "https://api.handlehaul.com/mcp"
bearer_token_env_var = "HANDLEHAUL_API_KEY"
gemini mcp add --transport http --header "X-Api-Key: $HANDLEHAUL_API_KEY" -s user handlehaul https://api.handlehaul.com/mcp

Any other client: streamable HTTP transport, URL https://api.handlehaul.com/mcp, one header (X-Api-Key or Authorization: Bearer). The server is stateless: every request is a plain JSON-RPC POST, with no session and no SSE stream to hold open.

Tools

All tools are read-only and cover public accounts only. Every answer carries meta.credits_charged and meta.credits_remaining, so the assistant can tell you what a question cost. Lists come in pages: the assistant passes pagination.next_cursor back as cursor, and each page is billed, so ask for what you need ("the first page", "the 50 most recent").

Instagram: accounts

Tool What it returns Credits
get_profile Public profile for a username or numeric id: name, bio, link, category, verified and private flags, follower / following / post counts, picture and the numeric user id. 1
get_following Accounts an account follows, in Instagram's real newest-first order (position 1 = most recent follow), about 200 per page. 1 / page
get_followers Accounts that follow an account, newest follower first, up to 25 per page. 1 / page
search_users Find accounts by name or username (up to about 40 results). 1
get_account_details When an account joined (month and year), its country and how many times it changed username. 1
get_similar_accounts Accounts Instagram considers similar (up to about 80). 1

Instagram: posts, reels and comments

Tool What it returns Credits
get_posts Posts, newest first, about 12 per page: shortcode, URL, date, type, caption, like / comment / view counts. 1 / page
get_reels Reels, newest first (sort: recent) or most viewed (sort: views), with view counts and video URLs. 1 / page
get_tagged_posts Posts the account is tagged in. 1 / page
get_reposts Posts the account reposted. 1 / page
get_post One post or reel by shortcode, id or URL: caption, date, counts, media, owner, location and audio. 1
get_post_stats Like, comment and view counts for 1 to 20 posts in one call. 1
get_comments Comments on a post, top first or newest first, about 15 per page. 1 / page
get_comment_replies Replies to a comment. 1 / page
get_comment_likers Accounts that liked a comment. 1 / page
get_post_likers Accounts that liked a post, about 100 per page. 1 / page

Instagram: stories and highlights

Tool What it returns Credits
get_stories Stories posted in the last 24 hours, with media URLs and expiry times. 1
get_story One story by numeric id. 1
get_highlights Story highlights (id, title, item count, cover). 1
get_highlight_stories The stories inside one highlight. 1 / page

Instagram: hashtags, places and audio

Tool What it returns Credits
search_hashtags Hashtags matching a word, with post counts. 1
get_hashtag One hashtag and its post count. 1
get_hashtag_posts Top posts for a hashtag. 1 / page
search_places Places by name, or near a point with lat and lng. 1
get_place One place: name, category, address, city, coordinates, phone and website. 1
get_place_posts Top or most recent posts tagged at a place. 1 / page
search_audio Songs and original audio used in Reels. 1
get_trending_audio Audio trending on Reels right now. 1 / page
get_audio One song or original audio: title, artist, duration and how many reels use it. 1
get_audio_reels Reels that use a given audio. 1 / page

TikTok

Tool What it returns Credits
tiktok_get_profile Public profile for a handle, numeric id or secUid: nickname, bio, link, region, verified and private flags, follower / following / like / video counts, ids. 1
tiktok_get_posts Videos and photo posts, newest first, about 16 per page, with view / like / comment / share / save counts, music and hashtags. 1 / page
tiktok_get_reposts Videos the account reposted, up to 30 per page. 1 / page
tiktok_get_liked Videos the account liked (when its liked list is public). 1 / page
tiktok_get_followers Followers, about 30 per page, each with follower and video counts. 1 / page
tiktok_get_following Accounts the account follows, about 30 per page. 1 / page
tiktok_get_playlists Public playlists: id, name, video count and cover. 1 / page
tiktok_get_stories Stories the account has up right now. 1
tiktok_get_suggested Accounts TikTok suggests alongside this one (up to about 30, one page). 1
tiktok_get_post One video or photo post by id or URL: caption, date, duration, media, counts, author, music, hashtags, whether it has captions. 1
tiktok_get_comments Top-level comments in TikTok's order, about 20 per page, with like and reply counts. 1 / page
tiktok_get_comment_replies Replies to a comment. 1 / page
tiktok_get_transcript Transcript from the video's captions: full text, timed segments and available languages. A video without captions answers available: false and still costs 1 credit. 1
tiktok_get_music One sound by id or URL: title, artist, duration, cover and how many posts use it. 1
tiktok_get_music_posts Posts that use a sound, up to 30 per page. 1 / page
tiktok_get_hashtag One hashtag: id, post count and view count. 1
tiktok_get_hashtag_posts Posts under a hashtag, up to 30 per page. 1 / page
tiktok_search Search by keyword: top, users, videos, photo posts, live or sounds, with an optional country. 1 / page

Utilities

Tool What it returns Credits
resolve_instagram_url Any instagram.com link (profile, post, reel, story, highlight, hashtag, place, audio) turned into its type, ids and the tool to call next. 0
get_balance Your plan, credit balance, rate limits and this key's usage this month. 0

Prompts: recent_follows (who did an account recently follow) and new_followers (newest followers of an account). In Claude Code they appear as /mcp__handlehaul__recent_follows and /mcp__handlehaul__new_followers.

The live tool list is always at https://api.handlehaul.com/mcp/server-card and in the server's own tools/list.

Limits and spending

Tool calls share your account's rate limits, credit balance and per-key caps with your REST calls. To cap what an assistant can spend, create a separate key for it in the dashboard with a monthly credit cap; calls past the cap answer key_quota_exceeded and are not charged.

License

MIT for the contents of this repository (docs and metadata). Use of the hosted API is subject to the HandleHaul API terms and acceptable use policy.

HandleHaul is operated by Oxynlabs, LLC.