Social Listening MCP Server
Social Listening MCP Server
A Model Context Protocol (MCP) server that provides social listening capabilities through Syften's API. This server enables AI-powered analysis of social mentions, with support for real-time notifications via webhooks.
Features
- Real-time social mention monitoring
- AI-powered content categorization
- Webhook notifications for important mentions
- Historical data backfilling
- Trend analysis and reporting
- Natural language query support
Prerequisites
- Node.js (v16 or later)
- A Syften account with API access
- Claude Desktop app or VSCode with Claude extension
Installation
- Clone the repository:
- Install dependencies:
- Build the server:
Configuration
1. Syften API Setup
- Log in to your Syften account
- Go to Settings > API Access
- Generate an API key if you haven't already
- Copy your API key for the next step
2. Claude Desktop Configuration
Add the server configuration to ~/Library/Application Support/Claude/claude_desktop_config.json
:
3. VSCode Configuration (Optional)
If you're using VSCode with the Claude extension, add the configuration to /Users/YOUR_USERNAME/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
:
Available Tools
1. configure_ai_filter
Configure AI filtering settings for mention analysis.
2. setup_webhook
Configure webhook endpoint for real-time notifications.
3. backfill_month
Backfill mentions for a specific month.
4. sync_latest
Sync new mentions since last update.
5. analyze_trends
Analyze mention trends over time.
6. get_top_sources
Get top mention sources/authors.
7. nlp_prompt
Process natural language queries.
8. get_ai_filtered_mentions
Get mentions processed by AI filtering.
Example Usage in Claude
Here are some example prompts you can use with Claude:
- Configure AI filtering:
- Set up webhook notifications:
- Analyze trends:
- Get filtered mentions:
- Natural language queries:
Webhook Integration
When configuring webhooks, the server will send notifications in this format:
Headers included with webhook requests:
Content-Type: application/json
X-Webhook-Secret: your-secret-token
Development
Building from source
Adding new features
- Implement new functionality in
src/
- Add tests in
tests/
- Build and test locally
- Submit a pull request
Troubleshooting
- Webhook errors: Ensure your webhook endpoint is accessible and supports HTTPS
- API key issues: Verify your Syften API key is correctly set in the configuration
- Database errors: Check if the
data
directory exists and is writable
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
License
MIT License - see LICENSE file for details
This server cannot be installed
An MCP server offering AI-driven social mention analysis via Syften's API, featuring real-time notifications and trend analysis.