New MCP server: let ChatGPTClaudeClaude CodeCodexCursorOpenClaw or any AI agent schedule your posts See how it works

Claude Code + Instagram

Post to Instagram from Claude Code

Through iHatePosting, Claude Code can put pictures and carousels on your feed, share stories and reels, and add collaborators to a post. Register iHatePosting in Claude Code with a single terminal command and a browser sign-in, then ask it for the post you want.

Setup takes about a minute. A caption can hold up to 2,200 characters.

InstagramClaude Code15 networks

Posting to Instagram from Claude Code

Add iHatePosting to Claude Code once, connect Instagram, and then describe the post. Setup takes about a minute.

Step 1

Add iHatePosting to Claude Code once

Register iHatePosting in Claude Code with a single terminal command and a browser sign-in. Then connect Instagram in iHatePosting if you have not already.

terminal
claude mcp add --transport http ihateposting https://app.ihateposting.com/mcp/oauth
Step 2

Ask for the Instagram post

Describe the post in plain language. Claude Code writes it, applies the settings and schedules it.

Claude Code
> Share menu.jpg on Instagram tomorrow at 11:00 with a short caption that introduces our autumn dishes. Claude Code: Done. Scheduled on Instagram.

What Claude Code can do on Instagram

On Instagram, Claude Code can put pictures and carousels on your feed, share stories and reels, and add collaborators to a post.

Feed posts

Publish a picture or a carousel with a caption.

Stories

Publish stories: each picture or video you attach becomes a story of its own.

Reels

Publish a video as a reel, including a trial reel that is shown to non-followers first.

Collaborators

Invite other accounts as collaborators on a post.

Scheduling

Choose the time, and iHatePosting publishes it for you.

How Claude Code gets a post onto Instagram

You say what you want and Claude Code makes the calls. A typical conversation goes like this.

Find your Instagram channel

Which Instagram accounts do I have in iHatePosting?

What happens

  • Claude Code lists your channels and finds Instagram
  • It also reads the channel's rules and settings

Compose your content

Post sale.png as an Instagram story today at 17:00.

What happens

  • Claude Code drafts the text for Instagram
  • It uploads any media you mention

Schedule and publish

Yes, schedule it for tomorrow at 9:00.

What happens

  • Claude Code schedules the post in iHatePosting
  • iHatePosting publishes it to Instagram at that time

Instagram settings reference

Say the option in your own words and Claude Code fills in the matching field. This is every Instagram setting it can use.

FieldTypeRequiredDescription
post_typestringYespost or story
is_trial_reelbooleanNoPublish the reel as a trial reel
graduation_strategystringNoHow a trial reel graduates to followers: MANUAL or SS_PERFORMANCE
collaboratorsarrayNoAccounts to invite as collaborators, each as a label

Common configurations

Each case below is a request Claude Code understands, followed by the Instagram options it sets.

A story

Post it as a story

  • Applies: post_type: story

A feed post

Post it to my feed

  • Applies: post_type: post

A trial reel

Publish the video as a trial reel that I will graduate by hand

  • Applies: is_trial_reel: true, graduation_strategy: MANUAL

Instagram requests to try in Claude Code

A feed post

Share menu.jpg on Instagram tomorrow at 11:00 with a short caption that introduces our autumn dishes.

A story

Post sale.png as an Instagram story today at 17:00.

A reel

Publish demo.mp4 as an Instagram reel on Friday at 18:00 and invite @studio as a collaborator.

Instagram limits and gotchas to know

A few of Instagram's rules shape how Claude Code writes your request, so it helps to know them.

  • A caption can hold up to 2,200 characters.
  • Instagram takes no post without a picture or a video.
  • Each file of a story becomes its own story, and a story takes no collaborators.
  • A trial reel is a single video, and Instagram offers trial reels only to eligible accounts.
  • Alt text on a picture can hold up to 1,000 characters.
  • post_type is required on every post; the agent uses post unless you ask for a story.

What is Claude Code?

Claude Code is Anthropic's agentic tool for software work. It lives in a terminal, with extensions for popular editors, understands the code around it, runs commands and can call MCP tools such as iHatePosting.

That makes it a natural place to announce a release: it can read the changelog, write the copy and schedule it in iHatePosting without you leaving the project.

How iHatePosting works with Claude Code

Once connected, iHatePosting hands Claude Code its tools: your channels, posts, media and each channel's settings (14 tools in all). Claude Code calls them while you describe what you want.

  • iHatePosting MCP server (sign in): claude mcp add --transport http ihateposting https://app.ihateposting.com/mcp/oauth
  • iHatePosting plugin: /plugin marketplace add iHatePostingOrg/iHatePosting-Agent
  • iHatePosting skill (command line): npx skills add iHatePostingOrg/iHatePosting-Agent
Set up Claude Code
# iHatePosting MCP server (sign in) claude mcp add --transport http ihateposting https://app.ihateposting.com/mcp/oauth

Instagram and the other platforms Claude Code reaches

Ask for Instagram and other channels in a single message; every channel still applies its own settings.

Frequently asked questions

Start free for 30 days

Register iHatePosting in Claude Code with a single terminal command and a browser sign-in, connect Instagram in iHatePosting, then ask Claude Code for the post in plain language. It schedules the post and iHatePosting publishes it at the time you set.

Hand your Instagram posts to Claude Code

Start free for 30 days.