Instagram Engagement MCP
Instagram 参与度 MCP
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设置
将
.env.example文件复制到.env并添加您的 Instagram 凭据:cp .env.example .env使用您的 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 帖子的 URLmaxComments(可选):要分析的最大评论数(默认值:100)
比较账户
比较不同 Instagram 帐户的参与度指标。
参数:
accounts(必填):用于比较的 Instagram 帐户列表metrics(可选):要比较的指标(默认值:全部)
提取人口统计数据
从参与帖子或帐户的用户中提取人口统计见解。
参数:
accountOrPostUrl(必需):要分析的 Instagram 帐户句柄或帖子 URLsampleSize(可选):用于人口统计分析的用户样本数量(默认值:50)
识别潜在客户
根据参与模式识别潜在客户。
参数:
accountOrPostUrl(必需):要分析的 Instagram 帐户句柄或帖子 URLcriteria(可选):识别线索的标准
生成参与度报告
为 Instagram 帐户生成全面的参与度报告。
参数:
account(必填):Instagram 帐户名称startDate(可选):报告的开始日期(YYYY-MM-DD)endDate(可选):报告的结束日期 (YYYY-MM-DD)
笔记
该服务器使用 Instagram Private API,该 API 不受 Instagram 官方支持
请负责任地使用并遵守 Instagram 的服务条款
注意速率限制,避免被 Instagram 屏蔽
Available Tools
5 toolsanalyze_post_commentsC
Analyze comments on an Instagram post to identify sentiment, themes, and potential leads
| Name | Required | Description | Default |
|---|---|---|---|
| postUrl | Yes | URL of the Instagram post to analyze | |
| maxComments | No | Maximum number of comments to analyze (default: 100) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions analysis outputs (sentiment, themes, leads) but doesn't describe how the analysis is performed, what the return format looks like, whether it requires authentication, rate limits, or potential errors. For a tool with no annotations, this leaves significant gaps in understanding its behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that states the tool's purpose without unnecessary words. It's front-loaded with the core action ('analyze comments') and key outputs. However, it could be slightly more structured by separating the analysis outputs for clarity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (analysis tool with no annotations and no output schema), the description is incomplete. It doesn't explain the return values, error conditions, or how the analysis is conducted. For a tool that performs sentiment and theme analysis, more context on output format and limitations would be necessary for an AI agent to use it effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, so the input schema already documents both parameters ('postUrl' and 'maxComments') with clear descriptions. The description adds no additional semantic context beyond what the schema provides, such as URL format examples or analysis depth implications. Baseline 3 is appropriate when the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: analyzing Instagram post comments to identify sentiment, themes, and potential leads. It specifies the resource (Instagram post comments) and the analysis outputs (sentiment, themes, leads). However, it doesn't explicitly differentiate from sibling tools like 'identify_leads' or 'generate_engagement_report', which might have overlapping functionality.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when to choose this over sibling tools like 'identify_leads' (which might focus on lead identification specifically) or 'generate_engagement_report' (which could involve broader metrics). No exclusions or prerequisites are stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
compare_accountsC
Compare engagement metrics across different Instagram accounts
| Name | Required | Description | Default |
|---|---|---|---|
| accounts | Yes | List of Instagram account handles to compare | |
| metrics | No | Metrics to compare (default: all) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states what the tool does but lacks details on permissions, rate limits, data freshness, or output format. For a tool that likely accesses external data (Instagram accounts), this omission is significant and leaves behavioral traits unclear.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It is front-loaded and appropriately sized, making it easy for an agent to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of comparing engagement metrics across accounts, the lack of annotations and output schema means the description is incomplete. It doesn't explain what the comparison outputs (e.g., a table, summary, or raw data), how metrics are calculated, or any limitations, which are crucial for effective tool use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with clear descriptions for both parameters (e.g., 'List of Instagram account handles to compare' and 'Metrics to compare (default: all)'). The description adds no additional parameter semantics beyond what the schema provides, so it meets the baseline for adequate but not enhanced coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('compare') and the resource ('engagement metrics across different Instagram accounts'), providing a specific purpose. However, it doesn't explicitly differentiate this tool from its sibling tools (like 'generate_engagement_report' or 'analyze_post_comments'), which might also involve engagement metrics analysis.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context for comparison, or how it differs from sibling tools such as 'generate_engagement_report' or 'analyze_post_comments', leaving the agent to infer usage scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
extract_demographicsC
Extract demographic insights from users engaged with a post or account
| Name | Required | Description | Default |
|---|---|---|---|
| accountOrPostUrl | Yes | Instagram account handle or post URL to analyze | |
| sampleSize | No | Number of users to sample for demographic analysis (default: 50) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool extracts insights but doesn't describe how it works (e.g., data sources, processing methods), potential limitations (e.g., accuracy, privacy constraints), or output format. For a tool with 2 parameters and no annotations, this is a significant gap in transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core purpose without unnecessary details. It avoids redundancy and waste, making it appropriately sized for a tool with 2 parameters. However, it could be slightly more structured by hinting at the tool's scope or limitations.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (demographic analysis with 2 parameters), lack of annotations, and no output schema, the description is incomplete. It doesn't explain what insights are extracted (e.g., age, location), how results are returned, or any behavioral traits. For a tool that likely involves data processing and user analysis, more context is needed to be fully helpful.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, clearly documenting both parameters. The description adds no additional meaning beyond the schema, such as explaining the context of 'accountOrPostUrl' or the implications of 'sampleSize'. Since the schema does the heavy lifting, the baseline score of 3 is appropriate, but the description doesn't compensate or enhance parameter understanding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: extracting demographic insights from users engaged with a post or account. It specifies the verb 'extract' and the resource 'demographic insights', but it doesn't explicitly differentiate from sibling tools like 'analyze_post_comments' or 'generate_engagement_report', which might also involve user analysis. This makes it clear but not fully sibling-distinctive.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It mentions analyzing 'users engaged with a post or account', but doesn't specify scenarios, prerequisites, or exclusions compared to sibling tools like 'identify_leads' or 'compare_accounts'. This lack of explicit when/when-not instructions leaves usage unclear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_engagement_reportC
Generate a comprehensive engagement report for an Instagram account
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Instagram account handle | |
| startDate | No | Start date for the report (YYYY-MM-DD) | |
| endDate | No | End date for the report (YYYY-MM-DD) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It states the tool generates a report but doesn't describe what 'comprehensive' entails, the format of the output, whether it requires authentication, rate limits, or processing time. For a reporting tool with no annotations, this is a significant gap in transparency about how the tool behaves and what to expect.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that gets straight to the point without unnecessary words. It's appropriately sized for a tool with three parameters and clear purpose. However, it could be slightly more front-loaded by specifying the key differentiator (e.g., 'comprehensive' versus other tools) more explicitly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of generating a comprehensive report, no annotations, and no output schema, the description is insufficient. It doesn't explain what 'engagement' metrics are included, the report format, whether it's downloadable or displayed, or any limitations. For a tool that presumably produces rich output, the description leaves too much undefined about what the agent can expect.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all three parameters (account, startDate, endDate) with clear descriptions. The description adds no additional parameter semantics beyond what's in the schema. This meets the baseline expectation when the schema does the heavy lifting, but doesn't provide extra value like explaining how date ranges affect report scope or account format requirements.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb ('generate') and resource ('engagement report for an Instagram account'). It distinguishes from siblings like 'analyze_post_comments' or 'compare_accounts' by focusing on comprehensive reporting rather than specific analyses. However, it doesn't explicitly differentiate from potential overlap with 'extract_demographics' or 'identify_leads' which might be part of engagement reporting.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, appropriate contexts, or exclusions. For example, it doesn't clarify if this should be used for periodic reporting versus ad-hoc analysis, or how it differs from using sibling tools in combination. This leaves the agent without clear decision-making criteria.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
identify_leadsC
Identify potential leads based on engagement patterns
| Name | Required | Description | Default |
|---|---|---|---|
| accountOrPostUrl | Yes | Instagram account handle or post URL to analyze | |
| criteria | No | Criteria for identifying leads |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'identify potential leads' but does not specify output format, rate limits, authentication needs, or whether it performs read-only or mutative operations. This leaves significant gaps in understanding the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It is front-loaded and appropriately sized, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of lead identification with two parameters (including a nested object) and no output schema or annotations, the description is incomplete. It fails to explain what the tool returns, how leads are identified, or any behavioral traits, leaving the agent with insufficient context for effective use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents both parameters ('accountOrPostUrl' and 'criteria') and their sub-properties. The description does not add any meaning beyond this, such as explaining how 'engagement patterns' relate to the parameters or providing usage examples, resulting in a baseline score.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the purpose as 'Identify potential leads based on engagement patterns,' which specifies the action (identify) and resource (leads) with a general method (engagement patterns). However, it does not distinguish this tool from sibling tools like 'analyze_post_comments' or 'generate_engagement_report,' which might also involve engagement analysis, making it vague in differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance is provided on when to use this tool versus alternatives such as 'analyze_post_comments' or 'extract_demographics.' The description implies usage for lead identification but lacks context on prerequisites, exclusions, or specific scenarios, offering minimal direction.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
5 tool updates
- First observed
analyze_post_comments - First observed
compare_accounts - First observed
extract_demographics - First observed
generate_engagement_report - First observed
identify_leads
TDQS
Scored across 5 tools
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.
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.
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.
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
Related MCP Connectors
Instagram & TikTok data tools: demographic user search, analytics, posts, comments, hashtags.
Instagram data for AI agents: profiles, posts, reels, followers. Influencer + brand research.
Get social media data from Instagram and TikTok: profiles, posts, videos, comments, and more.
Read-only public Instagram data: profiles, posts, reels, stories, comments, top-accounts ranking.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Instagram engagement analysis using the unofficial Instagram Private API, including comment sentiment analysis, account comparison, demographic extraction, lead identification, and engagement reporting.58 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to interact with Instagram through a comprehensive toolkit for account management, content creation, messaging, social graph analysis, and content discovery.12-
- FlicenseNot gradedqualityDmaintenanceEnables 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-
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to access Instagram Business account analytics and insights, including follower demographics, post performance, and audience reach.-