Skip to main content
Glama
Instagram Engagement MCP

Instagram Engagement MCP

by Bob-lance

Instagram 参与度 MCP

npm 版本 许可证:MIT 铁匠徽章

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

特征

  • 分析帖子评论:从 Instagram 帖子评论中提取情绪、主题和潜在线索

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

  • 提取人口统计数据:从参与帖子或帐户的用户那里获取人口统计见解

  • 识别线索:根据参与模式和标准寻找潜在线索

  • 生成参与度报告:创建具有可操作见解的综合报告

Related MCP server: Instagram MCP Server

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 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. 使用您的 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 屏蔽

Available Tools

5 tools
analyze_post_commentsC

Analyze comments on an Instagram post to identify sentiment, themes, and potential leads

Inputs: postUrl (required), maxComments.

compare_accountsC

Compare engagement metrics across different Instagram accounts

Inputs: accounts (required), metrics.

extract_demographicsC

Extract demographic insights from users engaged with a post or account

Inputs: accountOrPostUrl (required), sampleSize.

generate_engagement_reportC

Generate a comprehensive engagement report for an Instagram account

Inputs: account (required), startDate, endDate.

identify_leadsC

Identify potential leads based on engagement patterns

Inputs: accountOrPostUrl (required), criteria.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: analyzing comments, comparing accounts, extracting demographics, generating reports, and identifying leads. The descriptions specify unique actions and targets, making it easy for an agent to select the right tool without confusion.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (e.g., analyze_post_comments, compare_accounts, extract_demographics). The naming is uniform, using snake_case throughout, which enhances readability and predictability for agents.

    Tool Count5/5

    With 5 tools, the server is well-scoped for Instagram engagement analysis. Each tool earns its place by covering distinct aspects of the domain, avoiding bloat or thinness, making it manageable and effective for the intended purpose.

    Completeness4/5

    The tool set covers key engagement analysis functions like sentiment analysis, comparison, demographics, reporting, and lead identification. A minor gap exists in direct engagement actions (e.g., posting or interacting), but the surface is largely complete for analytical workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Instagram engagement analysis using the unofficial Instagram Private API, including comment sentiment analysis, account comparison, demographic extraction, lead identification, and engagement reporting.
      44 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to manage Instagram Business accounts by automating content publishing, scheduling posts, and analyzing performance metrics. Supports posts, stories, reels, and carousels with detailed audience insights and hashtag discovery.
      1
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to access Instagram Business account analytics and insights, including follower demographics, post performance, and audience reach.
      -