🤖 What is the MCP Server?
The ClosedLoop MCP Server is a Model Context Protocol (MCP) server that provides AI clients with secure access to customer insight data. It enables AI agents and tools to interact with ClosedLoop AI’s customer insights through a standardized protocol.🎯 Key Features
MCP Protocol Support
- Full Model Context Protocol implementation
- Compatible with Claude, Cursor, and other MCP clients
- Standardized tool interface for AI agents
Customer Insight Tools
list_insights- Retrieve insights with filtering and paginationget_insight_detail- Get detailed analysis of specific insightssearch_insights- Full-text search across all insight fields- Rich metadata and AI analysis results
🔧 Technical Specifications
Server Details
- URL:
https://mcp.closedloop.sh - Protocol: Model Context Protocol (MCP)
- Authentication: Bearer token (API key)
- Data Format: JSON responses
Dependencies
- Node.js 18+
- PostgreSQL database
- MCP SDK (@modelcontextprotocol/sdk)
- Express.js for HTTP endpoints
🚀 Quick Start
1. Get Your API Key
2. Connect Your AI Client
3. Use the Tools
📊 Available Tools
list_insights
Retrieve customer insights with optional filtering and pagination. Parameters:date_from(optional): Start date (YYYY-MM-DD)date_to(optional): End date (YYYY-MM-DD)page(optional): Page number (default: 1)limit(optional): Items per page (default: 20, max: 100)
get_insight_detail
Get detailed information about a specific insight item. Parameters:insight_id(required): UUID of the insight item
search_insights
Advanced full-text search across customer insights with relevance ranking. Key Features:- Full-text search across 8+ insight fields
- Relevance ranking - most relevant results first
- Phrase search and fuzzy matching
- Field-specific search - search specific fields or all fields
- Advanced filtering - category, severity, date range, source
- Language agnostic - works with any language
query(required): Search query textfields(optional): Specific fields to searchcategory(optional): Filter by insight categoryseverity(optional): Filter by severity leveldate_from(optional): Start date filterdate_to(optional): End date filtersource(optional): Filter by data sourcepage(optional): Page number (default: 1)limit(optional): Items per page (default: 20, max: 100)
🎯 Use Cases
AI-Powered Analysis
- Claude can analyze customer insight patterns
- Cursor can provide insights during development
- Custom AI agents can process insight data
Development Integration
- Access insight data in your development environment
- Get customer insights while coding
- Integrate insights into your workflow
Automated Reporting
- Generate insight summaries
- Track sentiment trends
- Monitor customer satisfaction
🔗 Integration Examples
Claude Desktop
Cursor IDE
🛠️ Development
Local Setup
Testing
📞 Support
Documentation
- Tool Reference - Complete tool documentation
- Integration Guide - Setup and configuration
- API Reference - REST API documentation
Contact
- Technical Support: support@closedloop.sh
- Security Issues: security@closedloop.sh
- Health Check: https://mcp.closedloop.sh/health
Get Started with MCP Tools
Learn about the available MCP tools and how to use them