Skip to main content
MCP server CX Codex

HasData Instagram — Claude Code MCP server: how to install

A hosted MCP server that retrieves public Instagram profiles, feeds, and comments without an account login. Built for competitive analysis and content auditing.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add instagram -e HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/instagram-mcp
Open on GitHub

What HasData Instagram does

The server queries public Instagram endpoints and returns structured JSON to the client. It handles profile lookups, feed walking, and comment extraction on individual posts or reels. Captions arrive with hashtags and mentioned handles pre-parsed into distinct arrays, saving your agent from parsing text with regex.

Setup requires no social media account credentials. The server runs as a hosted endpoint over streamable HTTP at https://mcp.hasdata.com/mcp?apis=instagram or locally via the @hasdata/instagram-mcp launcher package. A single profile request bundles the twelve latest posts right away, saving round trips during account reviews.

Usage requires a HASDATA_API_KEY. The free tier includes 1,000 monthly credits, which equals 100 API queries. Without a valid HasData API key, calls fail immediately.

What it helps with

  • fetch public profile metadata and bio links
  • extract recent posts with pre-parsed hashtags and mentions
  • retrieve comments and engagement counts from a specific post URL
  • compare follower counts across multiple public accounts

Example prompts for the agent

  • Fetch the profile for @nasa and summarize the bio links.
  • Review the last twelve posts from @natgeo and list every mentioned account.
  • Retrieve the comments and like count for this post URL.

How to install HasData Instagram

1Platform CLI

claude mcp add instagram -e HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/instagram-mcp

Replace <…> with your own values

2Platform CLI: remote server

claude mcp add --transport http hasdata-instagram 'https://mcp.hasdata.com/mcp?apis=instagram'

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about HasData Instagram

How to install HasData Instagram in Claude Code?

Run claude mcp add instagram -e HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/instagram-mcp.

What does HasData Instagram do?

It queries public Instagram data, returning structured JSON for account profiles, post feeds, and comments.

Do I need an Instagram account to use this server?

No personal account is needed. The server reads public endpoints strictly via HasData API without login credentials.

Similar MCP servers

All MCP servers for Browser and scraping →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor