instagram-data-mcp
Connect an AI assistant to FastSocial's Instagram Data API to read public Instagram data via 27 read-only tools.
Look up public profiles, user IDs, usernames, and check if a handle exists/is public.
Fetch recent posts, reels, tagged posts, single posts/reels, and media download URLs.
Get comments, comment replies, likers, and engagement-rate insights.
Retrieve followers, following, and similar accounts.
View stories, story highlights, and highlight items.
Search accounts, hashtags, places, audio, and reels by keyword.
Get hashtag posts, place details/posts, audio track details, and reels using an audio track.
Check your monthly credit usage (free).
Everything is read-only; no Instagram login, posting, following, liking, or messaging.
Provides 27 read-only tools for retrieving public Instagram data via the Instagram Data API, covering profiles, posts, reels, stories, highlights, comments, comment replies, likers, followers, following, similar accounts, tagged posts, media download URLs, engagement-rate insights, hashtags, locations, audio tracks, and account/hashtag/place/reel search. Nothing logs in or can post, follow, or like — public data retrieval only.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@instagram-data-mcp get the latest posts from @nasa"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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/mcpover 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/mcpThen run /mcp inside Claude Code, choose instagram-data and sign in.
Claude app (web and desktop)
Open Settings, then Connectors, and add a custom connector.
Paste
https://data.fastsocial.co/mcpas the server URL.Leave the OAuth client ID and secret empty.
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:
enter your email and the code FastSocial emails you,
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
Privacy policy: https://fastsocial.co/privacy
Terms: https://fastsocial.co/terms
Use policy for the data (public data only, no tracking or harassing people, nothing about minors): https://fastsocial.co/instagram-api/docs?ref=github
Reporting a security problem: SECURITY.md
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 |
| Get an Instagram profile |
| 1 |
| Instagram username to user id |
| 1 |
| Instagram user id to username |
| 2 |
| Check if an Instagram handle exists and is public |
| 1 |
| Get recent Instagram posts |
| 1 |
| Get an account's Instagram reels |
| 1 |
| Get posts an account is tagged in |
| 1 |
| Get one Instagram post or reel |
| 1 |
| Download URLs for a post, reel or carousel |
| 1 |
| Get comments on an Instagram post |
| 3 |
| Get replies to an Instagram comment |
| 3 |
| Get accounts that liked an Instagram post |
| 3 |
| Instagram engagement rate calculator |
| 2 |
| Get an account's followers |
| 3 |
| Get accounts an account follows |
| 3 |
| Find similar Instagram accounts |
| 1 |
| View Instagram stories anonymously |
| 3 |
| Get Instagram story highlights |
| 3 |
| Get the items in one highlight |
| 3 |
| Search Instagram accounts, hashtags and places |
| 1 |
| Get posts for an Instagram hashtag |
| 1 |
| Get an Instagram location |
| 3 |
| Get posts tagged at an Instagram location |
| 1 |
| Get an Instagram audio track and the reels using it |
| 1 |
| Search Instagram music and sounds |
| 3 |
| Search Instagram reels by keyword |
| 3 |
| Daily ranking of the 2,000 most-followed accounts |
| 0 |
| 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.
Links
Instagram Data API: https://fastsocial.co/instagram-api?ref=github
OpenAPI spec: https://fastsocial.co/instagram-api/openapi.json
MCP Registry entry:
io.github.FastSocialCo/instagram-data-mcp
License
MIT. See LICENSE.
Available Tools
27 toolsinstagram_audioARead-onlyInspect
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_audio_searchARead-onlyInspect
Search Instagram music and sounds. Find songs and sounds by title or artist, with ids you can pass to /v1/audio.
Cost: 3 credits.
Inputs: q (required).
instagram_checkARead-onlyInspect
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_repliesBRead-onlyInspect
Get replies to an Instagram comment. Replies under one comment. Page with cursor.
Cost: 3 credits.
Inputs: comment_id (required), url, cursor, shortcode.
instagram_commentsARead-onlyInspect
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_followersARead-onlyInspect
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_followingARead-onlyInspect
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_hashtagARead-onlyInspect
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_highlightARead-onlyInspect
Get the items in one highlight. Every photo and video inside one highlight, with signed CDN URLs.
Cost: 3 credits.
Inputs: id (required).
instagram_highlightsARead-onlyInspect
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_insightsARead-onlyInspect
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_likersARead-onlyInspect
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_mediaARead-onlyInspect
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_placeARead-onlyInspect
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_postsARead-onlyInspect
Get posts tagged at an Instagram location. Recent posts geotagged at a location. Page with cursor.
Cost: 1 credit.
Inputs: id (required), cursor.
instagram_postARead-onlyInspect
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_postsARead-onlyInspect
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_profileARead-onlyInspect
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_reelsARead-onlyInspect
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_reels_searchBRead-onlyInspect
Search Instagram reels by keyword. Reels matching a keyword. Page with cursor.
Cost: 3 credits.
Inputs: q (required), cursor.
instagram_searchARead-onlyInspect
Search Instagram accounts, hashtags and places. One search box, three result types: matching accounts, hashtags (with post counts) and places (with location ids).
Cost: 1 credit.
Inputs: q (required).
instagram_similarARead-onlyInspect
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_storiesARead-onlyInspect
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_taggedARead-onlyInspect
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_usageBRead-onlyInspect
Your usage this month. Free (0 credits).
Inputs: no named parameters.
instagram_user_idARead-onlyInspect
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_usernameARead-onlyInspect
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
Scored across 27 tools
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.
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.
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.
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
Related MCP Connectors
Public Instagram data via MCP: profiles, posts, reels, ads, transcripts. $5/1k credits; 25 free.
Instagram data over MCP: profiles, posts, reels, stories, highlights and search as JSON
Hosted MCP server for DataLikers — Instagram & TikTok data API. 51 tools: Instagram user search by demographics (gender/age/race/country/city), profiles, bulk lookup, engagement, posts & reels, comments, hashtags, locations, stories, highlights, music, business accounts, top users; TikTok users, videos, comments, hashtags, playlists and top charts. Streamable HTTP, Bearer API key. Free tier: 100 requests on signup at https://datalikers.com/p/1by27bwg
Get social media data from Instagram and TikTok: profiles, posts, videos, comments, and more.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables 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.269 npm40 PyPI13MIT
- AlicenseNot gradedqualityCmaintenanceInstagram MCP by SocialDataX for public post search and details, comments and replies, creator profiles and posts, and video or Reels speech-to-text.MIT
- FlicenseNot gradedqualityAmaintenanceEnables 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.-
- FlicenseNot gradedqualityAmaintenanceEnables sending direct messages, managing chats and media, retrieving user, story, and follower information, and performing engagement actions on Instagram through MCP tools.-