Sprout Social MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Sprout Social MCP Serverget my Instagram analytics for last week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sprout Social MCP Server
A Model Context Protocol (MCP) server for the Sprout Social API. It lets AI assistants (Claude, Cursor, Devin, etc.) access your Sprout Social data — analytics, publishing, messages, listening, and more — through a standardized interface.
Quick Start
Prerequisites
Node.js 18+
A Sprout Social API token (how to create one)
Your Sprout Social Customer ID (how to find it)
Running via npx
No installation required:
SPROUT_SOCIAL_API_KEY=your-token \
SPROUT_SOCIAL_CUSTOMER_ID=your-customer-id \
npx sprout-social-mcpConfiguration with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"sprout-social": {
"command": "npx",
"args": ["-y", "sprout-social-mcp"],
"env": {
"SPROUT_SOCIAL_API_KEY": "your-api-token",
"SPROUT_SOCIAL_CUSTOMER_ID": "your-customer-id"
}
}
}
}Configuration with Cursor
Add to your .cursor/mcp.json:
{
"mcpServers": {
"sprout-social": {
"command": "npx",
"args": ["-y", "sprout-social-mcp"],
"env": {
"SPROUT_SOCIAL_API_KEY": "your-api-token",
"SPROUT_SOCIAL_CUSTOMER_ID": "your-customer-id"
}
}
}
}Configuration with VS Code (GitHub Copilot)
Add to your .vscode/mcp.json:
{
"servers": {
"sprout-social": {
"command": "npx",
"args": ["-y", "sprout-social-mcp"],
"env": {
"SPROUT_SOCIAL_API_KEY": "your-api-token",
"SPROUT_SOCIAL_CUSTOMER_ID": "your-customer-id"
}
}
}
}Configuration with Devin
In Devin's MCP settings, add a new server:
Name:
sprout-socialCommand:
npx -y sprout-social-mcpEnvironment Variables:
SPROUT_SOCIAL_API_KEY→ your API tokenSPROUT_SOCIAL_CUSTOMER_ID→ your customer ID
Environment Variables
Variable | Required | Description |
| Yes | Your Sprout Social API token |
| Yes | Your Sprout Social customer ID |
Available Tools
Customer Metadata
Tool | Description |
| Get your Sprout Social customer IDs and names |
| List all connected social profiles |
| List all groups |
| List all tags |
| List all users |
| List all listening topics |
| List all teams |
| List all case queues |
Analytics
Tool | Description |
| Profile-level analytics (impressions, engagements, etc.) for a date range |
| Post-level analytics with pagination. Supports impressions, engagements, reactions, video views |
Messages
Tool | Description |
| Retrieve inbox messages with filtering and cursor-based pagination |
Listening
Tool | Description |
| Get metrics for a listening topic |
| Get messages from a listening topic |
Publishing
Tool | Description |
| Create a new post to be published at a scheduled time |
| Retrieve details of a specific publishing post |
Media
Tool | Description |
| Upload media via URL for use in publishing posts |
Cases
Tool | Description |
| Retrieve customer cases/inquiries with filters for priority, time range, etc. |
Usage Tips
Post Analytics Pagination
The Sprout Social API paginates post analytics. Always check paging.total_pages in the response and request all pages:
Ask: "Get all Instagram post analytics for last week"
→ Tool calls get_post_analytics with page=1, then page=2, etc.Valid Post-Level Metrics
lifetime.impressions— total viewslifetime.engagements— total engagement (likes, comments, shares, saves)lifetime.reactions— reactions onlylifetime.video_views— video view count
Invalid metrics (will cause errors): lifetime.comments, lifetime.shares, lifetime.reach
Finding Profile IDs
Use get_profiles first to discover your customer_profile_id values, then pass them to analytics or publishing tools.
Development
git clone https://github.com/jginorio/sprout-social-mcp.git
cd sprout-social-mcp
npm install
npm run buildTo test locally:
SPROUT_SOCIAL_API_KEY=your-token \
SPROUT_SOCIAL_CUSTOMER_ID=your-customer-id \
node dist/index.jsLicense
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jginorio/sprout-social-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server