Back to MCP directory
publicPublicdnsLocal runtime

Instagram Engagement

Instagram数据分析工具,提供评论分析、账号对比、用户画像和潜在客户识别功能

article

README

🚀 Instagram 互动 MCP

Instagram 互动 MCP 是一个 MCP 服务器,它能够分析 Instagram 互动指标、提取人口统计信息见解,还能识别来自 Instagram 帖子和账户的潜在客户,为 Instagram 运营提供有力支持。

🚀 快速开始

本项目提供了多种安装方式,可根据自身需求进行选择。安装完成后,需进行相应的设置和配置,即可使用项目提供的工具。

✨ 主要特性

  • 分析帖子评论:从帖子评论中提取情感、主题和潜在客户。
  • 比较账户:比较不同 Instagram 账户的互动指标。
  • 提取人口统计数据:从与帖子或账户互动的用户中获取人口统计信息见解。
  • 识别潜在客户:根据互动模式和标准识别潜在客户。
  • 生成互动报告:创建包含可操作见解的全面报告。

📦 安装指南

通过 Smithery 安装

要通过 Smithery 自动安装 Instagram 互动分析,可执行以下命令:

npx -y @smithery/cli install @Bob-lance/instagram-engagement-mcp --client claude

选项 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. 编辑 .env 文件并添加您的 Instagram 用户名和密码。

从源代码构建

如果您克隆了仓库,则构建项目:

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": []
    }
  }
}

可用工具

analyze_post_comments

分析帖子评论以识别情感、主题和潜在客户。 参数

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

compare_accounts

比较不同 Instagram 账户的互动指标。 参数

  • accounts (必需):要比较的 Instagram 账户句柄列表。
  • metrics (可选):比较的指标 (默认: 所有)。

extract_demographics

从与帖子或账户互动的用户中提取人口统计数据。 参数

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

identify_leads

识别潜在客户。 参数

  • accounts (必需):要比较的 Instagram 账户句柄列表。
  • metrics (可选):比较的指标 (默认: 所有)。

generate_report

生成互动报告。 参数:无。

📄 许可证

本项目采用 MIT 许可证

⚠️ 重要提示

  • 请确保安装所有依赖项。
  • 确保您的 API 密钥安全。
  • 遵守 Instagram 的使用条款。
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client