
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
instagram-mcp-server
Advanced tools
A Model Context Protocol (MCP) server that connects Claude Desktop (and other MCP clients) to the Instagram Graph API — read analytics, manage comments, publish photos, carousels, and reels.
SENSE (read-only):
| Tool | Description |
|---|---|
ig_get_account_insights | Account insights: reach, follower growth, profile views over a period |
ig_get_post_insights | Engagement metrics for a specific post: reach, likes, shares, saves |
ig_get_comments | Comments on a post with username, timestamp, and replies |
ig_get_stories_insights | Insights for an active story: reach, replies, interactions |
ig_get_audience_demographics | Follower demographics: city, country, age/gender breakdown |
ig_get_hashtag_search | Search public posts by hashtag (30 unique hashtags per 7-day window) |
ACT (write):
| Tool | Description |
|---|---|
ig_publish_photo | Publish a photo post from a public URL |
ig_publish_carousel | Publish a carousel (2-10 images) from public URLs |
ig_publish_reel | Publish a reel (short video) from a public URL |
ig_reply_comment | Reply to a comment on a post |
ig_delete_comment | Delete a comment on one of your posts |
instagram_basic, instagram_content_publish, instagram_manage_comments, instagram_manage_insights, pages_show_list, pages_read_engagementgit clone https://github.com/luminarylane/instagram-mcp-server.git
cd instagram-mcp-server
npm install
npm run build
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"instagram": {
"command": "node",
"args": ["/path/to/instagram-mcp-server/dist/index.js"],
"env": {
"INSTAGRAM_ACCESS_TOKEN": "your_long_lived_page_token",
"INSTAGRAM_BUSINESS_ACCOUNT_ID": "your_17_digit_ig_business_account_id"
}
}
}
}
Environment variables:
| Variable | Required | Description |
|---|---|---|
INSTAGRAM_ACCESS_TOKEN | Yes* | Long-lived Facebook Page Access Token |
INSTAGRAM_BUSINESS_ACCOUNT_ID | Yes* | 17-digit IG Business Account ID |
*Can also be passed per-call via tool arguments.
Use the Graph API Explorer:
GET /me/accounts?fields=instagram_business_account
The instagram_business_account.id field is your Business Account ID.
Once configured, ask Claude to:
Photo and carousel publishing is synchronous — the tool returns once the post is live. Reel publishing is asynchronous — the server polls the container status until processing completes, then publishes.
All publish tools accept an optional firstComment parameter to add a comment immediately after publishing (commonly used for hashtags).
The server enforces per-account rate limits to stay within Instagram's API quotas. If you hit a rate limit, the tool will return an error with a suggested retry time. The built-in retry logic handles transient 429 responses automatically.
git checkout -b feat/my-feature)npm test)MIT License — see LICENSE for details.
FAQs
Standalone Instagram MCP Server — SENSE + ACT tools for the Graph API
We found that instagram-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.