Repository avatar
Monitoring
v1.0.1
active

social-data

com.handlehaul/social-data

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

Documentation

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:

FieldValue
Endpointhttps://api.handlehaul.com/mcp
Server TransportHTTP Streamable
AuthenticationHeader Auth
Credential: NameX-Api-Key
Credential: Valueyour kd_live_… key
Tools to IncludeAll, 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/instagram/... or /v1/tiktok/... 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

ToolWhat it returnsCredits
get_profilePublic 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_followingAccounts an account follows, in Instagram's real newest-first order (position 1 = most recent follow), about 200 per page.1 / page
get_followersAccounts that follow an account, newest follower first, up to 25 per page.1 / page
search_usersFind accounts by name or username (up to about 40 results).1
get_account_detailsWhen an account joined (month and year), its country and how many times it changed username.1
get_similar_accountsAccounts Instagram considers similar (up to about 80).1

Instagram: posts, reels and comments

ToolWhat it returnsCredits
get_postsPosts, newest first, about 12 per page: shortcode, URL, date, type, caption, like / comment / view counts.1 / page
get_reelsReels, newest first (sort: recent) or most viewed (sort: views), with view counts and video URLs.1 / page
get_tagged_postsPosts the account is tagged in.1 / page
get_repostsPosts the account reposted.1 / page
get_postOne post or reel by shortcode, id or URL: caption, date, counts, media, owner, location and audio.1
get_post_statsLike, comment and view counts for 1 to 20 posts in one call.1
get_commentsComments on a post, top first or newest first, about 15 per page.1 / page
get_comment_repliesReplies to a comment.1 / page
get_comment_likersAccounts that liked a comment.1 / page
get_post_likersAccounts that liked a post, about 100 per page.1 / page

Instagram: stories and highlights

ToolWhat it returnsCredits
get_storiesStories posted in the last 24 hours, with media URLs and expiry times.1
get_storyOne story by numeric id.1
get_highlightsStory highlights (id, title, item count, cover).1
get_highlight_storiesThe stories inside one highlight.1 / page

Instagram: hashtags, places and audio

ToolWhat it returnsCredits
search_hashtagsHashtags matching a word, with post counts.1
get_hashtagOne hashtag and its post count.1
get_hashtag_postsTop posts for a hashtag.1 / page
search_placesPlaces by name, or near a point with lat and lng.1
get_placeOne place: name, category, address, city, coordinates, phone and website.1
get_place_postsTop or most recent posts tagged at a place.1 / page
search_audioSongs and original audio used in Reels.1
get_trending_audioAudio trending on Reels right now.1 / page
get_audioOne song or original audio: title, artist, duration and how many reels use it.1
get_audio_reelsReels that use a given audio.1 / page

TikTok

ToolWhat it returnsCredits
tiktok_get_profilePublic 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_postsVideos and photo posts, newest first, about 16 per page, with view / like / comment / share / save counts, music and hashtags.1 / page
tiktok_get_repostsVideos the account reposted, up to 30 per page.1 / page
tiktok_get_likedVideos the account liked (when its liked list is public).1 / page
tiktok_get_followersFollowers, about 30 per page, each with follower and video counts.1 / page
tiktok_get_followingAccounts the account follows, about 30 per page.1 / page
tiktok_get_playlistsPublic playlists: id, name, video count and cover.1 / page
tiktok_get_storiesStories the account has up right now.1
tiktok_get_suggestedAccounts TikTok suggests alongside this one (up to about 30, one page).1
tiktok_get_postOne video or photo post by id or URL: caption, date, duration, media, counts, author, music, hashtags, whether it has captions.1
tiktok_get_commentsTop-level comments in TikTok's order, about 20 per page, with like and reply counts.1 / page
tiktok_get_comment_repliesReplies to a comment.1 / page
tiktok_get_transcriptTranscript 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_musicOne sound by id or URL: title, artist, duration, cover and how many posts use it.1
tiktok_get_music_postsPosts that use a sound, up to 30 per page.1 / page
tiktok_get_hashtagOne hashtag: id, post count and view count.1
tiktok_get_hashtag_postsPosts under a hashtag, up to 30 per page.1 / page
tiktok_searchSearch by keyword: top, users, videos, photo posts, live or sounds, with an optional country.1 / page

Utilities

ToolWhat it returnsCredits
resolve_instagram_urlAny instagram.com link (profile, post, reel, story, highlight, hashtag, place, audio) turned into its type, ids and the tool to call next.0
get_balanceYour 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.

Links

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.

No installation packages available.

Remote