Skip to content

shanggqm/data-insight-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Insight Agent

中文文档 image

Stop wrestling with data, start getting insights.

Data analysts and product managers spend hours on repetitive workflows: writing SQL, exporting to Excel, manual aggregation, building charts, writing reports. Even with LLMs, you hit walls - hallucinated calculations, context length limits, unreliable outputs.

Generic MCP servers? They solve "can it work" but not "can I actually use it". Query timeouts, credential exposure, context explosions - one pitfall after another.

Data Insight Agent is battle-tested solution combining Claude Code + MCP + Context Engineering best practices:

  • CodeAct Pattern - LLM writes & executes code for calculations, eliminating hallucinations
  • Smart Caching - Query results go to filesystem, not context. No more token explosions
  • Standardized Output - Professional Markdown reports + interactive HTML slides, every time
  • Production-Ready MCP - Rebuilt MySQL server with security and reliability fixes

One command. Natural language in, professional analysis out.

Quick Start

git clone https://github.com/shanggqm/data-insight-agent.git
cd data-insight-agent
./scripts/setup.sh
cp .mcp.json.example .mcp.json  # Configure your database
claude
/analyze

Output

analysis-output/{topic}_{timestamp}/
├── processed_data/charts_data.json   # Chart data
├── report.md                         # Markdown report
└── report.html                       # Interactive slides

Documentation

License

MIT

Author

Meiqing Guo · GitHub @shanggqm · WeChat: 郭美青聊AI

About

借助claude code和数据库(mysql等)mcp server 和claude skills技术,实现的高可靠、效果出众的数据分析和报告PPT生成的Agent。A highly reliable and high-performing data analytics agent that utilizes Claude Code and database (MySQL, etc.) MCP Server and Claude Skills technologies.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors