To connect Instagram to ChatGPT:
- Sign up free at portermetrics.com and connect your Instagram account with your Facebook account.
- In ChatGPT, click + → Connectors → Manage connectors → Add custom connector, name it Porter, paste
https://mcp.portermetrics.com/mcp, then click Add and authenticate with Google.
That’s it, you’re connected. Porter’s free plan covers up to 3 Instagram accounts with no usage limits on ChatGPT’s free plan. No credit card required.
What makes Porter different:
- 104+ Instagram fields and metrics, across every reporting level in one connection.
- Universal Instagram MCP. Cross-platform social reporting with Facebook and TikTok, competitor tracking and public profile analysis, content format performance comparison across Posts, Reels, Stories, and Live, and audience demographic and optimal timing insights. Your whole Instagram operation runs from one chat.
Prerequisites
- A Porter Metrics account with your Instagram account connected (free tier is enough to try it end-to-end)
- A ChatGPT account — the free plan works for ChatGPT Web; a Pro subscription is needed for Codex and Desktop MCP features
- Admin or standard access to the Instagram accounts you want to connect
Connect Instagram to ChatGPT with MCP
For this tutorial we’re going with the MCP method. Here’s a quick explainer of what MCP is and why it’s the best path for Instagram.
MCP (Model Context Protocol) is the open standard that lets AI tools like Claude, ChatGPT, Codex and others access and use external APIs — the things that make tools like Instagram work under the hood. Instead of building a custom integration for every AI tool you use, you install one MCP and every compatible AI gets access to the same data.
The full setup takes under 5 minutes and breaks into three moves: connect Instagram to Porter, point ChatGPT at the Porter MCP, and ask your first question.
1. Connect your Instagram data to Porter
Porter sits between Meta’s Graph API and ChatGPT. It handles OAuth, rate limiting, pagination and all the plumbing so ChatGPT only ever sees clean, structured data.
Sign up for Porter. Create a free account at portermetrics.com. The free tier is enough to run this full workflow end-to-end.
Connect your Facebook profile. In Porter, click Create → pick ChatGPT as the destination → select Instagram as the source → sign in with Facebook to grant access to your accounts.
Select your accounts. Choose the Instagram accounts you want ChatGPT to query. When you select multiple accounts under a single connection, Porter automatically blends their data together so you can query them as one.
Optional: enable automatic BigQuery storage if you’re connecting multiple accounts with large data volumes. This keeps ChatGPT’s responses fast even at scale.
2. Connect the MCP to ChatGPT
Porter’s MCP URL is what you paste into ChatGPT. Once added, ChatGPT can query Instagram data on demand in any conversation.
Go to chatgpt.com and click the + icon in the chat input to open the tools menu.

In the menu that opens, hover over Connectors and click Manage connectors.

In the Connectors panel, click the + button at the top of the list to start adding a new connector.

Pick Add custom connector from the dropdown that appears.

A dialog opens with the name and URL fields. Type Porter in the first field to name the connector.

In the second field, paste https://mcp.portermetrics.com/mcp. Leave the advanced settings alone.

Click Add at the bottom right of the dialog. ChatGPT opens a sign-in window — use the same Google account linked to your Porter workspace and approve access.

Once the authorization finishes, you’ll see Porter’s tools appear in the connectors panel. You’re ready to start asking questions.

For a fuller walkthrough with screenshots at every step, see the Porter tutorials.
3. Start building questions and dashboards
With Porter connected, open a new ChatGPT chat and ask anything about your Instagram in plain English. ChatGPT calls Porter behind the scenes, pulls live data from Meta, and answers with tables, charts, or summaries.
Try one of these to verify the setup is working:
For a full catalogue of copy-paste prompts organized by use case (performance, content optimization, agency, creator, cross-channel), jump to the prompts section below.
Alternative ways to connect Instagram to ChatGPT
Porter MCP is the path we just walked through and the one we recommend for most marketers. It is not the only way to get Instagram data in front of ChatGPT, though. The most common alternatives are Instagram’s direct API, a live Google Sheets bridge or CSV upload, and BigQuery for scale. Each has trade-offs, so pick the one that fits how your team already works.
- 🔌 Instagram’s direct API — Talk to Meta’s Graph API yourself. Maximum control, but you handle auth, rate limits and pagination — and you only get one source. (Meta doesn’t ship an official MCP for organic Instagram data yet.)
- 📊 Google Sheets — Live Sheet or one-off CSV upload. Auditable, familiar, faster for big exports — but aggregation happens in the Sheet, not the API.
- 🗄️ Google BigQuery — For large accounts or agencies running multi-account analysis. BigQuery aggregates; ChatGPT only queries pre-built summaries.
Via the Porter Metrics app in the ChatGPT marketplace
If you’d rather not paste a connector URL, install Porter straight from ChatGPT’s app gallery — it’s the same Porter connection behind the scenes, published as an approved ChatGPT app:
- Open the Porter Metrics app page in ChatGPT (or search “Porter Metrics” in the apps gallery).
- Click Connect and sign in with the same account you use in Porter.
- Authorize it and ask your first Instagram question — same live data as the MCP.
The trade-off to know: the marketplace app only updates after each ChatGPT review cycle, while the MCP updates the moment Porter ships. If you want every new tool and data source immediately, use the MCP; if you want the one-click install and don’t mind waiting for new features, the marketplace app is the shortest path — including write actions through your connected Porter account.
Via Instagram’s direct API
If you’re building a product around Instagram — or you’re a developer who’d rather own every layer of the integration — the most direct path is talking to Meta’s Graph API yourself, or — where it exists — Instagram’s own official MCP. Meta does not offer an official first-party MCP for Instagram organic data (posts, profiles, reels, reach, engagement). Meta’s only official MCP is the Meta Ads MCP (mcp.facebook.com/ads), which is strictly limited to ad campaign management and does not cover organic Instagram content or analytics. Whichever route you pick, you still follow Meta’s rate limits & quotas. Either way you skip Porter and call Meta from your own code, from Codex, or from Instagram’s own connector.
The trade-off to know. Going direct gives you maximum control and the freshest possible data — every endpoint, every parameter, no abstraction layer in between. But you’re now responsible for OAuth flows, refresh tokens, rate limits, pagination, schema changes, and error retries. And critically, you only get one source. The moment you also want Google Ads, GA4 or Shopify in the same conversation, you’re back to building (or stitching together) more integrations.
When this makes sense: engineering teams that need a single source with full control, products that ship Instagram data as a feature (where you own the integration anyway), or one-off scripts where you don’t mind writing the auth and pagination code yourself. For marketers who want to ask questions in plain English and blend Instagram with the rest of their stack in a single conversation, the Porter MCP path is dramatically less work.
Via Google Sheets (live Sheet or manual CSV)
If your team already lives in Google Sheets — or you want a paper trail before ChatGPT touches anything — feed Instagram into a Sheet, then let ChatGPT read the Sheet. You can automate the Instagram → Sheets pipeline with Porter so it refreshes daily, or do one-off CSV exports from Instagram Insights for static analysis.
The trade-off to know. With the MCP path, ChatGPT calls Meta’s API directly and Meta does the filtering and aggregation on its side — clean and deterministic. With the Sheets path, ChatGPT aggregates inside the Sheet itself, which can introduce hallucinations on totals, averages, and joins when you have thousands of rows. The upside is speed: for very large date ranges or historical analysis, a pre-built Sheet is dramatically faster than live API calls.
When this makes sense: finance teams that want to review numbers before ChatGPT acts on them, agencies already delivering client reports in Sheets, historical analysis across years of data, or any case where you care more about speed than real-time freshness.
Via Google BigQuery (for scale)
This is the path most people overlook — and it’s the one that saves you when your Instagram account gets serious. A single large follower base or an agency managing 10+ accounts will hit API rate limits and latency problems querying ChatGPT directly. ChatGPT will literally tell you it’s taking too long or timing out on big pulls.
BigQuery fixes that. You load Instagram data into BigQuery tables on a schedule, then connect BigQuery to ChatGPT — either through a BigQuery MCP or via Codex with SQL queries. Instead of asking ChatGPT to pull raw Instagram data, you let BigQuery aggregate into small, optimized tables, and ChatGPT only queries the summarized output. Scale problem solved.
When this makes sense: enterprise accounts with millions of impressions, agencies running multi-account analysis across 10+ clients, or any team already using BigQuery as a data warehouse. Porter loads Instagram (and 25+ other sources) directly into BigQuery so you don’t have to build your own ETL.
Read the full BigQuery tutorial →
Connecting Instagram to Codex
Most marketers lump ChatGPT and Codex together and miss the biggest advantage of the entire MCP ecosystem. They’re not the same tool — and the difference matters enormously once you start working with Instagram data seriously.
ChatGPT is a chat interface. You ask a question, ChatGPT pulls live data through the MCP, answers, maybe builds a quick dashboard inside the conversation. Great for one-off analysis. The problem: everything is ephemeral. Want to refresh the dashboard tomorrow? You regenerate it from scratch. Want the same report every Monday? You re-ask the question every Monday.
Codex is ChatGPT running inside your computer’s terminal. Because it has access to your filesystem, runtime, and other developer tools, it doesn’t just answer questions — it can build real software. Persistent scripts, scheduled routines, HTML apps, internal dashboards, integrations that run 24/7 without your input. Once it’s connected to Porter’s MCP for Instagram, a whole category of work becomes possible.
What Codex unlocks that ChatGPT alone cannot
This is where the MCP ecosystem pays off most. Because Codex can combine Porter’s MCP with other MCPs — Firecrawl for web scraping, Airtable for structured data, Notion for wikis, Vercel for deployment, Slack and Gmail for delivery — you’re no longer querying data. You’re building tools.
Feed Codex your Instagram targets and goals — engagement rate goals, follower growth targets, reach thresholds — and ask it to generate a custom engagement dashboard for each client. It builds the HTML, pulls live data, deploys to a URL. No Data Studio embed to break when the vendor changes pricing, no template constraints. The dashboard updates automatically because it queries Porter’s MCP on every page load.
Best for:agencies that want white-label client dashboards without Looker or Data Studio dependencies.
Combine your own Instagram performance from Porter with competitor posts and reels from public profiles scraped via Firecrawl. Codex stitches both into a weekly competitive intelligence report — your numbers next to their content angles and engagement patterns, with an LLM summary on top of what changed week over week. Runs on cron, lands in your inbox every Monday morning.
Best for:in-house teams that need market context, not just internal numbers.
Use Airtable or Notion as the schema, Porter as the data source. Codex keeps every page populated with current Reach, Engagement Rate, and Saves for every account — no stale screenshots, no copy-paste from Excel. New hires read one wiki entry and have full context on a client’s account.
Best for:agencies and ops teams onboarding analysts or rotating account managers frequently.
A Codex routine on cron pulls Instagram via Porter, evaluates thresholds — engagement rate drops below 2%, daily reach falls 2× below the trailing average — and pushes Slack or Gmail alerts the moment something crosses the line. You stop checking dashboards reactively; the dashboard checks itself and tells you when to look.
Best for:any team that’s ever discovered a problem 48 hours too late because nobody opened the report.
Bottom line: ChatGPT is for quick questions and ad-hoc dashboards. Codex is for building apps, live dashboards, alerts, and actual tools — anything you want to run on its own without re-asking. Same Porter MCP URL works in both, so you don’t pick once and lock in.
Use cases: what you can actually do once Instagram is connected to ChatGPT
Getting the connection right is half the battle. The real value shows up in what you do next. Here are the use cases Porter users build around their Instagram data — from simple Q&A to full client-facing workflows.
1. Chat and ask questions directly
The simplest use case — and still the one 80% of marketers start with. Open ChatGPT, ask a question, get an answer grounded in live data.
It’s the fastest way to replace a daily Instagram Insights check-in. But chat is table stakes — the interesting use cases come next.
2. Blend Instagram with your marketing stack data (Meta Ads, Shopify, HubSpot)
This is where a 360° view gets real. When you connect Instagram and your marketing stack (Meta Ads for paid social amplification, Shopify for e-commerce attribution, HubSpot for lead nurturing), ChatGPT can map posts and reels to actual purchases and conversions — using UTMs, campaign names, and timestamps — and give you attribution that no platform-side number can.
ChatGPT handles the UTMs and campaign names mapping and joins. You get a client-ready attribution report that no single platform can generate on its own.
3. Automated alerts and notifications on Slack or Gmail
With Codex you can turn Instagram monitoring into a routine that runs on its own. Hook Porter’s MCP (for the data) together with a Slack or Gmail MCP (for delivery), then write a Codex scheduled task that pulls performance every morning and pings you only when something actually needs attention.
No dashboards, no daily check-ins. The report comes to you — and only when it matters.
4. Client-ready presentations with live data (Gamma, HTML, PDF)
A common agency pain: you send clients a Data Studio link, Instagram Insights breaks, the client panics — and you spend an hour explaining a broken dashboard. With ChatGPT you can build the presentation itself — as a Gamma deck, a custom HTML page, or a PDF — populated with live numbers each time.
The presentation becomes a delivery artifact you send to the client, not a dashboard that depends on another tool staying up. No broken iframe, no login prompts, just the content.
Instagram fields and metrics you can query with ChatGPT
Before you start writing prompts, it helps to know what data is actually available. Porter MCP gives ChatGPT access to 104 Instagram fields and metrics across every reporting level, plus breakdowns by audience, content type, and geography. And the same MCP URL also unlocks 25+ other sources — so ChatGPT can blend Instagram with Google Ads, GA4, Shopify, HubSpot and more in a single prompt.
Prompts you can copy-paste today
Intro: organized by job: agencies managing multiple clients, brand teams and content optimization, creators and DTC brands, and cross-channel analysis.
1. Agencies managing multiple clients
For social media managers and agency analysts running organic Instagram accounts for multiple brands — weekly performance summaries, content format comparisons, and standardized report templates.
2. Brand teams and content optimization
For brand teams managing visual identity and content calendars — content format optimization, brand voice consistency checks, and audience demographic alignment.
3. Creators and DTC brands
For creators and DTC founders who post daily and need quick gut-checks on what content is working — Reels performance, optimal posting time discovery, saves and shares as purchase-intent signals.
4. Cross-channel prompts
Blend Instagram with Facebook, TikTok, LinkedIn, and other platforms in a single conversation — including B2B pipeline questions against your CRM.
How to use Codex for Instagram without getting banned
This is the message that terrifies every social media manager who has tried to scale Instagram operations through unofficial automation. The thread documents how a marketing team lost access to a business account with 50K+ followers after using third-party scraping tools that violated Meta’s Terms of Service. The real cost isn’t just the ban — it’s the lost audience, the broken client campaigns, and the weeks-long appeal process through Meta’s opaque support system. For marketers connecting Instagram to Claude, the lesson is stark: the API path you choose determines whether you’re building on sand or bedrock.
Meta’s enforcement is quota-based and pattern-based, not tool-based. Instagram doesn’t ban accounts because you used Claude or an MCP. It bans because of how the data was accessed: unauthorized scraping, exceeding rate limits, or using unapproved third-party automation tools that mimic human behavior. Read-only access through the official Instagram Graph API with proper OAuth permissions is safe. Write-at-scale, browser automation, parallel API bursts, and “public data” scraping are not. Meta’s systems detect abnormal request patterns — including velocity, IP clustering, and behavioral signatures — and respond with throttling first, then temporary restrictions, and finally permanent account suspension for repeated violations.
The two behaviors that actually get accounts banned
After reviewing official docs and community threads, two patterns come up again and again.
1. Unauthorized scraping and “public data” extraction. Using unofficial tools or browser automation to scrape Instagram profiles, posts, or follower lists without the Graph API violates Meta’s Platform Terms. . This triggers automated detection because the request patterns don’t match legitimate API signatures. The consequence ranges from IP blacklisting to permanent account suspension. What to do instead: Use only the official Instagram Graph API with a registered Meta App and approved permissions.
2. Exceeding rate limits with bursty traffic. The Instagram Graph API enforces rate limits of approximately 200 calls per user per hour . Bursting 50 requests in 10 seconds to “refresh all metrics” triggers throttling. Meta’s BUC (Business Use Case) rate limiting model allocates quota per-app, per-account, and per-user. When you exceed it, the API returns error code 4 (application-level limit), 17 (user-level limit), or 32 (page-level limit). What to do instead: Batch requests, implement exponential backoff, and stay under 80% of your allocated quota.
3. Attempting DM automation or comment botting without approved permissions. The Instagram Messaging API requires Meta app review and Business Account verification. . Many third-party tools claim “DM automation” but operate outside approved channels, using unofficial methods that Meta detects as automated behavior. The Reddit thread r/Instagram documents accounts receiving “automated behavior” warnings after using such tools. What to do instead: Only use DM features through officially approved Meta Business Partners, or avoid DM automation entirely and focus on Insights and analytics use cases.
The 5-rule safety protocol
Based on Meta’s documented rate limits and API policies and the behaviors that have actually caused account bans — not guesswork:
-
Use only official Instagram Graph API endpoints. The official API requires a Business or Creator account, a registered Meta App, and OAuth authentication. . Unofficial scraping tools violate Meta’s Platform Terms and expose accounts to permanent suspension. Porter MCP uses only official Graph API endpoints with proper OAuth flows.
-
Respect the 200 calls per user per hour rate limit. Multiple community sources (Stack Overflow, WP Social Ninja, CreatorFlow) cite 200 API calls per user per hour as the Instagram Graph API threshold. . Exceeding this triggers error code 4, 17, or 32 and temporary throttling. Porter MCP implements server-side request batching and caching to stay well under this limit.
-
Never attempt to automate DMs or comments without Meta approval. Instagram Messaging API access requires app review and Business Account verification. . Unauthorized DM automation is one of the fastest paths to an “automated behavior” ban. Porter MCP does not offer DM automation — it focuses on read-only analytics and reporting.
-
Implement exponential backoff on rate limit errors. When you receive error code 4, 17, or 32, wait before retrying. . Immediate retries compound the throttling. Porter MCP handles this automatically with built-in backoff logic.
-
Cache Insights data proactively — Stories expire in 24 hours. Instagram Stories data is only available through the Insights API during the 24-hour active window. . After expiration, historical Story metrics (exits, taps, reach) are lost unless collected in real-time. Porter MCP’s scheduled sync ensures Story data is captured before it disappears.
What Porter MCP does differently: it enforces these safeguards at the platform level. Porter uses read-only Graph API endpoints by default — no write operations that could trigger automated behavior detection. Rate limiting is handled server-side with intelligent request batching, staying well under the 200 calls/hour threshold. OAuth scopes are minimized to only what’s needed for analytics (Insights, Business Discovery), not messaging or posting. Per-account request quotas are tracked and throttled automatically. That’s the behavior Meta’s automated systems reward: predictable, low-velocity, read-only API usage through properly authenticated official channels.
Frequently asked questions
Ready to chat with your Instagram?
Open ChatGPT, add the Porter connector, and ask your first question. If you don’t have Porter yet, start a free trial and connect your Instagram account — you’ll be chatting with your campaigns in under five minutes.
rocket_launchStart free Porter trialopen_in_newOpen ChatGPT