- InsightFlow
InsightFlow
InsightFlow - a real-time analytics dashboard server with an MCP (Message Control Protocol) architecture that integrates with AI services like Claude or Cursor. This solution enables real-time data analytics with natural language query capabilities.
Content
InsightFlow
InsightFlow is an advanced analytics platform that combines real-time data processing with AI-powered insights using the Model Context Protocol (MCP). It provides seamless integration with Claude AI for intelligent data analysis and decision support.
🚀 Features
- MCP Integration: Full support for Model Context Protocol, enabling advanced AI capabilities
- Real-time Analytics: Process and analyze data streams in real-time
- AI-Powered Insights: Leverage Claude AI for intelligent data interpretation
- Flexible Data Processing: Support for multiple data sources and formats
- RESTful & WebSocket APIs: Comprehensive API support for various integration needs
🛠️ Technology Stack
- Backend: Python 3.9+, FastAPI
- AI Integration: Anthropic Claude API
- Data Processing: Pandas, NumPy
- Database: SQLAlchemy (supports multiple databases)
- API: REST + WebSocket
- Protocol: Model Context Protocol (MCP)
📋 Prerequisites
- Python 3.9 or higher
- Anthropic API key
- Redis (for caching and message queuing)
🔧 Installation
- Clone the repository:
git clone https://github.com/yourusername/insightflow.git
cd insightflow
- Create and activate virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Configure environment:
cp config/config.example.yaml config/config.yaml
# Edit config.yaml with your settings
- Set up environment variables:
cp .env.example .env
# Edit .env with your credentials
🚀 Quick Start
Running Locally
- Start the server:
python app/main.py
- Access the API documentation:
http://localhost:8000/docs
📚 API Documentation
REST API Endpoints
GET /tools- List available MCP toolsPOST /tool/{tool_name}- Execute specific toolWS /ws- WebSocket endpoint for real-time communication
MCP Tools
-
Data Analysis
- Analyze datasets with configurable metrics
- Generate statistical insights
- Support for time-series analysis
-
Query Data
- Flexible data querying capabilities
- Filter and aggregate data
- Export results in multiple formats
-
Generate Insight
- AI-powered data interpretation
- Trend identification
- Anomaly detection
🔧 Configuration
The system can be configured through config.yaml or environment variables:
server:
host: "0.0.0.0"
port: 8000
debug: false
mcp:
enabled: true
websocket_path: "/ws"
max_connections: 100
ai:
model_name: "claude-2"
temperature: 0.7
max_tokens: 2000
🔍 Development
Project Structure
insightflow/
├── app/
│ ├── main.py # Application entry point
│ ├── config.py # Configuration management
│ ├── core/ # Core MCP and server logic
│ ├── data/ # Data processing modules
│ ├── analytics/ # Analytics engine
│ ├── ai/ # AI integration
│ ├── api/ # API endpoints
│ └── models/ # Data models
└── requirements.txt # Python dependencies
Running Tests
pytest tests/
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🤝 Support
For support and questions, please open an issue in the GitHub repository or contact the maintainers.
🙏 Acknowledgments
- Anthropic for Claude AI integration
- Model Context Protocol community
- All contributors and users of InsightFlow
Made with ❤️ by the Ilias RAFIK ;
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
WindsurfThe new purpose-built IDE to harness magic
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Amap Maps高德地图官方 MCP Server
Playwright McpPlaywright MCP server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
ChatWiseThe second fastest AI chatbot™
CursorThe AI Code Editor
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
DeepChatYour AI Partner on Desktop
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Tavily Mcp
Serper MCP ServerA Serper MCP Server
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.