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.
ilissrk
README
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 ;
Recommended Servers
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Mathematica Documentation MCP server
A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.
kb-mcp-server
An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded
Research MCP Server
The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.