Skip to content

Connect Instagram to Claude Code

  • Can this run every Monday?

Use Claude Code to find when your audience is most active, and save the Instagram data straight into your project. Lemonado connects them in about 1 minute, no API keys needed.

MCPhttps://mcp.lemonado.io/mcp

Why connect Instagram to Claude Code?

Claude Code works where your tracking code and reporting scripts live, so it can check numbers against code and save results as files you can rerun. Connected through Lemonado, it reads your Instagram reels, saves, reach and follows, so it can find when your audience is most active with today's numbers.

  • All your Instagram data

    Posts and reels, ready to ask about.

  • Always today's numbers

    Profile visits and follows, synced from Instagram automatically, so answers use today's numbers.

  • Connect all your tools

    Questions like "Do organic winners work as ads?" use Instagram and Meta Ads, TikTok Ads at once.

How to connect Instagram to Claude Code

Before you start

  • A Instagram organic account you can sign in to
  • Claude Code installed
  • A Lemonado account (the free trial works)
  1. 1

    Connect Instagram organic in Lemonado

    In Lemonado, open Connectors, find Instagram organic and sign in. Connect an Instagram professional (business or creator) account. Personal accounts have no insights.

  2. 2

    Turn on external access

    In the company's settings, open External tools, turn the connection on, choose which sources it can reach and copy the server URL.

    text
    https://mcp.lemonado.io/mcp
  3. 3

    Add the server

    With Claude Code installed, run one of these in your terminal. Most people want the first: it adds Lemonado to every project.

    bash
    # every project (recommended)
    claude mcp add --scope user --transport http lemonado https://mcp.lemonado.io/mcp
    
    # this project only
    claude mcp add --transport http lemonado https://mcp.lemonado.io/mcp
  4. 4

    Sign in

    Start Claude Code with claude and run /mcp. Choose Lemonado and finish the sign-in in your browser.

    bash
    claude
    /mcp
  5. 5

    Ask Claude Code about Instagram

    Ask a question about the accounts your connection can reach. Claude Code can also write the numbers into a file or a script for you. Try "Write a prompt file that pulls last week's Instagram numbers and saves reports/instagram-weekly.md. I'll run it with claude -p." Or ask: "When should posts go out?" or "How did each post do?"

Good to know

  • The command uses Claude Code's default local scope. Use --scope user to share the server across projects.

What can Claude Code do with Instagram?

Claude Code queries your Instagram data while it works in your repo: it saves data as files, checks tracking against code and runs headless with claude -p.

Claude Code logoClaude Code

Write a prompt file that pulls last week's Instagram numbers and saves reports/instagram-weekly.md. I'll run it with claude -p.

Saved prompts/instagram-weekly.md. Run claude -p with it from cron and Claude Code writes a fresh report with that week's numbers each time.

Source: Instagram organic + your code

Reading this as an AI agent?

Everything an agent needs to set this up, in plain text. Paste this page's link into Claude Code and ask it to connect you, or copy the block.

For agents · markdown
# Connect Instagram organic to Claude Code (Lemonado MCP)

- Server URL: https://mcp.lemonado.io/mcp
- Transport: Streamable HTTP
- Auth: OAuth; the user signs in to Lemonado in the browser. No API keys.
- In Lemonado: connect the Instagram professional account. Connect an Instagram professional (business or creator) account. Personal accounts have no insights.
- In Claude Code: Terminal: claude mcp add

```bash
# every project (recommended)
claude mcp add --scope user --transport http lemonado https://mcp.lemonado.io/mcp

# this project only
claude mcp add --transport http lemonado https://mcp.lemonado.io/mcp
```

If you are Claude Code, run the setup yourself:

Add the Lemonado MCP server for all my projects by running: claude mcp add --scope user --transport http lemonado https://mcp.lemonado.io/mcp
Then tell me to run /mcp and sign in to Lemonado. Once I've signed in, list the Instagram organic accounts Lemonado can reach.

First question to try: "Write a prompt file that pulls last week's Instagram numbers and saves reports/instagram-weekly.md. I'll run it with claude -p."

More: https://lemonado.io/integrations/instagram-organic · https://lemonado.io/llms.txt
FAQ

Frequently Asked Questions

Yes, through Lemonado. Connect your Instagram professional account in Lemonado, add Lemonado with one claude mcp add command, and Claude Code can find when your audience is most active with your live data.

Run claude mcp list to see whether lemonado is connected. If it needs authentication, run /mcp inside Claude Code and sign in again. In Lemonado, check that Instagram organic is connected and External tools is on for the company. If insights are missing, check the account is a professional account. Instagram only keeps insights for professional accounts.

Yes, if both are connected in Lemonado. One connection reaches every source you allow, so you can ask things like "Do our best organic reels also perform as Meta ads?"

MCP is included in Lemonado's paid plans and in the free trial, so you can try it before you pay.

See plans and pricing

Still have a question?

Shoot us an email at hello@lemonado.io.

Try for free

Stop fighting with data. Start feeding your AI.

Connect your data to AI and free your team from reporting and busywork.

Try Lemonado free