npm package: @pullapi/instagram-scraper-mcp
Description: Instagram MCP server — profiles, posts, reels, hashtags, comments & search. For Claude, Cursor & AI agents.
Latest version: 1.0.0

# Instagram Scraper MCP Server

An MCP server that provides real-time Instagram data — user profiles, posts, reels, hashtag exploration, comments, and search — for use with Claude, Cursor, and other MCP-compatible AI tools.

## Features

- **Get Profile** — Get an Instagram user's profile including bio, follower counts, and profile picture
- **Get Posts** — Get recent posts from an Instagram user's profile
- **Get Reels** — Get recent reels from an Instagram user's profile
- **Get Post** — Get details of a single Instagram post including likes, comments, and media
- **Get Hashtag** — Get top and recent posts for an Instagram hashtag
- **Get Comments** — Get comments on an Instagram post
- **Search** — Search Instagram for users and hashtags

## Tools

### get_profile

Get an Instagram user's profile including bio, follower counts, and profile picture

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `username` | string | Yes | Instagram username (without @) |

### get_posts

Get recent posts from an Instagram user's profile

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `username` | string | Yes | Instagram username |
| `limit` | number | No | Number of posts to return (default: 12) |
| `cursor` | string | No | Pagination cursor from previous response |

### get_reels

Get recent reels from an Instagram user's profile

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `username` | string | Yes | Instagram username |
| `limit` | number | No | Number of reels to return (default: 12) |
| `cursor` | string | No | Pagination cursor from previous response |

### get_post

Get details of a single Instagram post including likes, comments, and media

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `shortcode` | string | Yes | Instagram post shortcode (from URL) |

### get_hashtag

Get top and recent posts for an Instagram hashtag

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `tag` | string | Yes | Hashtag name (without #) |

### get_comments

Get comments on an Instagram post

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `shortcode` | string | Yes | Instagram post shortcode |
| `limit` | number | No | Number of comments to return (default: 20) |
| `cursor` | string | No | Pagination cursor from previous response |

### search

Search Instagram for users and hashtags

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `query` | string | Yes | Search query |

## Configuration

Get your API key from [RapidAPI](https://rapidapi.com/pullapi/api).

## Usage with Claude Desktop

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "instagram": {
      "command": "npx",
      "args": ["-y", "@pullapi/instagram-scraper-mcp"],
      "env": {
        "RAPIDAPI_KEY": "your-rapidapi-key"
      }
    }
  }
}
```

## Usage with Cursor

Add to your Cursor MCP settings (`.cursor/mcp.json`):

```json
{
  "mcpServers": {
    "instagram": {
      "command": "npx",
      "args": ["-y", "@pullapi/instagram-scraper-mcp"],
      "env": {
        "RAPIDAPI_KEY": "your-rapidapi-key"
      }
    }
  }
}
```

## License

MIT