Instagram MCP server
{
"mcpServers": {
"hasdata-instagram": {
"command": "npx",
"args": [
"-y",
"@hasdata/instagram-mcp@latest"
],
"env": {
"HASDATA_API_KEY": "<hasdata_api_key>",
"YOUR_KEY": "<your_key>"
}
}
}
}{
"mcpServers": {
"hasdata-instagram": {
"command": "npx",
"args": [
"-y",
"@hasdata/instagram-mcp@latest"
],
"env": {
"HASDATA_API_KEY": "<hasdata_api_key>",
"YOUR_KEY": "<your_key>"
}
}
}
}{
"mcpServers": {
"hasdata-instagram": {
"command": "npx",
"args": [
"-y",
"@hasdata/instagram-mcp@latest"
],
"env": {
"HASDATA_API_KEY": "<hasdata_api_key>",
"YOUR_KEY": "<your_key>"
}
}
}
}{
"servers": {
"hasdata-instagram": {
"command": "npx",
"args": [
"-y",
"@hasdata/instagram-mcp@latest"
],
"env": {
"HASDATA_API_KEY": "${input:hasdata_api_key}",
"YOUR_KEY": "${input:your_key}"
}
}
},
"inputs": [
{
"id": "hasdata_api_key",
"type": "promptString",
"description": "Hasdata api key",
"password": true
},
{
"id": "your_key",
"type": "promptString",
"description": "Your key",
"password": true
}
]
}{
"mcpServers": {
"hasdata-instagram": {
"command": "npx",
"args": [
"-y",
"@hasdata/instagram-mcp@latest"
],
"env": {
"HASDATA_API_KEY": "<hasdata_api_key>",
"YOUR_KEY": "<your_key>"
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y @hasdata/instagram-mcpversion 1.0.7
What it does
This server provides read-only access to public Instagram profile data and post feeds. Developers can look up public profiles by handle and retrieve structured JSON data about posts, followers, and account details without requiring an Instagram account or authentication.
- Retrieve profile information like follower count, bio links, and business status for public Instagram accounts
- Fetch and analyze posts from a public Instagram feed to extract hashtags, mentions, and engagement metrics
- Compare multiple public Instagram accounts side-by-side on metrics like follower count and post history
Tools this server exposes
| Tool | Does |
|---|---|
| instagram_get_profile | Look up a public Instagram profile by handle and return account information including follower count, bio, links, and recent posts as structured JSON |
| instagram_get_posts | Retrieve paginated posts from a public Instagram profile feed with parsed hashtags and mentions |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.