Skip to content

The HandleHaul API has a hosted MCP server at https://api.handlehaul.com/mcp. Add it to your AI assistant and ask in plain words: "Who did @natgeo follow most recently?", "Show the newest followers of @nasa", "Get the last 5 reels of @bbcnews with views". The assistant calls the HandleHaul tools and answers from live public Instagram and TikTok data.

  • URL: https://api.handlehaul.com/mcp (streamable HTTP, stateless; no install, nothing runs on your machine)
  • Auth: your HandleHaul API key in X-Api-Key: kd_live_… or Authorization: Bearer kd_live_… (get a key)
  • Price: the same as the REST API. Each tool call is one API call: 1 credit, a following page of about 200 accounts included, from $0.83 per 1,000 credits, nothing for a cache hit or an error; +1 when a username has to be looked up, so let the assistant pass numeric ids (Pricing)
  • Sandbox: a kd_test_… key returns sample data at no cost. Start with one to try the setup.
  • On GitHub: setup guide and registry metadata (server.json) at github.com/handlehaul/handlehaul-mcp. The server itself is hosted, so there is nothing to run.
  • Public accounts only. Every answer carries meta.credits_charged and meta.credits_remaining, so the assistant can tell you what a question cost.
Add HandleHaul to your assistant in one clickplaceholder key
Add to CursorOpens Cursor's install prompt Add to VS CodeGitHub Copilot agent mode

Sign in and these buttons carry your own key, so there is nothing to paste.

Tool calls share your account's rate limits, credit balance and per-key monthly caps with your REST calls, and show up in your dashboard usage like any other request.

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 in a repository, put it in .mcp.json and let each person set HANDLEHAUL_API_KEY in their environment:

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

Then ask: "Use handlehaul to list the 20 accounts @natgeo followed most recently." Type /mcp in Claude Code to check the connection.

Claude Desktop and claude.ai

Custom connector (where your plan offers request headers): Settings → Connectors → Add custom connector, URL https://api.handlehaul.com/mcp, authentication No sign-in, then under Request headers add x-api-key with your key (or authorization with Bearer kd_live_…).

Config file (works on every plan, needs Node.js): add this to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\) and restart Claude Desktop. It runs the open-source mcp-remote bridge, which forwards to our hosted server.

{
  "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" }
    }
  }
}

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.

OpenAI Codex

~/.codex/config.toml:

[mcp_servers.handlehaul]
url = "https://api.handlehaul.com/mcp"
bearer_token_env_var = "HANDLEHAUL_API_KEY"

Or from the command line: codex mcp add handlehaul --url https://api.handlehaul.com/mcp --bearer-token-env-var HANDLEHAUL_API_KEY.

Windsurf

~/.codeium/windsurf/mcp_config.json:

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

Gemini CLI

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

ChatGPT and the OpenAI API

ChatGPT's own connector screen (developer mode) only accepts servers with OAuth sign-in or no sign-in, so it cannot send a HandleHaul API key yet. From code, the OpenAI Responses API can use the server directly:

from openai import OpenAI
import os

client = OpenAI()
resp = client.responses.create(
    model="gpt-5",
    tools=[{
        "type": "mcp",
        "server_label": "handlehaul",
        "server_url": "https://api.handlehaul.com/mcp",
        "headers": {"X-Api-Key": os.environ["HANDLEHAUL_API_KEY"]},
        "require_approval": "never",
    }],
    input="Who did @natgeo follow most recently? List 10, newest first.",
)
print(resp.output_text)

Claude API (MCP connector)

curl https://api.anthropic.com/v1/messages \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "anthropic-beta: mcp-client-2025-11-20" \
  -H "content-type: application/json" \
  -d '{
    "model": "claude-sonnet-5-5",
    "max_tokens": 1500,
    "mcp_servers": [{ "type": "url", "url": "https://api.handlehaul.com/mcp", "name": "handlehaul", "authorization_token": "'"$HANDLEHAUL_API_KEY"'" }],
    "tools": [{ "type": "mcp_toolset", "mcp_server_name": "handlehaul" }],
    "messages": [{ "role": "user", "content": "Show the 10 newest followers of @nasa." }]
  }'

The connector sends the token as Authorization: Bearer, which the HandleHaul server accepts.

Any other MCP client

Use the streamable HTTP transport with the URL https://api.handlehaul.com/mcp and one header, X-Api-Key or Authorization: Bearer. The server is stateless: every request is a plain JSON-RPC POST, there is no session to keep and no SSE stream to hold open. Server metadata (an MCP server card) is at https://api.handlehaul.com/mcp/server-card.

Tools

ToolWhat it doesCredits
get_profilePublic Instagram profile for a username or numeric user id: full name, bio, external link, category, verified and private flags, follower / following / post counts, profile picture and the numeric user id.1
get_followingAccounts that a public Instagram account follows, in Instagram's real newest-first order: position 1 is the account they followed most recently.1
get_followersAccounts that follow a public Instagram account, newest follower first: position 1 is the most recent follower.1
get_postsPosts of a public Instagram account, newest first, about 12 per page: shortcode, URL, date, type, caption, like / comment / view counts and thumbnail.1
search_usersFind Instagram accounts by name or username (up to about 40 results).1
get_reelsReels of a public Instagram account, newest first (sort "recent") or most viewed (sort "views"), about 12 per page, with view counts and video URLs.1
get_tagged_postsPosts in which a public Instagram account is tagged, about 12 per page.1
get_repostsPosts a public Instagram account reposted, about 12 per page.1
get_storiesStories a public Instagram account posted in the last 24 hours, with media URLs and expiry times.1
get_highlightsStory highlights of a public Instagram account (id, title, item count, cover).1
get_account_detailsWhen an Instagram account joined (month and year), its country and how many times it changed username.1
get_similar_accountsAccounts Instagram considers similar to this one (up to about 80).1
get_post_statsLike, comment and view counts for 1 to 20 posts in one call.1
get_postOne Instagram post or reel by shortcode, numeric id or instagram.com URL: caption, date, counts, media URLs, owner, location and audio.1
get_commentsComments on an Instagram post, top first (sort "top") or newest first (sort "newest"), about 15 per page.1
get_post_likersAccounts that liked an Instagram post, about 100 per page.1
get_comment_repliesReplies to a comment.1
get_comment_likersAccounts that liked a comment.1
get_storyOne Instagram story by numeric id.1
get_highlight_storiesThe stories inside one story highlight (ids come from get_highlights).1
search_hashtagsFind Instagram hashtags matching a word, with post counts.1
search_placesFind Instagram places (locations) by name, or near a point with lat and lng.1
search_audioFind songs and original audio used in Reels.1
get_hashtagOne Instagram hashtag and its post count.1
get_hashtag_postsTop posts for an Instagram hashtag.1
get_placeOne Instagram place: name, category, address, city, coordinates, phone and website.1
get_place_postsTop (sort "top") or most recent (sort "recent") posts tagged at an Instagram place.1
get_trending_audioAudio trending on Instagram Reels right now.1
get_audioOne song or original audio: title, artist, duration and how many reels use it.1
get_audio_reelsReels that use a given song or original audio.1
tiktok_get_profilePublic TikTok profile for a handle, numeric id or secUid: nickname, bio, link, region, verified and private flags, follower / following / like / video counts, avatar, the numeric id and the secUid.1
tiktok_get_postsVideos and photo posts of a public TikTok account, newest first, about 16 per page: caption, date, duration, cover, view / like / comment / share / save counts, music and hashtags.1
tiktok_get_repostsVideos a public TikTok account reposted, up to 30 per page.1
tiktok_get_likedVideos a TikTok account liked.1
tiktok_get_followersAccounts that follow a public TikTok account, about 30 per page, each with its follower and video counts.1
tiktok_get_followingAccounts that a public TikTok account follows, about 30 per page.1
tiktok_get_playlistsPublic playlists of a TikTok account: id, name, video count and cover.1
tiktok_get_storiesStories a TikTok account has up right now.1
tiktok_get_suggestedAccounts TikTok suggests alongside this one (up to about 30, one page).1
tiktok_get_postOne TikTok video or photo post by numeric id or tiktok.com URL: caption, date, duration, cover, media URL, counts, author, music, hashtags and whether it has captions.1
tiktok_get_commentsTop-level comments on a TikTok post, in TikTok's order, about 20 per page, with author, like count and reply count.1
tiktok_get_transcriptTranscript of a TikTok video from TikTok's captions: full text plus timed segments, and the caption languages available.1
tiktok_get_comment_repliesReplies to a TikTok comment.1
tiktok_get_musicOne TikTok sound (song or original audio) by id or tiktok.com/music URL: title, artist, duration, cover and how many posts use it.1
tiktok_get_music_postsPosts that use a given TikTok sound, up to 30 per page.1
tiktok_get_hashtagOne TikTok hashtag by name: its id, post count and view count.1
tiktok_get_hashtag_postsPosts under a TikTok hashtag, up to 30 per page.1
tiktok_searchSearch TikTok by keyword.1
resolve_instagram_urlTurn any instagram.com link (profile, post, reel, story, highlight, hashtag, place or audio) into its type, ids and the tool to call next.0
get_balanceYour HandleHaul API credit balance, rate limits and this key's usage this month.0

Lists come in pages. The assistant passes pagination.next_cursor back as cursor for the next page, and each page is billed, so ask for what you need ("the first page", "the 50 most recent").

Two built-in prompts help in clients that show them (in Claude Code they appear as /mcp__handlehaul__recent_follows and /mcp__handlehaul__new_followers).

FAQ

Is there an Instagram MCP server that returns followers and following newest first?

Yes. The HandleHaul MCP server's get_following and get_followers tools return a public account's lists in Instagram's real newest-first order: position 1 is the most recent follow, and meta.order is "newest_first".

Does the MCP server cost extra?

No. A tool call costs the same as the REST call behind it, and errors are free. A kd_test_ key returns sample data at no cost.

Can the assistant see private accounts?

No. The server only covers public accounts and publicly visible data. A private account answers private_account, and that call is free.

Do I need to install anything?

No for Claude Code, Cursor, VS Code, Codex, Windsurf and Gemini CLI: they connect to the hosted URL directly. The Claude Desktop config-file route uses npx mcp-remote, which needs Node.js.

How do I limit what an assistant can spend?

Create a separate key for the assistant in the dashboard and give it a monthly credit cap. Calls past the cap answer key_quota_exceeded for free.

↑↓ to move↵ to open