The Instagram Engagement MCP server provides powerful tools for analyzing Instagram engagement metrics, extracting demographic insights, and identifying potential leads from Instagram posts and accounts. It helps you gain valuable insights from social media data to inform your marketing strategies.
For automatic installation through Smithery:
npx -y @smithery/cli install @Bob-lance/instagram-engagement-mcp --client claude
npm install -g instagram-engagement-mcp
git clone https://github.com/Bob-lance/instagram-engagement-mcp.git
cd instagram-engagement-mcp
npm install
Create an environment file with your Instagram credentials:
cp .env.example .env
Edit the .env
file to add your Instagram username and password
If you cloned the repository, build the project:
npm run build
Add the server to your MCP settings file:
{
"mcpServers": {
"instagram-engagement": {
"command": "npx",
"args": ["instagram-engagement-mcp"],
"env": {
"INSTAGRAM_USERNAME": "your_instagram_username",
"INSTAGRAM_PASSWORD": "your_instagram_password"
},
"disabled": false,
"autoApprove": []
}
}
}
For a cloned repository installation, use this configuration instead:
{
"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 comments on an Instagram post to identify sentiment, themes, and potential leads.
Parameters:
postUrl
(required): URL of the Instagram post to analyzemaxComments
(optional): Maximum number of comments to analyze (default: 100)Compare engagement metrics across different Instagram accounts.
Parameters:
accounts
(required): List of Instagram account handles to comparemetrics
(optional): Metrics to compare (default: all)Extract demographic insights from users engaged with a post or account.
Parameters:
accountOrPostUrl
(required): Instagram account handle or post URL to analyzesampleSize
(optional): Number of users to sample for demographic analysis (default: 50)Identify potential leads based on engagement patterns.
Parameters:
accountOrPostUrl
(required): Instagram account handle or post URL to analyzecriteria
(optional): Criteria for identifying leadsGenerate a comprehensive engagement report for an Instagram account.
Parameters:
account
(required): Instagram account handlestartDate
(optional): Start date for the report (YYYY-MM-DD)endDate
(optional): End date for the report (YYYY-MM-DD)There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.