Cover image
Try Now
2025-03-20

InsightFlow-具有MCP(消息控制协议)体系结构的实时分析仪表板服务器,该服务器与Claude或Cursor等AI服务集成在一起。该解决方案启用具有自然语言查询功能的实时数据分析。

3 years

Works with Finder

1

Github Watches

1

Github Forks

2

Github Stars

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

  1. Clone the repository:
git clone https://github.com/yourusername/insightflow.git
cd insightflow
  1. Create and activate virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Configure environment:
cp config/config.example.yaml config/config.yaml
# Edit config.yaml with your settings
  1. Set up environment variables:
cp .env.example .env
# Edit .env with your credentials

🚀 Quick Start

Running Locally

  1. Start the server:
python app/main.py
  1. Access the API documentation:
http://localhost:8000/docs

📚 API Documentation

REST API Endpoints

  • GET /tools - List available MCP tools
  • POST /tool/{tool_name} - Execute specific tool
  • WS /ws - WebSocket endpoint for real-time communication

MCP Tools

  1. Data Analysis

    • Analyze datasets with configurable metrics
    • Generate statistical insights
    • Support for time-series analysis
  2. Query Data

    • Flexible data querying capabilities
    • Filter and aggregate data
    • Export results in multiple formats
  3. 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

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. 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 ;

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • Khalid kalib
  • Write professional emails

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • zhaoyunxing92
  • MCP(消息连接器协议)服务

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

    Reviews

    5 (1)
    Avatar
    user_6glcg9rx
    2025-04-17

    InsightFlow is a fantastic tool developed by ilissrk, providing tremendous value for streamlined data analysis! This GitHub-hosted project is incredibly user-friendly, making it perfect for both beginners and experts. The intuitive interface and powerful features make my workflow seamless and efficient. Highly recommended for anyone interested in insightful data visualization and analysis!