Connect Claude to Your Instagram Analytics with MCP
This guide connects Claude to your Instagram results through the Storylink MCP server. After the setup, you can ask Claude about the views, reach and replies of your stories, posts and reels, on all your accounts.
What the MCP server does
The Model Context Protocol (MCP) is an open standard that lets an AI assistant use tools from other apps. Storylink runs an MCP server at https://storylink.pro/mcp. It gives Claude tools that read your Storylink data, for example:
get_summary: the views, reach, engagement, items published and followers of a period, compared with the period before.top_content: the stories, posts and reels that did best or worst, by views, reach or engagement.list_storiesandget_story_insights: your stories and the numbers of each one.list_workspacesandlist_connections: your workspaces and Instagram accounts.
Claude selects the tools for each question. You ask in plain language.
What you need
- A Storylink account with at least one connected Instagram account. Every plan works. On Free, Claude sees the current month. On Pro and Business, Claude sees your full history.
- An API key. On the Developers page in the app, create a key. It starts with
sl_live_. A read-only key is enough to ask about your results. - Claude Code or Claude Desktop. Other MCP clients, such as Cursor, also work.
The key gives access to your Storylink data. Do not share it, and do not put it in a file that you commit.
Connect Claude Code
Run this command in a terminal. Replace the key with your own key:
claude mcp add --transport http storylink https://storylink.pro/mcp --header "Authorization: Bearer sl_live_…"Start Claude Code and type /mcp. The list must show storylink as connected.
Connect Claude Desktop
Claude Desktop starts local MCP servers. The storylink-mcp package is a small local server that connects Claude Desktop to the Storylink MCP server. It needs Node.js.
- In Claude Desktop, open Settings, then Developer, then Edit Config. This opens
claude_desktop_config.json. - Add the Storylink server, with your own key:
{
"mcpServers": {
"storylink": {
"command": "npx",
"args": ["-y", "storylink-mcp"],
"env": { "STORYLINK_API_KEY": "sl_live_…" }
}
}
}- Save the file and restart Claude Desktop.
Put the key in env, not in args. Some clients do not handle spaces in args correctly.
What to ask
Ask Claude the way you would ask a colleague. For example:
- “How did my stories do last week, compared to the week before?”
- “Which 5 stories got the most replies this month?”
- “Why did my story views drop on Tuesday?”
- “Compare the reach of my reels and my posts in October.”
Claude shows the tools that it uses. If an answer looks wrong, ask Claude which numbers it used. For what each metric means, read Instagram Story insights explained.
Ready-made reports with skills
The storylink-skills plugin adds three skills to Claude Code. Each skill tells Claude which tools to use, and in which order:
storylink-reportwrites a weekly or monthly report for each workspace.storylink-investigatefinds when views dropped, and names the probable cause.storylink-whats-workingcompares your best and worst items of the last 30 days.
Set STORYLINK_API_KEY in the shell where you start Claude Code. Then install the plugin in Claude Code:
/plugin marketplace add storylinkpro/storylink-skills
/plugin install storylink@storylinkproThe plugin also adds the Storylink MCP server, so you do not need the command from the Claude Code step.
Let Claude schedule content
A read-only key gives Claude 15 tools that read data. A Business key with Allow creating and scheduling content gives Claude 28 tools. The extra tools upload media, and schedule, move, cancel and retry stories, posts and reels.
Use a write key only if you want Claude to change your calendar. You can limit a key to one workspace. Each key can make 60 requests a minute, and the MCP server uses the same limit.
How Storylink does it
Storylink schedules your stories, posts and reels, and reads their insights while they are live. The MCP server gives Claude the same numbers that you see in the app. For the REST API, read Schedule Instagram Stories with an API and the Developers page.
To see the app with sample data and no sign-up, open the live demo.
Put this into practice with Storylink
Free forever to start. No card required.