New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

instagram-data-mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

instagram-data-mcp

MCP server for public Instagram data: profiles, posts, reels, stories, highlights, comments, hashtags and more.

pipPyPI
Version
0.1.4
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

instagram-data-mcp

An MCP server for public Instagram data. It gives Claude, Cursor and any other MCP client 27 read-only tools: profiles, posts, reels, stories, highlights, comments, likers, followers, hashtags, places, audio and search.

It wraps the Instagram Data API. Nothing logs in to Instagram, and nothing can post, follow or like. Public data only.

Get a key

Sign up at https://fastsocial.co/instagram-api. There is a free plan.

Connect (no install, no key to paste)

Add the server URL to your client. The first time you use it, your client opens a browser page on fastsocial.co: sign in with your email code and click Allow. That's it. There is a free plan, and it is set up for you on first sign-in.

Claude Code:

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

Cursor, Claude Desktop, VS Code and other clients that take a remote server:

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

Prefer an API key? Send it as an X-API-Key header instead and skip the sign-in.

Or run it locally

{
  "mcpServers": {
    "instagram-data": {
      "command": "uvx",
      "args": ["instagram-data-mcp"],
      "env": { "IG_DATA_API_KEY": "your_key" }
    }
  }
}

No uvx? pip install instagram-data-mcp and use "command": "instagram-data-mcp" instead.

Tools

ToolWhat it does
instagram_profileGet an Instagram profile
instagram_user_idInstagram username to user id
instagram_usernameInstagram user id to username
instagram_checkCheck if an Instagram handle exists and is public
instagram_postsGet recent Instagram posts
instagram_reelsGet an account's Instagram reels
instagram_taggedGet posts an account is tagged in
instagram_postGet one Instagram post or reel
instagram_mediaDownload URLs for a post, reel or carousel
instagram_commentsGet comments on an Instagram post
instagram_comment_repliesGet replies to an Instagram comment
instagram_likersGet accounts that liked an Instagram post
instagram_insightsInstagram engagement rate calculator
instagram_followersGet an account's followers
instagram_followingGet accounts an account follows
instagram_similarFind similar Instagram accounts
instagram_storiesView Instagram stories anonymously
instagram_highlightsGet Instagram story highlights
instagram_highlightGet the items in one highlight
instagram_searchSearch Instagram accounts, hashtags and places
instagram_hashtagGet posts for an Instagram hashtag
instagram_placeGet an Instagram location
instagram_place_postsGet posts tagged at an Instagram location
instagram_audioGet an Instagram audio track and the reels using it
instagram_audio_searchSearch Instagram music and sounds
instagram_reels_searchSearch Instagram reels by keyword
instagram_usageYour usage this month

Each call costs API credits (stories and highlights cost 3, most others 1). Every response includes meta.credits_remaining. Full reference: https://fastsocial.co/instagram-api/docs

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."

Settings

Env varDefault
IG_DATA_API_KEYnoneRequired
IG_DATA_API_BASEhttps://data.fastsocial.co
IG_DATA_API_TIMEOUT60Seconds

License

MIT

Keywords

ai-agents

FAQs

Related posts