Instagram Engagement MCP

Integrations

  • Uses .env files for configuration of Instagram credentials and other environment variables.

  • Allows cloning the repository from GitHub as an installation option.

  • Provides tools for analyzing Instagram engagement metrics, extracting demographic insights from users and comments, comparing accounts, identifying potential leads based on engagement patterns, and generating comprehensive engagement reports for posts and accounts.

Instagram 参与度 MCP

MCP 服务器提供用于分析 Instagram 参与度指标、提取人口统计见解以及从 Instagram 帖子和帐户中识别潜在客户的工具。

特征

  • 分析帖子评论:从 Instagram 帖子评论中提取情绪、主题和潜在线索
  • 比较帐户:比较不同 Instagram 帐户的参与度指标
  • 提取人口统计数据:从参与帖子或帐户的用户那里获取人口统计见解
  • 识别线索:根据参与模式和标准寻找潜在线索
  • 生成参与度报告:创建具有可操作见解的综合报告

安装

选项 1:从 npm 安装

npm install -g instagram-engagement-mcp

选项 2:从 GitHub 克隆

git clone https://github.com/Bob-lance/instagram-engagement-mcp.git cd instagram-engagement-mcp npm install

设置

  1. .env.example文件复制到.env并添加您的 Instagram 凭据:
    cp .env.example .env
  2. 使用您的 Instagram 用户名和密码编辑.env文件

从源代码构建

如果您克隆了存储库,请构建项目:

npm run build

配置

将服务器添加到您的 MCP 设置文件:

{ "mcpServers": { "instagram-engagement": { "command": "npx", "args": ["instagram-engagement-mcp"], "env": { "INSTAGRAM_USERNAME": "your_instagram_username", "INSTAGRAM_PASSWORD": "your_instagram_password" }, "disabled": false, "autoApprove": [] } } }

如果您克隆了存储库而不是从 npm 安装,请使用:

{ "mcpServers": { "instagram-engagement": { "command": "node", "args": ["/path/to/instagram-engagement-mcp/build/index.js"], "env": { "INSTAGRAM_USERNAME": "your_instagram_username", "INSTAGRAM_PASSWORD": "your_instagram_password" }, "disabled": false, "autoApprove": [] } } }

可用工具

分析帖子评论

分析 Instagram 帖子上的评论以识别情绪、主题和潜在线索。

参数:

  • postUrl (必填):要分析的 Instagram 帖子的 URL
  • maxComments (可选):要分析的最大评论数(默认值:100)

比较账户

比较不同 Instagram 帐户的参与度指标。

参数:

  • accounts (必填):用于比较的 Instagram 帐户列表
  • metrics (可选):要比较的指标(默认值:全部)

提取人口统计数据

从参与帖子或帐户的用户中提取人口统计见解。

参数:

  • accountOrPostUrl (必需):要分析的 Instagram 帐户句柄或帖子 URL
  • sampleSize (可选):用于人口统计分析的用户样本数量(默认值:50)

识别潜在客户

根据参与模式识别潜在客户。

参数:

  • accountOrPostUrl (必需):要分析的 Instagram 帐户句柄或帖子 URL
  • criteria (可选):识别线索的标准

生成参与度报告

为 Instagram 帐户生成全面的参与度报告。

参数:

  • account (必填):Instagram 帐户名称
  • startDate (可选):报告的开始日期(YYYY-MM-DD)
  • endDate (可选):报告的结束日期 (YYYY-MM-DD)

笔记

  • 该服务器使用 Instagram Private API,该 API 不受 Instagram 官方支持
  • 请负责任地使用并遵守 Instagram 的服务条款
  • 注意速率限制,避免被 Instagram 屏蔽
-
security - not tested
A
license - permissive license
-
quality - not tested

提供用于分析 Instagram 参与度指标、提取人口统计见解以及从 Instagram 帖子和帐户中识别潜在客户的工具。

  1. Features
    1. Installation
      1. Option 1: Install from npm
      2. Option 2: Clone from GitHub
    2. Setup
      1. Building from Source
        1. Configuration
          1. Available Tools
            1. analyze_post_comments
            2. compare_accounts
            3. extract_demographics
            4. identify_leads
            5. generate_engagement_report
          2. Notes
            ID: 6gfsk168ly