Skip to main content
Glama
instagram-data-mcp

instagram-data-mcp

Instagram Data MCP server

Connect your AI assistant to FastSocial's Instagram Data API, and it can look up public Instagram profiles, posts, reels, stories, highlights, comments, hashtags, places and audio. Read-only: it never posts, follows, likes or sends messages.

The server is remote. There is nothing to install or run: your assistant talks to

https://data.fastsocial.co/mcp

over Streamable HTTP. The first time it connects, a fastsocial.co page opens in your browser where you sign in and click Allow.

This repository holds the plugin manifests (plugin.json, mcp.json and the copy Cursor reads in .cursor-plugin/), the server.json that lists the server in the official MCP Registry as io.github.FastSocialCo/instagram-data-mcp, and a LobeHub manifest. It contains no code that runs on your machine. The server's code is not here.

Install

Cursor

Install the plugin from cursor.directory, or add the server to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (all projects):

{
  "mcpServers": {
    "instagram-data": {
      "url": "https://data.fastsocial.co/mcp"
    }
  }
}

Open Settings, then MCP, and connect. Cursor opens the FastSocial sign-in page.

Claude Code

claude mcp add --transport http instagram-data https://data.fastsocial.co/mcp

Then run /mcp inside Claude Code, choose instagram-data and sign in.

Claude app (web and desktop)

  1. Open Settings, then Connectors, and add a custom connector.

  2. Paste https://data.fastsocial.co/mcp as the server URL.

  3. Leave the OAuth client ID and secret empty.

  4. Connect, and sign in on the FastSocial page that opens.

VS Code and other clients

Any client that speaks MCP over Streamable HTTP can connect with the server URL. In VS Code, add this to .vscode/mcp.json and press Start:

{
  "servers": {
    "instagram-data": {
      "type": "http",
      "url": "https://data.fastsocial.co/mcp"
    }
  }
}

Related MCP server: SocialDataX Instagram MCP

What this plugin does and what data it sends

The plugin itself

The plugin is two JSON files that tell your client the server's address. It runs no code, has no install scripts and stores nothing. Your client makes every request itself, straight to https://data.fastsocial.co/mcp over HTTPS.

What your client sends

  • The MCP handshake: your client's name and version, and the protocol version it speaks.

  • Each tool call: the tool's name and its arguments, which are the things you asked about: an Instagram username or user id, a post or reel link, a hashtag, search words, a location, audio or highlight id, and a paging cursor. The full list is in the table below.

  • Your sign-in token or API key, in a request header. Never in the URL.

  • The usual details of any web request, such as your IP address and your client's user agent.

Nothing else is sent. The server never sees your files, your editor or your conversation, only the arguments your assistant puts into a tool call.

What comes back

Public Instagram data as JSON, plus meta.credits_remaining. Photos and videos come back as links, not files. Private accounts return a private_account error. Instagram account owners can opt out; after that the API returns 451 opted_out for their account.

Read-only

Every tool reads. None changes anything on Instagram. The only thing a call changes is your own credit balance for the month. The server marks every tool readOnlyHint: true and openWorldHint: true in tools/list. There are no tools that write or delete.

Signing in

The first time your client connects, the server replies that it needs sign-in and says where to find out how. Your client then opens a page on fastsocial.co in your browser. There you:

  1. enter your email and the code FastSocial emails you,

  2. see which app is asking, and click Allow (or Deny).

If you don't have a plan yet, a Free plan is made for you when you click Allow. You never type a password into your assistant, and the plugin never sees or stores your credentials. Your client keeps the tokens it receives. An access token lasts an hour, and your client renews it with a refresh token that lasts 30 days and changes every time it is used.

To cut off every app you've connected, sign in at https://fastsocial.co/cart/api/account and press New key. Sign-ins tied to the old key stop working at once.

For client developers: discovery starts at https://data.fastsocial.co/.well-known/oauth-protected-resource/mcp. The authorization server supports OAuth 2.1 with PKCE (S256 only), dynamic client registration and token revocation, for public clients.

Using an API key instead

If your client can set a header but can't sign in, get a key at https://fastsocial.co/instagram-api?ref=github and send it on every request as X-API-Key: YOUR_KEY (or Authorization: Bearer YOUR_KEY). For Claude Code:

claude mcp add --transport http instagram-data https://data.fastsocial.co/mcp --header "X-API-Key: YOUR_KEY"

Keep the key out of files you commit.

Policies

The 28 tools

Each call costs credits from your monthly allowance. Failed calls cost nothing. Every tool is read-only.

Tool

What it does

Arguments

Credits

instagram_profile

Get an Instagram profile

username or user_id

1

instagram_user_id

Instagram username to user id

username or user_id

1

instagram_username

Instagram user id to username

user_id

2

instagram_check

Check if an Instagram handle exists and is public

username

1

instagram_posts

Get recent Instagram posts

username or user_id, cursor

1

instagram_reels

Get an account's Instagram reels

username or user_id, cursor

1

instagram_tagged

Get posts an account is tagged in

username or user_id, cursor

1

instagram_post

Get one Instagram post or reel

url or shortcode

1

instagram_media

Download URLs for a post, reel or carousel

url or shortcode

1

instagram_comments

Get comments on an Instagram post

url or shortcode

3

instagram_comment_replies

Get replies to an Instagram comment

url or shortcode, comment_id, cursor

3

instagram_likers

Get accounts that liked an Instagram post

url or shortcode

3

instagram_insights

Instagram engagement rate calculator

username or user_id

2

instagram_followers

Get an account's followers

username or user_id, cursor

3

instagram_following

Get accounts an account follows

username or user_id, cursor

3

instagram_similar

Find similar Instagram accounts

username or user_id

1

instagram_stories

View Instagram stories anonymously

username or user_id

3

instagram_highlights

Get Instagram story highlights

username or user_id

3

instagram_highlight

Get the items in one highlight

id

3

instagram_search

Search Instagram accounts, hashtags and places

q

1

instagram_hashtag

Get posts for an Instagram hashtag

tag, cursor

1

instagram_place

Get an Instagram location

id

3

instagram_place_posts

Get posts tagged at an Instagram location

id, cursor

1

instagram_audio

Get an Instagram audio track and the reels using it

id

1

instagram_audio_search

Search Instagram music and sounds

q

3

instagram_reels_search

Search Instagram reels by keyword

q, cursor

3

instagram_top_accounts

Daily ranking of the 2,000 most-followed accounts

sort, limit

0

instagram_usage

Your credits used and left this month

none

0

Full reference: https://fastsocial.co/instagram-api/docs?ref=github

Things to ask it

  • "Compare the engagement rate of @nasa and @spacex."

  • "Download every slide of this carousel: https://www.instagram.com/p/..."

  • "Show me @natgeo's current stories and summarise them."

  • "Find 10 accounts similar to @humansofny."

Local version

If your client only runs local (stdio) servers, the same tools are on PyPI as instagram-data-mcp. It is not part of this plugin. Its source is FastSocialCo/instagram-data-mcp-python.

License

MIT. See LICENSE.

Available Tools

27 tools
instagram_audioA
Read-only
Inspect

Get an Instagram audio track and the reels using it. Title, artist, duration and a preview URL for an original sound or song, plus reels that use it. Audio ids come from reels.

Cost: 1 credit.

Inputs: id (required).

instagram_checkA
Read-only
Inspect

Check if an Instagram handle exists and is public. Does this handle exist, and is it public? States: ok, not_found, private, deactivated, memorialized, age_restricted, restricted_minor. Exact match only, so a typo never resolves to someone else.

Cost: 1 credit.

Inputs: username (required).

instagram_comment_repliesB
Read-only
Inspect

Get replies to an Instagram comment. Replies under one comment. Page with cursor.

Cost: 3 credits.

Inputs: comment_id (required), url, cursor, shortcode.

instagram_commentsA
Read-only
Inspect

Get comments on an Instagram post. The top comments on a post with author, text, time, likes and reply count, plus the total comment count.

Cost: 3 credits.

Inputs: url, shortcode.

instagram_followersA
Read-only
Inspect

Get an account's followers. Public follower list of a public account, with the total follower count. Page with cursor where available.

Cost: 3 credits.

Inputs: cursor, user_id, username.

instagram_followingA
Read-only
Inspect

Get accounts an account follows. Who a public account follows, with the total. Page with cursor.

Cost: 3 credits.

Inputs: cursor, user_id, username.

instagram_hashtagA
Read-only
Inspect

Get posts for an Instagram hashtag. Recent posts under a hashtag and its total post count. Page with cursor.

Cost: 1 credit.

Inputs: tag (required), cursor.

instagram_highlightA
Read-only
Inspect

Get the items in one highlight. Every photo and video inside one highlight, with signed CDN URLs.

Cost: 3 credits.

Inputs: id (required).

instagram_highlightsA
Read-only
Inspect

Get Instagram story highlights. Title, cover image and item count for each highlight. Pass an id to /v1/highlight for its items.

Cost: 3 credits.

Inputs: user_id, username.

instagram_insightsA
Read-only
Inspect

Instagram engagement rate calculator. Engagement rate (mean and median), posting cadence, format mix, best posting hours (UTC) and a percentile against the Instagram Benchmarks report, from the latest 12 posts. Pinned posts are excluded.

Cost: 2 credits.

Inputs: user_id, username.

instagram_likersA
Read-only
Inspect

Get accounts that liked an Instagram post. A sample of accounts that liked a post, plus the total like count.

Cost: 3 credits.

Inputs: url, shortcode.

instagram_mediaA
Read-only
Inspect

Download URLs for a post, reel or carousel. Direct image and video file URLs for every slide of a post, in the best quality available. URLs are signed Instagram CDN links that expire after a few hours.

Cost: 1 credit.

Inputs: url, shortcode.

instagram_placeA
Read-only
Inspect

Get an Instagram location. Name, category, address, city, phone, website and post count of a location page. Find ids with /v1/search.

Cost: 3 credits.

Inputs: id (required).

instagram_place_postsA
Read-only
Inspect

Get posts tagged at an Instagram location. Recent posts geotagged at a location. Page with cursor.

Cost: 1 credit.

Inputs: id (required), cursor.

instagram_postA
Read-only
Inspect

Get one Instagram post or reel. Likes, comments, views, caption, owner and media URLs for a single post, reel or IGTV video.

Cost: 1 credit.

Inputs: url, shortcode.

instagram_postsA
Read-only
Inspect

Get recent Instagram posts. 12 posts per page, newest first, with likes, comments, views, caption and media URLs. Page with cursor.

Cost: 1 credit.

Inputs: cursor, user_id, username.

instagram_profileA
Read-only
Inspect

Get an Instagram profile. Follower, following and post counts, bio, links, category, verification and the HD profile picture of any public account.

Cost: 1 credit.

Inputs: user_id, username.

instagram_reelsA
Read-only
Inspect

Get an account's Instagram reels. The reels tab of a public account: play counts, likes, comments, captions and video URLs. Page with cursor.

Cost: 1 credit.

Inputs: cursor, user_id, username.

instagram_similarA
Read-only
Inspect

Find similar Instagram accounts. Accounts Instagram considers related to this one. Handy for competitor research and influencer discovery.

Cost: 1 credit.

Inputs: user_id, username.

instagram_storiesA
Read-only
Inspect

View Instagram stories anonymously. Stories posted in the last 24 hours by a public account, with image and video URLs. Signed CDN links that expire after a few hours.

Cost: 3 credits.

Inputs: user_id, username.

instagram_taggedA
Read-only
Inspect

Get posts an account is tagged in. Public posts by other accounts that tag this account. Useful for UGC, brand mentions and influencer tracking.

Cost: 1 credit.

Inputs: cursor, user_id, username.

instagram_usageB
Read-only
Inspect

Your usage this month. Free (0 credits).

Inputs: no named parameters.

instagram_user_idA
Read-only
Inspect

Instagram username to user id. The numeric user id for a handle. Every endpoint also accepts either one directly, so you rarely need this.

Cost: 1 credit.

Inputs: user_id, username.

instagram_usernameA
Read-only
Inspect

Instagram user id to username. The current handle for a numeric user id, which still works after the account renames itself.

Cost: 3 credits.

Inputs: user_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 27 tools

    Disambiguation4/5

    Most tools map to distinct Instagram resources or actions, and descriptions clarify scope (e.g., followers vs following, post vs media). However, a few close pairs remain: highlights/highlight, posts/post/media, and the three search endpoints can require careful reading to select correctly.

    Naming Consistency5/5

    All tools use lower_snake_case with a consistent instagram_ prefix, and singular/plural forms generally signal single-resource vs collection endpoints. The pattern is predictable despite a few compound names.

    Tool Count2/5

    27 tools is heavy for an MCP server and exceeds the 25+ threshold; while most endpoints are distinct, the breadth increases selection burden. Some adjacent operations (highlight/highlights, user_id/username, search variants) could be consolidated.

    Completeness4/5

    The surface covers profiles, social graph, posts/reels, stories/highlights, search, comments, likers, insights, and media URLs, which is broad for a read-only Instagram data API. Minor gaps remain, such as no single-comment endpoint or dedicated hashtag/location/user search variants, but core workflows are covered.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to look up public Instagram profiles by handle and page through their public post feeds, returning structured JSON data such as follower counts, bios, and engagement metrics.
      2
      69 npm
      40 PyPI
      13
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables users to send, retrieve, search, and manage Instagram Direct Messages and related media, threads, users, stories, likes, followers, following, and posts from their Instagram account through MCP tools.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables sending direct messages, managing chats and media, retrieving user, story, and follower information, and performing engagement actions on Instagram through MCP tools.
      -