igsight-mcp
v1.3.0MCP server to read and analyze Instagram posts and profiles for AI agents
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
health_check Health Check
Verify the MCP server is running and report the installed version.
analyze_profile Analyze Profile
Analyze a public Instagram profile: recent posts, mix, cadence, and engagement. ``handle`` may be ``@username`` or a profile URL. ``n`` is the number of recent posts to summarize (clamped to 50). ``transcribe_top_reels`` (0–3) optionally transcribes the highest-engagement reels among those posts. Besides averages, returns medians and views (``engagement``), per-format stats (``by_format``), ``outliers`` (e.g. ``low_interaction_for_reach`` for reach far above the median with few likes, often a paid boost), and ``pinned_posts`` (excluded from cadence). Read ``coverage`` first: if the logged-…
| Parameter | Type | Description |
|---|---|---|
handle * | string | |
n | integer | |
transcribe_top_reels | integer |
check_auth Check Auth
Report cookie, ffmpeg, transcription, cache, and rate-limit setup. Default is local-only (no Instagram HTTP). Pass ``online=True`` for a single live probe with a ~10s timeout.
| Parameter | Type | Description |
|---|---|---|
online | boolean |
get_post Get Post
Fetch one Instagram post (photo, carousel, feed video, or reel). Returns structured metadata (likes, comments, views when the source has them, slides for carousels) plus JPEG ``ImageContent`` blocks for images and sampled video frames. ``media`` controls images: ``"all"`` (default), ``"first"`` (cover only), or ``"none"`` (metadata only; no downloads unless ``transcribe`` needs the audio). ``max_frames=0`` skips video frames. For metrics on many posts prefer ``get_posts``. Video/reel items may include a transcript when transcription is configured. Set ``ocr`` to extract on-screen text when th…
| Parameter | Type | Description |
|---|---|---|
url * | string | |
max_frames | integer | |
media | string | |
ocr | boolean | |
transcribe | boolean |
get_posts Get Posts
Fetch metrics for up to 10 Instagram posts/reels in one call. Same per-post fields as ``get_post`` (likes, comments_count, views, slides, caption, timestamp, author), returned as ``posts`` with per-URL ``errors``. Defaults to ``media="none"`` and no transcription so no media is downloaded; pass ``media="first"`` for one cover image per post. Requests go through the shared rate limiter (~3–5 s apart). On the first rate-limit error the batch stops and lists the URLs it did not request in ``skipped``.
| Parameter | Type | Description |
|---|---|---|
urls * | array | |
max_frames | integer | |
media | string | |
transcribe | boolean |
get_comments Get Comments
Read top-level comments on an Instagram post, reel, or IGTV item. ``url`` may be a post/reel URL or shortcode. ``limit`` is clamped to 1–200. Requires ``IGSIGHT_COOKIES_FILE`` (logged-in session cookies).
| Parameter | Type | Description |
|---|---|---|
url * | string | |
limit | integer |
download_media Download Media
Download Instagram post media to the local cache directory. Returns absolute ``local_paths``, content ``kind``, and any ``warnings``. When ``audio_only`` is true, extracts a single MP3 from video or reel posts.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
audio_only | boolean |
self_test Self Test
Run a scripted acceptance walk: health_check, check_auth, analyze_profile, get_post, get_comments, and download_media (audio-only on a reel when available). Uses the built-in Instagram rate limiter. Expect about **5 Instagram HTTP requests** when network steps run (profile grid, post fetch, comments, media). Set ``skip_network`` to run only local diagnostics. Set ``skip_cookie_steps`` to skip ``get_comments`` (requires ``IGSIGHT_COOKIES_FILE``). Set ``skip_download`` to skip the media download step. Never returns cookie contents or API keys.
| Parameter | Type | Description |
|---|---|---|
profile | string | |
skip_cookie_steps | boolean | |
skip_download | boolean | |
skip_network | boolean | |
step_timeout_seconds | number |
get_stories Get Stories
Fetch a profile's active Instagram story items. Requires ``IGSIGHT_COOKIES_FILE``. Each item matches ``get_post`` output (metadata, JPEG ``ImageContent``, optional transcript on videos). ``limit`` is clamped to 1–50.
| Parameter | Type | Description |
|---|---|---|
handle * | string | |
limit | integer |
get_highlights Get Highlights
Fetch a profile's Instagram highlight reels. Requires ``IGSIGHT_COOKIES_FILE``. Returns ``{id, title, cover, items}`` per highlight; each item matches ``get_post`` output. Caps are enforced with warnings when clamped.
| Parameter | Type | Description |
|---|---|---|
handle * | string | |
items_per_highlight | integer | |
max_highlights | integer |
compare_profiles Compare Profiles
Compare 2–5 Instagram profiles on cadence, mix, engagement, and themes. Each handle may be ``@username`` or a profile URL. ``n`` is the number of recent posts analyzed per profile (clamped to 50). Profiles are fetched sequentially through the shared rate limiter.
| Parameter | Type | Description |
|---|---|---|
handles * | array | |
n | integer |