Eraser

API

Diagram API and MCP server that turns prompts or diagram code into diagrams

Price
Free plan; API on paid plans
Access
API token

About

Eraser is a docs and diagrams workspace for engineering teams. Its API and hosted MCP server generate architecture, sequence, ERD and flow diagrams from plain-English prompts or Eraser diagram code. API calls need a paid plan and are billed per call.

What you can do with it

  • Generate an architecture or sequence diagram from a plain-English prompt
  • Render Eraser diagram-as-code into a PNG image without AI
  • Let a coding agent create and update diagrams through the MCP server

Get started

  1. Upgrade to a paid plan and turn on usage-based pricing
  2. Generate an API token in team settings

Example

curl -X POST 'https://app.eraser.io/api/render/prompt' \
  -H "Authorization: Bearer $ERASER_API_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"text": "Draw a data model for a Twitter clone"}'

Details

Hosting
Hosted service
Available in
Worldwide
MCP server
Remote

Tasks

Alternatives

Other tools for the same tasks.

Last checked on .