Updated 23 October 2026
Instagram connector for Claude Code

Post to Instagram from Claude Code

Point Claude Code at an image or video in your project. It writes the caption in the voice of your recent posts, attaches the file, and schedules or publishes to your Business or Creator account once you approve.

Free for 2 social accounts. No card, no API key.

claude.ai

Write a caption for an Instagram carousel of our autumn menu, in our usual voice.

Read your last 15 Instagram posts

Here's a draft in the tone of your recent posts. It goes out only once you confirm.

Draft · @fennelstreetkitchen

Our autumn menu is in. Three new dishes, one returning favourite, and the pumpkin soup we have been testing since August. Tables for Friday are open now.

Saved as a draft. Instagram needs the photos before it can go out, so add them in Antwork.

Add the photos in AntworkOpen in Antwork
In the chat

Then ask for anything

Ask Claude Code things like these. It shows you the post before anything is scheduled or published.

1 · Attach and ask

“Turn these three photos into a carousel for our autumn menu, in our usual voice.”

Attach the photos or video in the chat. If Claude Code can't upload them, the draft links to Antwork with the media picker open.

2 · It sounds like you

“Make it shorter and drop the hashtags.”

Claude Code reads the last 15 posts on the account first, so the draft matches your tone, length and hashtags.

3 · You pick the time

“Schedule this Reel for Friday at 6pm.”

ScheduledFriday · 18:00Instagram

Publish now or give a day and time. It sits in Antwork's calendar, where you can move or cancel it.

4 · Ask how it did

“Which of my last ten posts did best, and why?”

Antwork pulls each post's numbers from Instagram every few hours.

5 · Fix

“My post failed to publish. Find out why and retry it.”

Failed · Instagram timed outRetried and published

A failed post comes back with the reason. Retrying it is one message.

The short answer

Can Claude Code post to Instagram?

Yes, through a connector.

Claude Code can post to Instagram through Antwork, a hosted Model Context Protocol (MCP) server. Run claude mcp add antwork --transport http https://api.antwork.io/mcp, type /mcp in Claude Code to approve Antwork in the browser, then ask Claude Code to connect Instagram and approve it once on Instagram's own login screen with a professional account (Business or Creator). From then on Claude Code captions, schedules and publishes posts, carousels and Reels, attaching images or video straight from files on your disk. Antwork uses Instagram's official publishing API, so there is no Meta developer app to create, no access token to generate and no public URL to host your media on.

Instagram MCP servers compared: which publish through Instagram's official API, and which scrape or automate DMs
  • Business or Creator accountInstagram lets apps publish only to professional accounts. Switching is free.
  • Posts, carousels and ReelsPhotos and video, mixed in one carousel if you like.
  • You approve every postDrafting and publishing are separate steps. Nothing goes out until you say so.
Set it up

Connect Claude Code to Instagram in 3 steps

A few minutes, in Claude Code on the web or the desktop app. Needs Claude Pro, Max, Team, or an API key.

  1. 1Step 1 of 3
    Authorize with /mcpType /mcp inside Claude Code and pick antwork. It opens an OAuth consent screen in your browser; approving it makes the connection live and the token refreshes itself.
  2. 2Step 2 of 3
    Connect the social accountAsk Claude Code to connect your account and it returns a connect link per platform. Authorize once and Antwork holds and refreshes that token for you.
  3. 3Step 3 of 3
    Add the skill (optional)The open-source Antwork skill teaches the agent the right tool order — pull context, draft, then schedule or publish as a second explicit step.“Write an Instagram caption for this photo in my usual voice.”
Before you post

What Instagram accepts

Claude Code checks these before it drafts, so a post does not fail at publish time. They come from the same rules Antwork's publisher enforces.

Account
Business or Creator account
Instagram needs a professional account (Business or Creator). Personal accounts cannot connect, but switching is free: in the Instagram app, Settings, then Account type and tools, then Switch to professional account, then Creator.
Images
.jpg, .jpeg, up to 8 MB
up to 1440x1440 · 4:5 / 1:1 / 1.91:1 · up to 10 per post
Video
.mp4, up to 300 MB
up to 1080x1920 · 15 min max · 9:16 / 1:1 / 4:5 · up to 10 per post
Per post
Up to 10 items
Images and video can share one post.
Text
Up to 2,200 characters
Hashtags and links count toward the limit.
Your options

Three ways to get Claude Code posting to Instagram

Each works. They differ in where the work happens and how much you set up.

Antwork connector
Where you ask
In the Claude Code chat
Setup
Paste one URL, sign in
Writes in your voice
Reads your recent posts
Schedules and publishes
Yes, from the chat
Shows the post first
Every time
Code needed
None
An automation tool
Where you ask
In a workflow you build
Setup
Design a scenario per task
Writes in your voice
Only what you wire in
Schedules and publishes
On the workflow's trigger
Shows the post first
Depends on the workflow
Code needed
None
Build your own
Where you ask
In your own code
Setup
Developer app, API access, hosting
Writes in your voice
Only what you build
Schedules and publishes
If you build it
Shows the post first
Depends on your build
Code needed
Yes

An automation tool is the better fit when a post should be triggered by something outside the chat, like a new row in a spreadsheet. If you want to ask Claude Code and see the post, the connector is the shortest path.

What it does

What Claude Code can and cannot do on Instagram

Can
  • Draft posts in the chat and show them to you before anything goes out
  • Write in the voice of your recent posts on that account
  • Publish now or schedule, and move or cancel what is scheduled
  • Read how your own posts performed
  • Draft the same idea for each of your other connected accounts
Cannot
  • Post to personal Instagram accounts (Instagram does not allow any app to)
  • Read or send direct messages
  • Browse, follow, like or comment on other accounts
  • Make or edit the photo or video for you
  • Post anything you have not approved
Questions

Claude Code and Instagram, answered

Can Claude Code connect to Instagram?
Yes. Antwork is the connector: you add one URL to Claude Code, approve Instagram once over OAuth, and from then on Claude Code drafts, schedules and publishes to your account from the chat itself. No API key, no browser extension, no copying between tabs.
Is there a native Claude Code connector for Instagram?
Claude Code cannot publish to Instagram by itself, and neither Anthropic nor Meta ships an Instagram MCP server for it. Doing it yourself means a Meta developer app, an access token you refresh, and hosting every image at a public URL before Instagram will take it. Antwork does that part: one command, one approval on Instagram's screen, and the files you point Claude Code at go up as they are.
How do I connect Instagram to Claude Code?
Run claude mcp add antwork --transport http https://api.antwork.io/mcp, start Claude Code and type /mcp, then pick antwork and approve it in the browser. Ask Claude Code to connect Instagram: it returns a link to Instagram's own login screen, where you approve your Business or Creator account. Or install the Antwork plugin with /plugin marketplace add polynode-co/antwork-skills and /plugin install antwork-skills@antwork, which connects the server and adds the posting skills in one step.
Can Claude Code post an image from my project folder?
Yes. Name the file (for example ./assets/launch.jpg) and Claude Code uploads it to Antwork and attaches it to the draft; videos work the same way for Reels. You do not need to host the file anywhere first. Claude Code shows you the caption and the media before anything is published.
Can I connect a personal Instagram account?
No. Instagram only lets third-party apps publish to professional accounts, Business or Creator. Switching an account to Creator is free and done in Instagram's own settings, and it keeps your followers and posts.
Do I need a Meta developer app or an access token?
No. Antwork is the app: you approve it on Instagram's login screen and it publishes with the permissions you granted. There is no Meta app review, client secret or long-lived token for you to create or refresh.
How is this different from Zapier, n8n or an integration toolkit?
What drives the action. In a workflow builder, Claude Code is a node inside an automation you maintain. With Antwork, drafting, scheduling and publishing to Instagram are tools Claude Code operates directly in the conversation, and the platform's limits are enforced server-side rather than being whatever the flow happens to carry.
Do I need an API key to connect Claude Code?
No. Antwork connects over OAuth — you approve a consent screen in the browser and you are done. There is no key to generate or paste into a URL, which is how most social MCP servers handle it.
Do I need a paid account?
No. Your first two connected accounts are free forever, with unlimited workspaces and no monthly post cap, and there is no plan gate on MCP access.
Will Claude Code post without showing me first?
Not unless you ask it to. Drafting and publishing are two separate steps: the agent writes, shows you the draft, and only publishes when you confirm.
Does the writing sound like AI?
Antwork hands the agent that account's recent posts, along with how each performed, and the agent writes to match them. On Instagram that includes writing to the length the format rewards, up to 2,200 characters.