nyyon-figures
nyyon-figures is a local MCP server that converts editorial content into diagrams and a featured cover image, running entirely on your machine with no network calls required.
Generate figure specs for an article (
figures_for_article) — Get a design brief that maps article content to diagram templates and slots.Get reasoning guidance (
get_reasoning_prompt) — Retrieve a structured prompt explaining how to map an article's ideas to the right templates; embed a title/excerpt/body to get a ready-to-use prompt.List all templates (
list_templates) — Browse all 17 diagram templates (contrast, layers, cycle, fanout, columns, grid, funnel, timeline, quadrant, pyramid, venn, venn3, table, pipeline, radial, bigstat, progression) plus their slot schemas.Render a single diagram (
render_figure) — Produce a 2× PNG of any diagram template by supplying the template name and its slot values.Render a featured cover (
render_cover) — Generate a 1200×630 OG/hero image with headline, optional kicker, optional standfirst, and one word highlighted in the accent color.Render a full article set (
render_set) — Batch-render up to 12 diagrams plus an optional cover in a single call.Animate diagrams — Pass
format: "svg"andanimate: trueto get self-animating SVGs with staggered entrances, looping animations, and traveling accent dots — no JavaScript, pure SMIL + CSS.Customize brand theme (
set_themeor environment variables) — Override colors (accent, paper, ink), fonts, wordmark, URL, and SVG logo mark.View active settings (
get_settings) — Inspect the current theme including colors, fonts, canvas sizes, and available environment variables.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nyyon-figures Render a set of figures for my article on data pipelines"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
nyyon-figures

A local MCP server that renders editorial diagrams and featured covers from a spec — for any brand, not just nyyon. No network, no model, nothing leaves the machine — the calling assistant does the thinking, this tool does the drawing.
It ships three things:
Templates — 37 parametric, content-agnostic shapes: 17 diagram templates (story shapes) + 20 data-chart templates (
chart_*, real numbers on real scales) + a 1200×630 featured cover, drawn as code (SVG → PNG via resvg at 2×, or animated SVG).Settings — a brand-themeable paper/ink theme with a single accent. Colors, accent, wordmark and URL are all overridable (file or env); it ships with nyyon's look (
#6C5CE7, Inter + JetBrains Mono) as the default.Reasoning prompt — how to map an article to a set of figures (which shape per idea, anchored to the sentence it illustrates, varied across the piece) + a cover, including a chart-selection guide (pick by goal, the Datawrapper method).
The 17 diagram templates
contrast · layers · cycle · fanout · columns · grid · funnel · timeline · quadrant · pyramid · venn · venn3 · table · pipeline · radial · bigstat · progression
Each uses the accent as a signal: the FIG. mark, the primary arrowheads, and the single focal "point" of the diagram (the goal node, the source, the winning quadrant, the apex…).
Related MCP server: pdf-reporter-mcp
The 20 data-chart templates
For when the idea is backed by real numbers. Organized by goal, following Datawrapper's chart-types guide:
goal | templates |
change over time |
|
shares of a whole |
|
amounts |
|
relationships |
|
flows |
|
Chart craft is enforced in the renderers, not requested of the caller: bars, columns, areas and waffles always start at zero; line ends and bar ends are labeled directly instead of via legends; bubbles and proportional shapes scale by area, never radius; small multiples share one scale; empty or flat data renders a clean labeled frame, never a NaN SVG. Geo maps are deliberately absent (an offline renderer has no shape data): reach for chart_bar or chart_heatmap by region instead.
Showcase — every template
One render of each shape, so you can pick by eye. All drawn by this tool, default theme.
Diagrams
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Data charts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Animation
Pass format: "svg" + animate: true to render_figure / render_set and you get a self-animating SVG instead of a flat PNG: every element fades in on a staggered entrance, holds, then exits — one smooth 8s loop, forever. The "traveling" shapes (timeline, cycle, radial) also get an accent dot gliding their path. Pure SVG — SMIL <animateMotion> + CSS @keyframes, no JS, no dependencies, and it honors prefers-reduced-motion. Use it for the web/inline; keep PNG for og:images, email, and link previews (animation doesn't survive those, and a rasterized SVG is just its first frame).
Tools
tool | what it does |
| Start here. Article + a |
| List all templates + the cover with their slot schemas. |
| The active theme — colors, fonts, sizes, brand (reflects runtime changes). |
| Adjust the global look — colors / fonts / brand — for all later renders. |
|
|
|
|
| A whole article set ( |
Two ways to use it
Article → figures:
figures_for_articlewith the article +design→ follow the returned brief to produce the spec.render_set(orrender_cover) → PNGs written locally; embed them, use the cover as featured/OG. Show the renders.
Ad-hoc one-off — just call render_figure directly, e.g. "a venn of X and Y overlapping Z" → { template: "venn", slots: { left_label: "X", right_label: "Y", overlap_label: "Z" } }. No article needed.
Re-theme anytime with set_theme (or env / src/settings.js).
Install (Claude / MCP)
npm installThen add to your MCP client config:
{
"mcpServers": {
"nyyon-figures": { "command": "node", "args": ["/ABSOLUTE/PATH/nyyon-figures/src/index.js"] }
}
}Or with the CLI: claude mcp add nyyon-figures -- node /ABSOLUTE/PATH/nyyon-figures/src/index.js
Settings & overrides
Edit src/settings.js, or override at runtime via env:
NYYON_FIGURES_ACCENT— accent hex (default#6C5CE7)NYYON_FIGURES_PAPER/NYYON_FIGURES_INK— background / foregroundNYYON_FIGURES_BRAND_NAME— wordmark text on the cover (defaultnyyon)NYYON_FIGURES_BRAND_URL— URL printed on the cover (defaultnyyon.com)NYYON_FIGURES_BRAND_MARK— SVG path (~64×70 box) for the logo mark;""= text-only wordmark + plain accent hubNYYON_FIGURES_OUT— directory for rendered PNGs (default$TMPDIR/nyyon-figures)
So a different brand is one line: NYYON_FIGURES_BRAND_NAME='Acme' NYYON_FIGURES_BRAND_URL='acme.io' NYYON_FIGURES_BRAND_MARK='' NYYON_FIGURES_ACCENT='#0EA5E9'.
Test
npm test # renders one of every template + the cover into tmp-smoke/Available Tools
6 toolsget_reasoning_promptGet the figure-design reasoning promptA
Return nyyon's reasoning prompt for turning an article into a SET of figures + a cover: which template fits which idea, anchoring each to a sentence, and varying shapes. Pass the article (title/excerpt/body_text) to get the full ready-to-use prompt with the article embedded; omit it to get just the rules + template menu. Use the prompt to produce the figure-spec JSON, then call render_figure / render_cover.
Inputs: title, excerpt, body_text.
get_settingsGet brand settingsB
Return the active brand theme — colors (incl. the accent), fonts, canvas sizes, and the env vars that override them.
Inputs: no named parameters.
list_templatesList figure templatesA
List every diagram template (16) and the featured cover with their slot schemas. Call this first to learn what shapes exist and exactly which slots each render tool expects.
Inputs: no named parameters.
render_coverRender the featured coverC
Render the 1200x630 featured/hero cover (OG ratio): the nyyon wordmark, kit shapes wired to an accent hub, and the headline with one word in the accent colour. Returns the file path.
Inputs: title (required), kicker, highlight, sub, +1 more.
render_figureRender one diagramA
Render a single in-article diagram to a PNG. Provide the template name and its slots (see list_templates for each template's slot schema). Returns the file path. Renders at 2x for crisp output.
Inputs: template (required), slots (required), out_path.
render_setRender a whole figure set + coverA
Render a full article set in one call: an array of figures (each { template, slots }) plus an optional cover. Returns the list of written paths. Convenience over calling render_figure repeatedly.
Inputs: figures, cover, out_dir.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a distinct purpose: reasoning prompt, settings, template listing, and three rendering variants. No overlap in functionality, so an agent can clearly distinguish them.
All tool names follow a consistent verb_noun snake_case pattern (get_, list_, render_). This predictability aids agent selection and code generation.
With 6 tools covering the core workflow (prompt, settings, templates, rendering), the count is well-scoped for figure generation without being too few or excessive.
The tool surface covers the essential workflow: obtaining a prompt, checking settings, listing templates, and rendering figures/covers. A minor gap is the lack of a tool to retrieve or delete rendered files, but this is not critical for typical usage.
Maintenance
Related MCP Connectors
Bar-first MCP server for Tabula chart authoring, PNG rendering, and editor handoff.
MCP server for StyleKit styles, tokens, recipes, lint and repair over stdio or HTTP.
Render, verify, describe, and safely edit Mermaid diagrams through MCP.
Hosted MCP server: render any URL to print-stable PDF, PNG, WebP or Markdown
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server that turns AI into an SVG artist. One rendering engine with a rich JSON schema, AI controls all design parameters. Renders animated SVGs with CSS @keyframes and SMIL animations. Supports 16+ element types, parametric curves, pattern groups, gradient/filter/clip/mask definitions, and PNG preview. No external dependencies, runs locally via npx.3119 npm32MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for rendering Mermaid diagrams to SVG and converting Markdown with callout blocks into styled PDF reports.MIT
- FlicenseAqualityBmaintenanceAn MCP server that generates standalone SVG architecture diagrams from text descriptions, running entirely on your machine with no dependencies or network access.8-
- AlicenseNot gradedqualityDmaintenanceMCP server that renders AI-authored documents to images and returns typed diagnostics for self-correction. It also provides visual QA metrics, raster-to-vector reconstruction, and image-to-draft proposals.MIT




































