Skip to main content
Glama
lupikovoleg

instagram-mcp

by lupikovoleg

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HIKERAPI_KEYNoHikerAPI key for authentication
HIKERAPI_TOKENNoHikerAPI token for authentication
OPENROUTER_API_KEYNoOpenRouter API key (required for CLI but not for MCP server)
INSTAGRAM_CLI_ENV_FILENoPath to custom .env file (optional)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
server_infoA

Describe the MCP server, configured models, and main capabilities.

list_resultsA

List recent stored MCP results so a client can choose a result_id for export or follow-up.

read_resultC

Read a stored MCP result by result_id.

export_resultC

Export a stored result by result_id to CSV or JSON.

search_instagramA

Search Instagram by topic with adaptive deep pagination, optional client-supplied query_variants, media filtering, and freshness filters. If limit is omitted, the server targets up to 50 final results by default. In MCP mode this tool is deterministic and does not call OpenRouter internally.

get_profile_statsC

Get Instagram profile stats by username or profile URL.

get_reel_statsC

Get Instagram reel or post stats by media URL.

get_recent_reelsC

Get latest reels for a profile.

get_profile_reelsC

Get reels for a profile with an optional days_back filter.

get_profile_reels_pageA

Get one cursor-based page of profile reels. Use next_page_id from a previous page to continue.

get_profile_publicationsC

Get main-grid profile publications, including reels, posts, and carousels.

get_profile_publications_pageB

Get one cursor-based page of profile publications, including reels, posts, and carousels. Use next_page_id from a previous page to continue.

get_followers_pageC

Get one low-cost followers page for a profile.

get_following_pageC

Get one page of following accounts for a profile.

get_top_followersC

Get an approximate sampled ranking of the biggest followers by follower count.

search_profile_followersC

Search inside a profile's followers list by keyword.

search_profile_followingC

Search inside a profile's following list by keyword.

get_media_commentsA

Get up to 100 root comments for an Instagram reel or post URL with internal pagination.

get_media_comments_pageB

Get one paginated page of root comments for an Instagram reel or post URL.

get_comment_repliesB

Get nested replies for a specific comment on a reel or post.

get_comment_likersC

Get users who liked a specific comment.

get_media_usertagsC

Get users tagged in an Instagram reel or post.

get_media_insightC

Get deeper insight metrics for an Instagram reel or post.

get_profile_storiesC

List active stories for a profile.

get_profile_highlightsC

List highlight folders for a profile.

get_profile_pinned_publicationsC

Get pinned publications for a profile.

get_profile_tagged_publicationsC

Get publications where a profile is tagged.

get_profile_tagged_publications_pageB

Get one cursor-based page of publications where a profile is tagged.

get_media_likersC

Get a preview list of users who liked an Instagram reel or post.

get_system_balanceA

Get the current HikerAPI balance and request rate.

get_hashtag_infoC

Get metadata for an Instagram hashtag.

get_hashtag_reelsC

Get reels for an Instagram hashtag.

search_placesC

Search Instagram places by query.

get_location_recent_mediaC

Get recent media for an Instagram location id.

search_musicB

Search Instagram music/audio tracks by query.

get_track_mediaC

Get media using a specific Instagram track id.

get_profile_suggestionsC

Get suggested profiles related to a profile.

rank_media_likers_by_followersC

Build a ranking of media likers sorted by follower count.

get_last_reel_metricC

Get one metric from the latest reel of a profile.

download_media_contentC

Download a reel or post to local files.

download_media_audioB

Download the audio track from a reel or post.

download_profile_storiesC

Download active stories for a profile.

download_profile_highlightsC

Download highlights for a profile, optionally filtered by title.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lupikovoleg/instagram-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server