Oleafly is a live collaborative LaTeX, Typst and Markdown editor for research that offers a local MCP server and an oleafly mcp stdio command so outside AI clients can use its project tools.

Chhart MCP Server
An MCP server that lets AI assistants create flowcharts and Sankey diagrams on chhart.app using a text-based DSL.
WHAT IT DOES
- •Creates flowcharts from Chhart's text-based DSL with an optional title.
- •Creates Sankey diagrams showing flows between nodes using Chhart DSL content.
- •Provides syntax documentation and examples for flowcharts and Sankey diagrams.
- •Encodes chart data into shareable chhart.app URLs without needing a backend API.
BEST FOR
- •Generating diagrams from natural-language requests in an MCP-compatible AI assistant.
- •Visualizing how a total value splits into components with a Sankey diagram.
- •Looking up Chhart syntax for building flowcharts or Sankey diagrams.
ABOUT CHHART_MCP
Chhart MCP Server is cataloged as an MCP server attributed to alwank. An MCP server that lets AI assistants create flowcharts and Sankey diagrams on chhart.app using a text-based DSL. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力检查器
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
Tools (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Resources (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Prompts (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for Chhart MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
FREQUENTLY ASKED QUESTIONS
Can the server run without installing anything locally?
Yes, the README states a managed MCP server can be used without local installation.
Are the generated charts stored on a backend?
No, charts are client-side; data is encoded in the URL and no backend API is required.
上游原版 README
README.md · 10a4ff0b6536 · 采集于 2026-11-13 11:23:10 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Chhart MCP Server
An MCP (Model Context Protocol) server that enables AI assistants like ChatGPT, Claude, and others to programmatically create flowcharts and Sankey diagrams on chhart.app.
Table of Contents
- Features
- Prerequisites
- Installation
- Usage
- Available Tools
- Example Conversations
- Development
- How It Works
- Troubleshooting
- Contributing
- Security
- License
- Links
Features
- 🎨 Create Flowcharts - Generate flowcharts using Chhart's intuitive text-based DSL
- 📊 Create Sankey Diagrams - Build Sankey diagrams from flow data
- 📚 Syntax Help - Get comprehensive documentation and examples
- 🔗 Shareable URLs - All diagrams come with shareable chhart.app links
- 🚀 Easy Integration - Works with any MCP-compatible AI assistant
- 🌐 Dual Mode - Run locally (stdio) or remotely (StreamableHTTP)
- ☁️ Cloud Ready - Deploy to Railway, Vercel, or any Node.js hosting
- 🔒 Reliable - Modern StreamableHTTP transport for stable connections
Prerequisites
- Node.js 20 or higher
- npm or yarn
- An MCP-compatible client (Claude Desktop, Cursor, etc.)
Installation
From npm
npm install -g chhart-mcp
Or run directly without installing:
npx chhart-mcp
From Source
# Clone the repository
git clone https://github.com/alwank/chhart_MCP.git
cd chhart_MCP
# Install dependencies
npm install
# Build the project
npm run build
Usage
Quick Start (Public Server)
You can use our managed MCP server without installing anything locally.
Configure your MCP client to connect to the public endpoint:
{
"mcpServers": {
"chhart": {
"url": "https://mcp.chhart.app/mcp"
}
}
}
Local Mode (stdio)
For use with Claude Desktop, Cursor, or other local MCP clients:
-
Build the project:
npm run build -
Add to your MCP client configuration:
For Claude Desktop, edit
claude_desktop_config.json:{ "mcpServers": { "chhart": { "command": "npx", "args": ["-y", "chhart-mcp"] } } }For Cursor or other clients, see CONFIG_EXAMPLES.md for more examples.
-
Restart your MCP client
Remote Mode (StreamableHTTP)
For deployment to Railway, Vercel, or other cloud platforms, we use the modern StreamableHTTP transport for reliable, stateless communication.
-
Build and start the StreamableHTTP server:
npm run build npm run start:streamableThe server will start on port 3000 (or the port specified in
PORTenvironment variable). -
Configure your MCP client to connect to the remote endpoint:
{ "mcpServers": { "chhart": { "url": "https://your-deployment-url.com/mcp" } } } -
Deploy to Railway:
See the Railway Deployment Guide for detailed instructions.
Why StreamableHTTP?
We migrated from SSE to StreamableHTTP transport for better reliability:
| Feature | SSE Transport | StreamableHTTP Transport |
|---|---|---|
| Connection Type | Long-lived SSE stream | Stateless HTTP requests |
| Stability | Prone to timeouts | ✅ Robust and reliable |
| Cloud Compatibility | Limited | ✅ Excellent |
| Session Management | Required | Optional (stateless) |
Legacy SSE Mode
The SSE transport is still available but deprecated:
npm run start:sse # Not recommended for production
Available Tools
create_flowchart
Creates a flowchart using Chhart's text-based DSL.
Parameters:
content(string, required) - Flowchart content in Chhart DSL formattitle(string, optional) - Title for the flowchart
Example:
{
"content": "Start\n Process Step\n Decision? [shape=diamond]\n Yes\n Action\n End\n No\n Skip\n End",
"title": "Simple Workflow"
}
create_sankey
Creates a Sankey diagram showing flows between nodes.
Parameters:
content(string, required) - Sankey diagram content in Chhart DSL formattitle(string, optional) - Title for the diagram
Example:
{
"content": "Revenue [value=100]\n Costs [value=40]\n Salaries [value=25]\n Operations [value=15]\n Profit [value=60]",
"title": "Budget Flow"
}
get_syntax_help
Returns documentation and examples for Chhart syntax.
Parameters:
type(enum, optional) -'flowchart','sankey', or'all'(default:'all')
Example Conversations
Once configured, you can ask your AI assistant:
"Create a flowchart showing a user login process with email verification"
"Create a Sankey diagram showing how $100 of revenue splits into costs, taxes, and profit"
"Show me the syntax for creating flowcharts in Chhart"
Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode (auto-rebuild on changes)
npm run watch
# Run locally (stdio mode)
npm start
# Run StreamableHTTP server (recommended for remote access)
npm run start:streamable
# Run SSE server (legacy, deprecated)
npm run start:sse
Project Structure
chhart_MCP/
├── src/
│ ├── index.ts # Main entry point (stdio mode)
│ ├── server-streamable.ts # StreamableHTTP server (recommended)
│ ├── server-sse.ts # SSE server (legacy)
│ ├── tools/ # MCP tool implementations
│ ├── utils/ # Utility functions
│ └── transports/ # Transport implementations
│ ├── streamable.ts # StreamableHTTP transport
│ └── sse.ts # SSE transport (legacy)
├── dist/ # Compiled JavaScript (generated)
└── docs/ # Documentation files
How It Works
The MCP server generates shareable URLs by encoding chart data into the URL hash, leveraging chhart.app's existing URL-based sharing feature. This means:
- ✅ No backend API required
- ✅ Charts are fully client-side
- ✅ URLs work immediately without storage
- ✅ Charts can be edited on chhart.app
- ✅ Privacy-friendly (data stays in the URL)
Troubleshooting
"Command not found" or "Module not found"
- Ensure you've run
npm installandnpm run build - Verify the path in your MCP client configuration is absolute
- Check that Node.js 20+ is installed:
node --version
Connection Issues
"connection closed: EOF" or similar errors:
- If using remote mode, ensure you're using StreamableHTTP transport (
npm run start:streamable) - The legacy SSE transport is deprecated and may have stability issues
- Verify the server is running: check the health endpoint at
http://localhost:3000/health - Check firewall settings if deploying remotely
- Ensure CORS is properly configured for your domain
Client configuration:
- StreamableHTTP clients use
application/jsonrequests to/mcp - Legacy SSE clients require
text/event-streamfor the/mcpstream and JSON for/messages - Ensure the URL points to the
/mcpendpoint
Charts Not Loading
- Verify the generated URL is complete and not truncated
- Check browser console for errors
- Try opening the URL directly in a browser
- Very large diagrams may exceed URL length limits (typically 2000 characters)
TypeScript Build Errors
- Ensure you're using Node.js 20+
- Delete
node_modulesanddist, then runnpm installandnpm run build - Check for TypeScript version compatibility
For more help, see CONTRIBUTING.md or open an issue.
Contributing
We welcome contributions! Please see CONTRIBUTING.md for guidelines on:
- Reporting bugs
- Suggesting features
- Submitting pull requests
- Development setup
- Coding standards
Security
For security concerns, please see our Security Policy. Do not open public issues for security vulnerabilities.
License
MIT License - see LICENSE for details.
Copyright (c) 2026 Chhart.app
Links
- Chhart.app - Create and share diagrams
- Model Context Protocol - Learn about MCP
- Documentation - Additional guides and examples
- Changelog - Version history and updates
- Issues - Report bugs or request features
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Chhart MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/chhart_mcp)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
下载与拉取统计
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Related productivity work MCP Servers
Alternative and complementary servers in the same category
Buddy is an Android app that offers its phone tools through a local MCP server to Claude Code, Codex, OpenCode, Antigravity, and Grok sessions.

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

