lingion/plot-mcp-worker
FreeCloudflare Workers 上的 MCP 图表引擎:函数绘图、力分析图、电路图、3D 几何、Venn 图、STEM 教学模板。CJK 字体文本转路径管线(GB2312 6763 字),渲染无字体依赖。
FreeFree tier
About lingion/plot-mcp-worker
A serverless MCP chart rendering engine on Cloudflare Workers that lets AI agents generate PNG/SVG charts, STEM diagrams, function plots, force diagrams, circuit schematics, 3D geometry, Venn diagrams, and more from a single JSON call. Features smart axis defaults, CJK font text-to-path rendering, and various tools for single/multi expressions, data series, and subplot grids.
Key Features
Function plotting with smart axis defaults
Support for multiple chart types (line, scatter, bar, histogram, box plot, pie)
Subplot grids (M×N layout)
Physics force diagrams
Circuit schematics
3D geometry
Venn diagrams
CJK font text-to-path pipeline (6763 characters)
MCP protocol integration for AI agents
HTTP API with direct PNG/SVG URLs
Pros & Cons
Pros
- Open source and self-hostable
- No API key required for public endpoint
- Serverless deployment on Cloudflare Workers (scalable)
- Supports CJK characters without external fonts
- Smart axis defaults (nice ticks, π-mode for trig functions)
- Wide variety of chart types and diagrams
- Easy integration with MCP clients (Claude Desktop, Cursor, etc.)
Cons
- Public endpoint for experimentation only; production self-hosting recommended
- Limited to Cloudflare Workers ecosystem for deployment
- May have limited throughput on free public endpoint
- No built-in authentication for public endpoint
Best For
STEM education and teachingPhysics and engineering diagram creationData visualization and statistical analysisAI agent tool for generating charts in chatQuick math function plottingCircuit design schematics
FAQ
How do I use this with Claude Desktop?
Add the MCP server URL to your Claude Desktop configuration under mcpServers.
Is an API key required?
No, the public endpoint does not require an API key.
Can I run it myself?
Yes, it's open source and can be deployed on Cloudflare Workers. Self-hosting is recommended for production.
What chart types are supported?
Function plots, force diagrams, circuit schematics, 3D geometry, Venn diagrams, and data-driven charts (line, scatter, bar, histogram, box plot, pie).
How do I generate a chart via HTTP?
Send a POST request to the /mcp endpoint with the tool name and arguments, or use direct PNG/SVG URLs with base64-encoded parameters.