Instagram MCP Server
Connect your AI agents to HasData's Instagram MCP server. Read public profiles, posts, Reels and comments as structured JSON over streamable HTTP.
https://mcp.hasdata.com/mcp?apis=instagram - Transport
- Streamable HTTP
- Auth
- OAuth or API key
- Tools
- 4 Instagram tools
- Price
- 10 credits / call


See the Instagram MCP server in action
Explore example conversations using captured Instagram data: profile details, bio links, post formats, and caption hashtags.
Summarize NASA's profile and bio links
Find a Moon-related post in NASA's feed and list its hashtags
Show a carousel, photo and Reel from NASA's feed
Who published these three posts from NASA's feed?
Compare three recent NASA Reels by plays, likes and comments.
The Instagram tools your agent can call
4 toolsRead public profiles, account posts and Reels, or comments and media details for a single publication. Continue with pagination.nextPageToken from the previous response.
+ hasdata_instagram_profile_getInstagramProfile One public profile by handle 1 param 10 credits
Try| Parameter | Type | Required | Example |
|---|---|---|---|
| handle | string | required | "nasa" |
- id
- username
- fullName
- biography
- followersCount
- followsCount
- verified
- bioLinks
- profilePicUrl
- fbid
- latestPosts
+ hasdata_instagram_posts_getInstagramPosts An account's posts, page by page 3 params 10 credits
Try| Parameter | Type | Required | Example |
|---|---|---|---|
| handle | string | required | "nasa" |
| limit | number | optional | 12 |
| nextPageToken | string | optional | "nextPageToken from previous response" |
- id
- shortcode
- caption
- type
- productType
- url
- displayUrl
- alt
- ownerUsername
- ownerId
- hashtags
- mentions
+ hasdata_instagram_comments_getInstagramComments Comments and first-page details for one post or Reel, with optional music metadata 3 params 10 credits
| Parameter | Type | Required | Example |
|---|---|---|---|
| url | string | required | "https://www.instagram.com/p/Ddjis3vETcP/" |
| nextPageToken | string | optional | "nextPageToken from the previous response" |
| includeMusic | boolean | optional | true |
- post
- post.caption
- post.likesCount
- post.commentsCount
- post.images
- post.videoUrl
- post.childPosts
- post.music
- post.music.audioId
- post.music.artistName
- post.music.songName
- comments
- comments[].text
- comments[].timestamp
- comments[].likesCount
- comments[].owner
- pagination.moreCommentsAvailable
- pagination.nextPageToken
+ hasdata_instagram_reels_getInstagramReels An account’s Reels with plays, likes, comments and media URLs 3 params 10 credits
Try| Parameter | Type | Required | Example |
|---|---|---|---|
| handle | string | required | "nasa" |
| limit | number | optional | 3 |
| nextPageToken | string | optional | "pagination.nextPageToken from the previous response" |
- reels
- reels[].id
- reels[].caption
- reels[].playsCount
- reels[].likesCount
- reels[].commentsCount
- reels[].videoUrl
- reels[].displayUrl
- reels[].ownerUsername
- reels[].timestamp
- reels[].taggedUsers
- pagination.moreReelsAvailable
- pagination.nextPageToken
Base calls cost 10 credits. Failed calls are not billed.
One endpoint, any MCP client
A config block for every major MCP client, in its native format. Authenticate with browser OAuth or an x-api-key header.
Claude Code
hasdata-instagram · connected · 4 toolsCursor
hasdata-instagram · 4 tools enabledClaude Desktop
hasdata-instagram · connected · 4 toolsVS Code / Copilot
hasdata-instagram · running · 4 toolsWindsurf
hasdata-instagram · 4 toolsCline
hasdata-instagram · 4 toolsChatGPT
Sign in with your HasData account. No API key is needed for the OAuth connection.
Check that hasdata_instagram_profile_getInstagramProfile appears in the tool activity.OpenAI Agents SDK
Install openai-agents with python -m pip install openai-agents. Set OPENAI_API_KEY and HASDATA_API_KEY in your environment. Running this script uses OpenAI API billing and HasData credits.
The script prints the agent reply from result.final_output.Codex CLI
Confirm hasdata-instagram, its URL and enabled status.Gemini CLI
hasdata-instagram · 4 toolsRaw HTTP / curl
{ "tools": [ … 4 items ] }Instagram plus whatever else you need
Name the services in the query string and the server exposes only their tools. Every one draws from the same key and the same balance.
Free on GitHub, paid in hours
Anyone can clone a free MCP to scrape Instagram. Whether that stays free depends on the shape of your project.
Self-hosted costs and hours are illustrative budgets for one custom scraper. Engineering time is separate from infrastructure spend.
A script I run once
A weekly report
A pipeline in production
A feature in my product
One balance, every interface
A flat monthly price against a known credit ceiling. Move up a plan when you outgrow it.
Free
Startup
Basic
RecommendedGrowth
Monthly tool call volume
Custom price based on required volume
Past 20M credits a month, or terms the self-serve plans do not cover. We shape the contract around your workload.
The same data, without the agent
Before you wire it in
Which accounts can these tools read?
Public ones. Every tool reads the pages a signed-out visitor sees, so a private account returns nothing useful and there is no way to ask for more than the account itself publishes.
How is this different from the Instagram Graph API?
The Graph API reaches an account that has authorised your app, and it requires app review for most of what it exposes. These tools read public profiles and posts without that relationship, which is a different job rather than a shortcut into the same one.
How do I read more posts, Reels or comments?
Pass pagination.nextPageToken from the response as nextPageToken for the next page, keeping the account handle or publication URL required by that tool. Reels support up to twelve records per request. Instagram determines comment page sizes; later comment pages omit the first-page post details.
Which fields can be missing?
Fields vary by record. Posts and Reels can include likesCount and commentsCount; Reels can also include playsCount. Captions, hashtags, mentions, tagged users and other optional fields depend on the publication. Profile links use bioLinks.
Can I get a single Reel and its music from a URL?
Yes. Use the Comments tool with a public post or Reel url. Its first page includes the publication’s media details and comments. Set includeMusic=true to request post.music, with audio ID, artist and song title when available. Music lookup applies to the first page and is ignored when continuing with nextPageToken.
What about personal data?
A profile is personal data even when it is public. HasData reads publicly available pages only, and you are responsible for having a lawful basis for what you collect and store under GDPR, CCPA or the equivalent rules where you operate.
How many calls can run in parallel?
5 on the free tier, 5 on Startup, 15 on Basic, and 50 on Growth. The larger Growth volumes raise it to 200, 300 and 500.
What happens when I run out of credits?
Nothing is charged on top of the plan. Calls stop until the billing cycle renews.
Does it work with Claude Desktop, Cursor, VS Code and Claude Code?
Yes, all four, plus anything else that speaks MCP over streamable HTTP. Claude Desktop connects through OAuth, and the rest take the URL and an API key header.
Is HasData affiliated with Instagram?
No. HasData is an independent service and is not affiliated with, endorsed by, or sponsored by Meta Platforms, Inc. Instagram is a trademark of its respective owner.