Package Exports
- @pullapi/instagram-scraper-mcp
- @pullapi/instagram-scraper-mcp/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pullapi/instagram-scraper-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.
Usage with Claude Desktop
Add to your claude_desktop_config.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):
{
"mcpServers": {
"instagram": {
"command": "npx",
"args": ["-y", "@pullapi/instagram-scraper-mcp"],
"env": {
"RAPIDAPI_KEY": "your-rapidapi-key"
}
}
}
}License
MIT