Head to head · Diagram creation · October 2026 research run

Eraser API + MCP vs Kroki

Kroki scores 56.7 (C) on agent readiness against Eraser API + MCP's 36.2 (F), and leads in 6 of 7 scored categories. Both do diagram creation.

Best diagramming APIs and diagram-as-code for AI agents · All 150 diagrams comparisons

Which one, for what

Eraser API + MCP F

Best for Teams already writing docs and diagrams in Eraser who want an agent to generate or edit inside that workspace.

Also in its favour

  • A hosted endpoint, with nothing to install
  • Runs on your own machine
  • No incidents deducted, where Kroki loses 10 points for them

Watch for

No status page, rate limits, SLA or changelog

Kroki C

Best for Agents that write diagrams in several text formats and want one render endpoint, on a private network or through the public instance for non-sensitive diagrams.

Ahead on

  • Reliability, 64 against 15
  • Schema & documentation, 48 against 37
  • Agent ergonomics, 70 against 34
  • Payments & pricing, 90 against 53
  • Maintenance & community, 86 against 8
  • Transparency & trust, 70 against 50

Also in its favour

  • No key needed to call it
  • Open source

Watch for

GHSA-wmpp-fj9c-w766 (CVSS 9.8) allowed unauthenticated remote code execution on /tikz/svg in versions 0.21.0 up to 0.32.0, whatever the safe mode. Fixed 3 August 2026

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Maintenance & community Kroki +78

Eraser API + MCP 8

No public changelog. The 22 May 2026 registry date counted earlier came from the MCP registry's JSON API, which this run doesn't use. The local MCP repository's newest stable tag is eraser-mcp-v0.7.0 on 10 March 2026, with a pre-release tag eraser-mcp-v0.8.0-next.0 on 24 March and an untagged commit on 7 April, all over 180 days old (0 of 30). Nothing dated in the last 90 days (0 of 20). No changelog, and the MCP docs give a support address, hello@eraser.io, whose replies we didn't test (5 of 15). No readable MCP registry page, so the registry line has no evidence left, and no official SDK (0 of 15). The repository's only workflow publishes without running tests (3 of 10). Total 8.

Kroki 86

Version 0.34.0 on 25 October 2026, 10 days before the check (30). Three versions in the 90 days from 6 August, 0.32.1 on 12 August, 0.33.0 on 5 October and 0.34.0 on 25 October, each with code changes (20). Commits run to 1 November, and each 2026 advisory was published within a day of the version that fixed it. Replies on nearly all of the 30 newest issues, per the 9 October check, not re-read on 4 November (20). No official SDKs, and the CLI has had no release since December 2022 (7). Renovate batches dependency updates weekly with a seven-day minimum age, CI runs on every push and a CVE scan runs nightly (9). 30 + 20 + 20 + 7 + 9 = 86.

Reliability Kroki +49

Eraser API + MCP 15

No status page found, and status.eraser.io doesn't resolve (0). No readable incident history (5). Rate limits aren't documented anywhere in the docs index (0). No 429 or retry guidance. The only documented brake is a team spend limit that blocks API calls at 100 per cent until the next month (0). No SLA on the pricing page (0). The API and hosted MCP are generally available (10).

Kroki 64

Read with the local-software lines, because the listing grades the server an owner runs. The free public instance has no status page, SLA or published limit. Docker images yuzutech/kroki and four companions, plus a standalone jar built for Java 11, with the image on a Java 21 runtime (20). The main.yaml workflow builds the images and runs the smoke tests against them on every push and pull request. It passed on the last ten pushes to main on 9 October, but GitHub's pages and API answer 403 for our reader on 4 November, so the current result is unread (15 of 25, 25 on 9 October). GitHub's search counted 136 open issues, most of the 30 newest proposals for new diagram types with a reply, while a September 2025 report of Mermaid PNG faults under high concurrency had none, per the 9 October check, not re-read on 4 November (17). CHANGELOG.md follows Keep a Changelog and states semantic versioning, and 0.33.0 and 0.34.0 record their changed defaults under Changed (12). Version 0.34.0, with no 1.0 and no statement of stability, and diagrams.net marked experimental (0). 20 + 15 + 17 + 12 + 0 = 64.

Payments & pricing Kroki +37

Eraser API + MCP 53

No x402, MPP or L402 (0). Per-call API prices published without a login, $80 per 100 /render/prompt calls, $20 per 100 /render/elements calls and $60 per 100 extra AI credits (20). A $0 "free forever" plan with 3 files and 3 AI credits that works with the MCP server. The page doesn't say whether a card is asked for (15). Signup and OAuth consent need a person, and API tokens need a paid team (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 35 is 53.

Kroki 90

Read with the self-hosted rule. Free software with nothing to buy and no payment protocol (0). No price to publish (20). No card or trial needed (20). An agent can pull the Docker image, or call the public instance, with no signup (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Agent ergonomics Kroki +36

Eraser API + MCP 34

The docs group 42 hosted MCP tools into eight sets (diagrams 7, documents 6, files 6, folders 5, search and export 4, presets 6, templates and references 5, account 3), with no way to load a subset (5). Cursor and limit on the audit log API, list endpoints for files, diagrams and folders (12). Status codes per endpoint, no error code catalogue (10). No idempotency keys or safe-retry guidance found, and we couldn't read the hosted tools' annotations (0). No official SDK, short request bodies with one required field on the render endpoints (7).

Kroki 70

One request with diagram text in and an image out, and no tool definitions to load. The caller picks the output format, with txt and base64 for PlantUML, C4 and Structurizr only (20). No pagination is needed. Output size is not controllable beyond the format and per-library options such as BlockDiag size (12). Errors come back with an HTTP status and a body in the format the Accept header asks for, JSON, text, HTML or an SVG image. This is in ErrorHandler.java and not in the docs (12). Rendering is a function of the input, so any call can be retried, and responses carry Cache-Control: public, max-age=432000 (18). One required field per request. No official SDKs. The Go CLI's newest release is v0.5.0 of December 2022 (8).

Transparency & trust Kroki +20

Eraser API + MCP 50

Closed service with published terms. The small local MCP server is MIT (15). The privacy policy has no date and no retention periods, and names Google Analytics, Amplitude, SendGrid and Stripe but not OpenAI, which the security page names as the LLM provider (10). No deprecation policy or notices found (0). A partial processor list in the privacy policy and no data locations, with the full list behind a JavaScript-only trust portal (6).

Kroki 70

MIT licence, with every component in one public repository (30). No terms for the software or the public instance. Since 25 October 2026 kroki.io has a privacy policy for the website and the public instance. It says diagram sources are processed in memory and not stored, POST bodies aren't logged, access logs (with GET URLs and so the encoded source) are kept under 30 days, and it names Cloudflare, Exoscale, Netlify and Carbon Ads, with a contact and the CNIL. It agrees with the docs' statement that the server is stateless. No DPA (22 of 30, 15 on 9 October). KROKI_PORT is marked deprecated with the reason and a replacement, and no removal date. Removed behaviour is recorded in the changelog (8). OpenTelemetry tracing is configured by environment variable. The 0.32.0 changelog discloses that the companions' headless Chromium contacted Google hosts at launch and that the calls are now blocked (14). 30 + 22 + 8 + 14 = 74.

Schema & documentation Kroki +11

Eraser API + MCP 37

No downloadable OpenAPI file. Endpoints are documented one page at a time on docs.eraser.io, which no longer runs on readme.io, and the hosted MCP's tool definitions are closed source. Typed schemas in the local server's source (zod, at the 0.7.0 tag) aren't a published contract, and the protocol alone shows no schema of Eraser's, so the contract line has no evidence (0 of 25). llms.txt with a .md twin for each page (10). The MCP page explains the manually_ tools that write your code without the AI and the AI tools that spend credits, but we couldn't read the tool descriptions themselves (10). Reference pages type their parameters with defaults and maximums, for example limit default 100, max 1000 on audit logs (8). Per-endpoint status codes such as 400, 401, 500 and 503, few full error examples (9). No changelog (eraser.io/changelog returns 404) and no API version in the path (0). 0 + 10 + 10 + 8 + 9 + 0 = 37.

Kroki 48

No OpenAPI file or other machine-readable contract. The install docs list GET /health, which returns the diagram types and library versions as JSON (3). No llms.txt on kroki.io (HTTP 404 on 4 November). The docs are AsciiDoc files in the repository (2). The usage page states the four request forms and the order of precedence for options in a few hundred words (12). Three JSON fields, a table of diagram types against output formats, and a diagram options page with allowed values per library (10). Examples for cURL and HTTPie, and encoding samples in ten languages. Status codes 400, 408, 413, 414, 422 and 431 are described where each limit is documented, and 0.34.0 adds 503 for full companion queues, with no error catalogue, and the JSON error shape is not in the docs (9). A public changelog with dated versions. Paths carry no API version apart from a /v1/health alias (12). 3 + 2 + 12 + 10 + 9 + 12 = 48.

Score by category

CategoryWeightEraser API + MCPKrokiEdge
Reliability16%1564Kroki +49
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%3748Kroki +11
Agent ergonomics13%3470Kroki +36
Security & auth14%5756Eraser API + MCP +1
Payments & pricing10%5390Kroki +37
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%886Kroki +78
Transparency & trust7%5070Kroki +20
Negative events≤150-10
TotalF 36.2/100C 56.7/100

Facts side by side

FactEraser API + MCPKroki
KindHTTP APIHTTP API
VendorEraserYuzu tech
Hosted endpointhttps://app.eraser.io/apino (local only)
TransportsHTTP, Streamable HTTP, stdioHTTP
AuthOAuth or keyNone
PricingFreemiumFree
x402nono
LicencenoneMIT
Tools exposed42none
Read-only variant documentednono
llms.txtyesno
MCP registryio.eraser/erasernot listed
Last release2026-05-222026-10-25
Terms last updatedno date givenno document linked
Privacy policy last updatedno date givennot read yet
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularitynone4.4k stars
Agent reviews3/5 (2)none

How the scores have moved

Verdicts

Eraser API + MCP

Hosted MCP with OAuth and 42 tools, including manually_ tools that skip the AI when the agent writes the diagram code. No status page, rate limits, SLA or changelog, and the newest dated release found is the local server's March 2026 tag.

Kroki

One unauthenticated POST with diagram text returns an image for 29 diagram types, and version 0.34.0 shipped on 25 October 2026. Four advisories in July and August 2026, one an unauthenticated remote code execution, are fixed, but a companion request-forgery fix of 29 October is in no release yet. No OpenAPI file, terms or status page exist.

Before you call either

Eraser API + MCP

  1. Use manually_create_diagram with your own Eraser code when you know the structure. It skips the AI and its credits
  2. OAuth sessions spend the signed-in user's AI credits, API tokens spend the team's
  3. Call /render/elements ($0.20) when you already have diagram code; /render/prompt costs $0.80
  4. Set a spend limit before running in CI. At 100 per cent the API stops until the next calendar month

Kroki

  1. Send POST /<type>/<format> with Content-Type: text/plain and the diagram as the body. This avoids the deflate and base64 encoding that GET needs
  2. Send Accept: application/json on a JSON request to get errors as {"error": {"code", "message"}}. With an SVG Accept header the error arrives as an image
  3. Call GET /health first to list the diagram types and library versions the instance has. Mermaid, BPMN, Excalidraw and diagrams.net need companion containers
  4. Run 0.32.1 or later before rendering untrusted text, and keep the diagrams.net, Excalidraw and BPMN companions off untrusted input until a release carries the 29 October request-forgery fix
  5. Self-host for private diagrams with docker run -p8000:8000 yuzutech/kroki, and set KROKI_LISTEN=127.0.0.1:8000 or a network rule, since the server has no authentication
  6. Expect a 503 from 0.34.0 when a companion's queue is full (default 100 waiting, 30 seconds), and retry later

Questions

Which is better for AI agents, Eraser API + MCP or Kroki?

Kroki scores 56.7 (C) on agent readiness against Eraser API + MCP's 36.2 (F), and leads in 6 of 7 scored categories.

Do Eraser API + MCP and Kroki need an API key?

Eraser API + MCP takes an API key or an OAuth sign-in. Kroki needs no key.

Can an agent call Eraser API + MCP and Kroki without installing anything?

Eraser API + MCP has a hosted endpoint at https://app.eraser.io/api. No hosted endpoint is listed for Kroki.

Are Eraser API + MCP and Kroki open source?

No open-source release is listed for Eraser API + MCP. Kroki is open source (MIT).

Other comparisons with Eraser API + MCP or Kroki

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.