Machine-first diagram engine

The diagram enginebuilt for machines.

Glyphic turns typed JSON into deterministic SVG and PNG across 18 diagram types. No headless browser, no canvas to babysit — your model writes the spec, the engine draws it.

Free preview · no sign-in · 3 generations to start

input — flowchart.jsonrendered output ↓
{
  "type": "flowchart",
  "direction": "LR",
  "style": "compact",
  "nodes": [
    { "id": "prompt", "label": "Prompt" },
    { "id": "model",  "label": "LLM" },
    { "id": "render", "label": "Glyphic" },
    { "id": "out",    "label": "Diagram" }
  ],
  "edges": [
    { "source": "prompt", "target": "model" },
    { "source": "model",  "target": "render", "label": "JSON" },
    { "source": "render", "target": "out",    "label": "PNG" }
  ]
}
The Glyphic pipeline rendered as a flowchart
No headless browser ~100ms / render Deterministic output MCP-native 18 diagram types SVG · PNG · React Flow Typed JSON schema Rust rasterization Themes + a11y baked in No headless browser ~100ms / render Deterministic output MCP-native 18 diagram types SVG · PNG · React Flow Typed JSON schema Rust rasterization Themes + a11y baked in

02 — Styles & themes

One diagram. Sixteen looks.

style sets the geometry, theme sets the color — and they compose. Below is the same pipeline, re-rendered live across every combination. No mockups; this is the engine.

Style — geometry
Theme — color

Default · dense, soft fills, rounded geometry

compact · light
compact style, light theme

04 — Why Glyphic

Mermaid needs a browser. Eraser is a closed app. D2 is a DSL.

Glyphic is the only one built JSON-first for machines — rendered headless, in milliseconds, with byte-identical output you can snapshot in CI. Here's the honest scorecard.

Glyphicthis is usMermaidEraserD2
Input formatTyped JSONText DSLGUI + AIText DSL
Renders without a browserSaaSpartial
Deterministic, pixel-stable outputpartial
Built for LLMs / agentspartialpartial
Native MCP server
Diagram types18~20~8~10
Output formatsSVG · PNG · React FlowSVG · PNGPNG · SVGSVG · PNG · PDF
Server render speed~100mssecondsn/afast
Open / self-hostableFSLMITclosedMPL

Competitor capabilities summarized from public docs, 2026. Not affiliated.

05 — Integrate

Three ways to render.

Same engine, same deterministic output — whether the model calls it, your server imports it, or you hit the API.

Your agent draws diagrams in-conversation.
// claude_desktop_config.json
{
  "mcpServers": {
    "glyphic": {
      "command": "npx",
      "args": ["-y", "@glyphicjs/mcp-server"]
    }
  }
}
// Ask: "diagram our OAuth flow."
// The model writes the JSON, Glyphic returns the PNG.

Pricing

Free to run. Pay to skip the ops.

The engine is open source forever. The hosted API & MCP are live. Try the playground free, no card required.

Generations
Turning a plain-English prompt into a diagram with AI — “describe it, we draw it.”
Renders
Turning diagram JSON into an image (SVG/PNG) — every edit-and-re-render or API call.

Free

$0free forever

Kick the tyres in the playground.

  • Playground access (no install)
  • 5 AI generations / mo
  • 200 renders / mo
  • All 18 types · 4 styles · 4 themes
  • No watermark on output
Start free

Starter

$6/ mo

For the solo builder shipping with the API.

  • Everything in Free, plus
  • Programmatic API keys
  • 75 AI generations / mo
  • 10k renders / mo
  • Priority email support

Pro

popular
$19/ mo

Hosted API + MCP, on-brand, none of the ops.

  • Everything in Starter, plus
  • 500 AI generations / mo
  • 100k renders / mo
  • Custom fonts, icons & themes
  • Hosted MCP endpoint

Team

$59/ mo

Volume, seats, and shared brand assets.

  • Everything in Pro, plus
  • 2,500 AI generations / mo
  • 500k renders / mo
  • 5 seats, roles & shared keys
  • Priority render queue

Enterprise

let’s talk

Scale, security, and self-host on your terms.

  • Custom volume & SLA
  • SSO / SAML
  • Commercial self-host license
  • Dedicated support
Contact us

07 — Get started

The hosted API & MCP are live.

Describe a diagram and watch it render — free, no sign-in. Or drop your email for changelog & new-feature updates. No spam.