AI Charts
AI-powered flowchart, ERD, and swimlane diagram builder with a built-in AI assistant and an MCP server exposing 18+ tools for external AI integration. Works with any OpenAI-compatible LLM — no vendor lock-in.
About This Project
AI Charts combines a conversational AI assistant for rapid chart creation with a composable MCP server that lets external AI tools like Claude Desktop and Cursor create and manage diagrams programmatically. Supports flowcharts, ERDs, swimlane diagrams, mind maps, and sequence diagrams with ELK-based auto-layout, structural validation, cycle detection, and export to Mermaid, Markdown, and PDF.
Key Achievements
- Designed and built a composable MCP server with 18+ tools enabling any AI assistant to create and manipulate diagrams programmatically
- Implemented agentic tool-calling loops where the AI assistant iteratively builds charts through multi-step function calls — add nodes, edges, groups, validate, and auto-layout in a single conversation turn
- Built with full LLM provider abstraction — works identically with Ollama (local), OpenAI, Groq, or any OpenAI-compatible endpoint with zero code changes
- ELK-based auto-layout engine with cycle detection, reachability analysis, and structural validation for complex diagram types
- Full revision history with event-sourced undo/redo tracking across all operations
- Portable ZIP project archives and multi-format export (Mermaid syntax, Markdown summaries, PDF)
Related Projects
Related Publications
Articles that cover technologies and skills used in this project

Prop Drilling is a Code Smell When Used Incorrectly
Prop drilling is considered an anti-pattern in React because it involves passing props down multiple levels of a component tree, even when only a few components need them. This can lead to several...

AWS Lays off 14k Workers and Blames it on AI Automation, I call Bullshit.
I believe the layoffs at AWS have less to do with AI automation directly and more to do with their failure to match services like OpenAI and Google in the race to provide AI platforms that just work...

The Future of AI Isn’t a Chatbot: Where the Real Value Lies.
ShitGTP - WAN 2.2 and Qwen ImageEvery tech CEO and C-suite executive right now is absolutely foaming at the mouth with lust for anything labeled “AI,” preferably with a sleek chat box where you can...