Instagram Download MCP Server

Instagram Download MCP Server

Enables AI assistants to download Instagram content including posts, videos, reels, stories, highlights, and profile pictures using Instaloader, with optional metadata and caption extraction.

Category
Visit Server

README

ig-download-mcp

English | 繁體中文

An Instagram MCP (Model Context Protocol) server powered by Instaloader, enabling AI assistants (Claude / Claude Code / Codex) to download Instagram content.

Features

  • Download posts (images / videos / carousel)
  • Download videos (Reels / IGTV / video posts)
  • Download Stories (login required)
  • Download Highlights (login required)
  • Download profile pictures
  • Optionally save metadata (JSON) and captions (text files)
  • .env and environment variable support for credentials

Requirements

  • Python >= 3.13
  • uv

Quick Start

1) Clone

git clone https://github.com/<YOUR_ORG_OR_USER>/ig-download-mcp.git
cd ig-download-mcp

2) Install dependencies

uv venv
uv sync

3) Configure credentials (recommended)

cp .env.example .env
# Edit .env and fill in your Instagram credentials

4) Run the MCP server

uv run ig-download-mcp

MCP Configuration

Replace /path/to/ig-download-mcp with your actual installation path.

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent file for your platform:

{
  "mcpServers": {
    "ig-download-mcp": {
      "command": "uv",
      "args": ["--directory", "/path/to/ig-download-mcp", "run", "ig-download-mcp"]
    }
  }
}

Claude Code

Edit ~/.claude.json:

{
  "mcpServers": {
    "ig-download-mcp": {
      "command": "uv",
      "args": ["--directory", "/path/to/ig-download-mcp", "run", "ig-download-mcp"]
    }
  }
}

Codex (OpenAI)

Edit ~/.codex/config.toml:

[mcp_servers.ig_download_mcp]
command = "uv"
args = ["--directory", "/path/to/ig-download-mcp", "run", "ig-download-mcp"]

Available Tools

Tool Description Login Required
download_instagram_post Download posts (images/videos/carousel) Optional
download_instagram_video Download videos only Optional
download_instagram_stories Download stories Required
download_instagram_highlights Download highlights Required
download_instagram_profile_pic Download profile picture Optional

Credentials

Recommended: create .env in the project root:

cp .env.example .env
# Edit .env and fill in your Instagram credentials

Or set environment variables:

export IG_USERNAME="your_username"
export IG_PASSWORD="your_password"

Notes / Disclaimer

  • This project is not affiliated with Instagram or Meta.
  • You are responsible for complying with Instagram's Terms of Service and all applicable laws.
  • Stories / Highlights require login.
  • If 2FA / challenge flows are triggered, Instaloader may fail.
  • Instaloader includes rate limiting; avoid high-frequency downloads.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured