{
  "data": {
    "a": {
      "slug": "ai-diagram-maker-mcp",
      "name": "AI Diagram Maker MCP",
      "vendor": "AI Diagram Maker (Rajasekar Elango)",
      "vendorUrl": "https://www.aidiagrammaker.com",
      "kind": "mcp",
      "category": "diagramming",
      "summary": "AI Diagram Maker MCP is an MIT-licensed MCP server, hosted or run with npx, that sends text, JSON, ASCII art, images or Mermaid to the AI Diagram Maker service and returns a D2 software diagram with an edit link.",
      "url": "https://www.anchorterminal.com/tools/ai-diagram-maker-mcp",
      "markdownUrl": "https://www.anchorterminal.com/tools/ai-diagram-maker-mcp.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/ai-diagram-maker-mcp.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/ai-diagram-maker-mcp.json",
      "dns": "ai-diagram-maker-mcp.grade.anchorterminal.com",
      "repo": "https://github.com/erajasekar/ai-diagram-maker-mcp",
      "license": "MIT for the MCP server. The AI Diagram Maker service it calls is closed, under terms last updated 24 September 2025",
      "transports": [
        "streamable-http",
        "stdio"
      ],
      "remoteUrl": "https://mcp.aidiagrammaker.com/mcp",
      "packages": [
        {
          "registry": "npm",
          "name": "ai-diagram-maker-mcp"
        }
      ],
      "auth": "api-key",
      "authNotes": "An API key created in the AI Diagram Maker app under Settings \u003e API Keys, shown once, named, and deactivated, reactivated or deleted from the same page. No scopes; the user guide says anyone with the key can access the account. The hosted server takes it in `X-ADM-API-Key` or `Authorization: Bearer`, the local server in `ADM_API_KEY`. No OAuth.",
      "pricing": "freemium",
      "pricingNotes": "Basic is free with 50 AI credits a month. Plus $10 a month ($96 a year) with 250 credits, Max $20 a month ($192 a year) with 500. One credit is 1,000 tokens, and extra credits can't be bought. Which plans include API and MCP use isn't stated.",
      "priceSummary": "$10 / mo",
      "where": "both",
      "x402": {
        "level": "no",
        "evidence": "Plans sold through Lemon Squeezy checkout links. No x402, MPP or L402 in the repository, the OpenAPI file or the site (checked 2026-11-06). Out of credits returns 402 with no payment requirements.",
        "endpoints": []
      },
      "toolCount": 5,
      "popularity": {
        "githubStars": null,
        "npmWeekly": 63,
        "pypiWeekly": null,
        "asOf": "2026-11-06"
      },
      "docsUrl": "https://github.com/erajasekar/ai-diagram-maker-mcp#readme",
      "openapi": "https://github.com/erajasekar/ai-diagram-maker-mcp/blob/main/apispec/adm-openapi.json",
      "registryName": "io.github.erajasekar/ai-diagram-maker-mcp",
      "capabilities": [
        "diagram.create",
        "diagram.architecture",
        "diagram.as-code",
        "diagram.export"
      ],
      "tags": [
        "hosted",
        "local",
        "mcp",
        "remote-mcp",
        "stdio",
        "mcp-registry",
        "openapi",
        "api-key",
        "freemium",
        "d2",
        "mcp-apps"
      ],
      "lastRelease": "2026-04-10",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 43.8,
        "grade": "E",
        "agentReady": false,
        "rank": 1225,
        "ranked": true,
        "rankOf": 1486,
        "categoryRank": 13,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 66,
          "maintenance": 17,
          "payments": 20,
          "reliability": 30,
          "schema": 75,
          "security": 45,
          "transparency": 35
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-06"
        },
        "negative": 0,
        "verdict": "Five compact, typed tools turn text, JSON, ASCII art, images or Mermaid into an editable D2 diagram, and the API documents its error and rate-limit responses. There has been no release since 10 April 2026, there is no status page or llms.txt, and the API key opens the whole account with no scopes.",
        "bestFor": "Quick architecture, sequence, ERD and flowchart diagrams from a coding agent, with a link to edit them.",
        "strengths": [
          "Five tools with zod schemas, a diagramType enum and descriptions that say when to use each",
          "OpenAPI 3 file for the generate endpoint with documented 402, 422 and 429 responses",
          "A 429 body gives limit, remaining, resetAt and retryAfter",
          "Hosted endpoint with nothing to install, or a local npx server",
          "Output stays editable as D2 in the app and exports to SVG, PNG or Mermaid"
        ],
        "weaknesses": [
          "Last release 3.0.8 on 10 April 2026, and the registry entry still says 1.0.0",
          "No status page, SLA, llms.txt, changelog or security policy found",
          "API keys have no scopes and give full account access",
          "Plans don't say whether API and MCP calls are included, and an open issue asks how hosted MCP credits are counted",
          "The privacy policy names no AI model providers or other processors"
        ],
        "agentNotes": [
          "Send the key in the `X-ADM-API-Key` header to https://mcp.aidiagrammaker.com/mcp, never in the URL",
          "Pick `diagramType` from the enum when the user names one; leave it out to let the service choose",
          "On a 402 stop and tell the user credits are gone; they reset monthly and can't be topped up",
          "On a 429 wait for `retryAfter` seconds before the next call",
          "Give the user the returned diagram link so they can edit it, since the tools can't revise an existing diagram"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "E",
            "methodology": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 43.8
          }
        ],
        "editorialScores": {
          "ergonomics": 66,
          "maintenance": 17,
          "payments": 20,
          "reliability": 30,
          "schema": 75,
          "security": 45,
          "transparency": 28
        },
        "provenanceScore": 42,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-06",
            "maintenance": "2026-11-06",
            "payments": "2026-11-06",
            "reliability": "2026-11-06",
            "schema": "2026-11-06",
            "security": "2026-11-06",
            "transparency": "2026-11-06"
          },
          "last": "2026-11-06",
          "oldest": "2026-11-06",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "ADM_API_KEY=your_api_key npx ai-diagram-maker-mcp@latest",
        "claudeCode": "claude mcp add ai-diagram-maker -t stdio -e ADM_API_KEY=\u003capi_key\u003e -- npx -y ai-diagram-maker-mcp@latest",
        "config": {
          "mcpServers": {
            "ai-diagram-maker": {
              "headers": {
                "X-ADM-API-Key": "YOUR_API_KEY"
              },
              "url": "https://mcp.aidiagrammaker.com/mcp"
            }
          }
        }
      },
      "letme": {
        "capability": "https://letme.dev/diagram.create",
        "tool": "https://letme.dev/ai-diagram-maker-mcp"
      },
      "area": "design-diagrams",
      "unitPrices": [
        {
          "item": "Plus plan",
          "unit": "month",
          "usd": 10,
          "note": "250 AI credits a month; $96 billed yearly"
        },
        {
          "item": "Max plan",
          "unit": "month",
          "usd": 20,
          "note": "500 AI credits a month; $192 billed yearly"
        }
      ],
      "provenance": {
        "legalEntity": "",
        "domain": "aidiagrammaker.com",
        "domainRegistered": "2025-08-21",
        "endpointOnVendorDomain": true,
        "terms": "https://www.aidiagrammaker.com/terms",
        "privacy": "https://www.aidiagrammaker.com/privacy",
        "statusPage": "",
        "changelog": "",
        "securityTxt": "none",
        "checked": "2026-11-06",
        "notes": [
          "The terms and privacy policy, both last updated 24 September 2025, name the company only as AI Diagram Maker, under United States law, with aidiagrammaker@gmail.com as the contact. The npm package names Rajasekar Elango as author.",
          "The terms list scraping among prohibited uses. Public pages were read as data.",
          "www.aidiagrammaker.com/robots.txt allows all paths.",
          "RDAP gives aidiagrammaker.com a registration date of 21 August 2025.",
          "/.well-known/security.txt returns 404. No status page or changelog found; the GitHub releases are the only dated record."
        ],
        "score": 42
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/ai-diagram-maker-mcp.json",
      "live": {
        "slug": "ai-diagram-maker-mcp",
        "probe": {
          "target": "https://mcp.aidiagrammaker.com/mcp",
          "method": "mcp-initialize",
          "lastAt": "2026-11-07T18:20:09.018580127Z",
          "lastOk": false,
          "lastStatus": 0,
          "lastMs": 0,
          "lastNote": "TLS certificate problem",
          "authRequired": false,
          "uptime24h": 0,
          "uptime30d": 0,
          "p50ms24h": 0,
          "p95ms24h": 0,
          "samples24h": 200,
          "samples30d": 200,
          "days": [
            {
              "date": "2026-11-06",
              "probes": 13,
              "ok": 0
            },
            {
              "date": "2026-11-07",
              "probes": 187,
              "ok": 0
            }
          ],
          "outages": [
            {
              "start": "2026-11-06T22:45:03.399368446Z",
              "end": "0001-01-01T00:00:00Z",
              "note": "TLS certificate problem"
            }
          ]
        },
        "versions": [
          {
            "registry": "mcp-registry",
            "name": "io.github.erajasekar/ai-diagram-maker-mcp",
            "version": "1.0.0",
            "seenAt": "2026-11-07T18:16:28.95801333Z"
          },
          {
            "registry": "npm",
            "name": "ai-diagram-maker-mcp",
            "version": "3.0.8",
            "seenAt": "2026-11-06T23:04:20.113009064Z"
          }
        ],
        "githubStars": 10,
        "npmWeekly": 63,
        "securityTxt": {
          "url": "https://aidiagrammaker.com/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-11-07T16:00:48.542497373Z"
        },
        "pages": [
          {
            "url": "https://www.aidiagrammaker.com/privacy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-11-07T14:24:25.783359417Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "40a879ba4963"
          },
          {
            "url": "https://www.aidiagrammaker.com/terms",
            "kind": "terms",
            "status": 200,
            "checkedAt": "2026-11-07T14:24:27.95923952Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "9b4e6f213ed0"
          }
        ],
        "mcpTools": {
          "url": "https://mcp.aidiagrammaker.com/mcp",
          "checkedAt": "2026-11-07T01:42:20.967941233Z",
          "status": "error",
          "note": "Post \"https://mcp.aidiagrammaker.com/mcp\": tls: failed to verify certificate: x509: certificate is valid for *.up.railway.app, up.railway.app, not mcp.aidiagrammaker.com",
          "changedAt": "2026-11-07T01:42:20.967941233Z"
        },
        "updatedAt": "2026-11-07T18:20:09.018580127Z"
      }
    },
    "answer": "D2 scores 62.3 (B) on agent readiness against AI Diagram Maker MCP's 43.8 (E), and leads in 6 of 7 scored categories. AI Diagram Maker MCP leads on schema \u0026 documentation.",
    "b": {
      "slug": "d2",
      "name": "D2",
      "vendor": "D2 project (The Hack Foundation)",
      "vendorUrl": "https://d2lang.com",
      "kind": "sdk",
      "category": "diagramming",
      "summary": "D2 is an open-source diagram scripting language that turns text into SVG, PNG, PDF, PPTX, GIF or ASCII diagrams. Agents run it as a local CLI, a Go library or the `@d2lang/d2` WebAssembly package.",
      "url": "https://www.anchorterminal.com/tools/d2",
      "markdownUrl": "https://www.anchorterminal.com/tools/d2.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/d2.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/d2.json",
      "dns": "d2.grade.anchorterminal.com",
      "repo": "https://github.com/d2lang/d2",
      "license": "MPL-2.0",
      "transports": [],
      "packages": [
        {
          "registry": "npm",
          "name": "@d2lang/d2"
        },
        {
          "registry": "go",
          "name": "github.com/d2lang/d2"
        },
        {
          "registry": "oci",
          "name": "d2lang/d2"
        }
      ],
      "auth": "none",
      "authNotes": "No account, key or login. The CLI, the Go library and the WebAssembly package run on the owner's machine with the owner's file and network rights. `d2 --watch` serves a preview on localhost.",
      "pricing": "free",
      "pricingNotes": "Free under MPL-2.0 with nothing to buy. The TALA layout engine, once a paid plugin with a licence key, has been bundled and open source since 0.9.0. The project takes donations through a public Hack Club fund (https://d2lang.com/sponsor/).",
      "priceSummary": "Free · OSS",
      "where": "local",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the docs or the source. The maintainer's 5 September 2026 post rules out any server-side service (checked 2026-10-08).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 25581,
        "npmWeekly": 21627,
        "pypiWeekly": null,
        "asOf": "2026-10-08"
      },
      "docsUrl": "https://d2lang.com/tour/intro/",
      "capabilities": [
        "diagram.as-code",
        "diagram.create",
        "diagram.export",
        "diagram.edit",
        "diagram.architecture"
      ],
      "tags": [
        "open-source",
        "local",
        "cli",
        "go",
        "wasm",
        "diagram-as-code",
        "no-auth",
        "free",
        "non-profit",
        "docker"
      ],
      "lastRelease": "2026-09-07",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 62.3,
        "grade": "B",
        "agentReady": false,
        "rank": 561,
        "ranked": true,
        "rankOf": 1486,
        "categoryRank": 4,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 78,
          "maintenance": 74,
          "payments": 60,
          "reliability": 68,
          "schema": 65,
          "security": 48,
          "transparency": 70
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-02"
        },
        "negative": -3,
        "negativeNotes": [
          "2026-09-11. Security fixes to D2's own code sit on the default branch in no release. They are SVG escaping of colour attributes, custom class attributes and SQL-table constraint text (pull requests 2909, 2895 and 2903, branches named security/), described in the unreleased notes as preventing diagram or raw render values from breaking out of SVG text and attributes, and authentication for the watch server's HTTP and WebSocket access (2910). 0.9.0 (7 September) is still the latest release on 2 November 2026, with no advisory. A fix to the listing's own code in no release takes -3, the fixes folded into one term. https://github.com/d2lang/d2/blob/master/ci/release/changelogs/next.md"
        ],
        "verdict": "A single local command turns text into a diagram in six formats with no account, key or network call. The language is at 0.9.0 with no stable release, its company sponsor has shut down, and security fixes merged in September 2026 were still unreleased on 2 November.",
        "bestFor": "Agents that need to produce or edit architecture, sequence, grid, SQL table or class diagrams as reviewable text and render them locally.",
        "strengths": [
          "One command reads D2 from stdin and writes SVG, PNG, PDF, PPTX, GIF or ASCII to stdout, with no account or key",
          "MPL-2.0 throughout, and the TALA layout engine has been open source and bundled since 0.9.0 on 7 September 2026",
          "`d2 validate` and `d2 fmt --check` let an agent test a diagram before rendering it",
          "The `d2oracle` Go package creates, sets, moves, renames and deletes shapes without mutating the input graph",
          "Release archives carry SHA-256 sums, signed provenance and SBOM attestations since 0.8.2"
        ],
        "weaknesses": [
          "No 1.0 release. The maintainer lists a stable 1.0 with a formal grammar as a goal, and 0.8.2 changed Dagre and ELK layout output",
          "Terrastruct, the company that built D2, is shutting down. The project is now donation-funded under The Hack Foundation",
          "All 317 commits since 8 July 2026 are by one maintainer, who says his time on D2 is limited",
          "Security fixes merged on 11 and 12 September 2026, among them SVG escaping and an authenticated watch server, were still in no release on 2 November, and the repository has no security policy",
          "No llms.txt, no machine-readable grammar and no MCP server. The maintainer rules out an MCP server and a hosted API"
        ],
        "agentNotes": [
          "Check the exit status of `d2`, never the output file. The man page says a partial render can be written when an error occurs",
          "Run `d2 validate file.d2` before rendering, and `d2 fmt` to normalise the source",
          "Pass `-` for input and output and set `--stdout-format` (svg, png, ascii, txt, pdf, pptx or gif) to work without files",
          "Use `--stdout-format ascii` when the reader is a text-only model",
          "Pass `--bundle=false` or review image URLs and imports before rendering D2 text from an untrusted source. Release 0.9.0 fetches remote images when bundling"
        ],
        "metrics": {
          "kind": "local",
          "measured": false
        },
        "reviewCount": 4,
        "avgRating": 3.5,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 62.3
          }
        ],
        "editorialScores": {
          "ergonomics": 78,
          "maintenance": 74,
          "payments": 60,
          "reliability": 68,
          "schema": 65,
          "security": 48,
          "transparency": 74
        },
        "provenanceScore": 66,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-02",
            "maintenance": "2026-11-02",
            "payments": "2026-11-02",
            "reliability": "2026-11-02",
            "schema": "2026-11-02",
            "security": "2026-11-02",
            "transparency": "2026-11-02"
          },
          "last": "2026-11-02",
          "lastMoved": "2026-11-02",
          "oldest": "2026-11-02",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "curl -fsSL https://d2lang.com/install.sh | sh -s --   # or: brew install d2, go install github.com/d2lang/d2@latest, npm install @d2lang/d2"
      },
      "letme": {
        "capability": "https://letme.dev/diagram.as-code",
        "tool": "https://letme.dev/d2"
      },
      "area": "design-diagrams",
      "provenance": {
        "legalEntity": "The Hack Foundation (Hack Club), fiscal sponsor of the D2 project",
        "domain": "d2lang.com",
        "domainRegistered": "2022-10-24",
        "endpointOnVendorDomain": null,
        "terms": "",
        "privacy": "",
        "statusPage": "",
        "changelog": "https://d2lang.com/releases/intro/",
        "securityTxt": "none",
        "checked": "2026-10-08",
        "notes": [
          "The sponsor page says D2 is fiscally sponsored by The Hack Foundation, the 501(c)(3) nonprofit behind Hack Club, after the lead maintainer donated the project in August 2026 (https://d2lang.com/sponsor/)",
          "LICENSE.txt still reads Copyright 2022 Terrastruct Inc. The 5 September 2026 post says that company is shutting down, and terrastruct.com now redirects to d2lang.com",
          "No terms or privacy document governs the software. The MPL-2.0 licence stands in",
          "https://d2lang.com/.well-known/security.txt answered 404 on 8 October 2026, and the repository has no SECURITY.md",
          "The repository moved from github.com/terrastruct/d2, which redirects, to github.com/d2lang/d2"
        ],
        "score": 66
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/d2.json",
      "live": {
        "slug": "d2",
        "versions": [
          {
            "registry": "github",
            "name": "d2lang/d2",
            "version": "v0.9.0",
            "released": "2026-09-07",
            "seenAt": "2026-11-06T23:19:13.89136193Z"
          },
          {
            "registry": "npm",
            "name": "@d2lang/d2",
            "version": "0.1.34",
            "seenAt": "2026-11-06T23:19:13.675323683Z"
          }
        ],
        "githubStars": 25802,
        "npmWeekly": 18938,
        "securityTxt": {
          "url": "https://d2lang.com/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-11-07T15:59:57.195327693Z"
        },
        "domain": {
          "domain": "d2lang.com",
          "registered": "2022-10-24",
          "source": "https://rdap.verisign.com/com/v1/domain/d2lang.com",
          "checkedAt": "2026-11-01T14:17:58.520893515Z"
        },
        "pages": [
          {
            "url": "https://d2lang.com/releases/intro/",
            "kind": "changelog",
            "status": 304,
            "checkedAt": "2026-11-07T14:02:19.476495059Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "9eb891f2acbe"
          },
          {
            "url": "https://d2lang.com/releases/0.9.0/",
            "kind": "deprecations",
            "status": 304,
            "checkedAt": "2026-11-07T14:02:17.462338342Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "94481067a783"
          }
        ],
        "github": {
          "repo": "d2lang/d2",
          "checkedAt": "2026-11-02T08:42:40.291131728Z",
          "stars": 25779,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-10-11T23:37:43Z",
          "openIssues": 483,
          "openPRs": 60,
          "issuesOpened90d": 22,
          "issuesClosed90d": 34,
          "prsMerged90d": 105,
          "ci": {
            "branch": "master",
            "runs": 50,
            "success": 28,
            "failure": 1,
            "other": 21,
            "latest": "success",
            "latestAt": "2026-10-11T23:51:51Z"
          },
          "replies": {
            "sampled": 25,
            "unanswered": 19,
            "medianDays": 8
          }
        },
        "updatedAt": "2026-11-07T15:59:57.195327693Z"
      }
    },
    "edges": [
      {
        "by": 57,
        "category": "maintenance",
        "leads": "d2",
        "name": "Maintenance \u0026 community",
        "reasons": {
          "a": "Last release v3.0.8, published to npm on 10 April 2026, 210 days before this check (0). No release since 8 August (0). Four issues in all. The two open ones, from 4 May (hosted MCP credit usage) and 13 October 2026, show no reply, and one closed issue had a comment (5 of 25). In the official MCP registry under the GitHub-verified namespace io.github.erajasekar, but the entry is 1.0.0 from 19 March 2026 while npm is on 3.0.8 (10 of 15). The only workflow publishes to the registry. No tests or CI, and the MCP SDK floor is ^1.9.0 (2 of 10). 0 + 0 + 5 + 10 + 2 = 17.",
          "b": "Release 0.9.0 on 7 September 2026, 56 days before this check, and no release since (20). Five tagged versions since 4 August, 0.7.2, 0.8.0 and 0.8.1 on 6 August, 0.8.2 on 24 August and 0.9.0 (20); the three 6 August versions leave the 90-day window after 4 November. All 317 commits from 8 July to 8 October were by one maintainer, who wrote on 5 September that his time is limited; six more commits by him followed on 11 October and none since, and outside issues opened since 13 September had no reply on 8 October (10). The Go library and `@d2lang/d2` 0.1.34 match 0.9.0 (15). Go 1.27, dependencies refreshed in 0.8.2 and CI on every push (9). 20+20+10+15+9 = 74."
        },
        "scores": {
          "a": 17,
          "b": 74
        }
      },
      {
        "by": 40,
        "category": "payments",
        "leads": "d2",
        "name": "Payments \u0026 pricing",
        "reasons": {
          "a": "No x402, MPP or L402 (0). Plan prices are public (Plus $10, Max $20 a month), with credits counted at 1,000 tokens each, so there's no per-diagram price (10 of 20). Basic is free forever with 50 credits a month, but the page doesn't say whether a card is needed or whether API and MCP calls are included (10 of 20, half as with an unstated card rule). A person signs up in the app and creates the key (0). 0 + 10 + 10 + 0 = 20.",
          "b": "Read with the self-hosted rule. Free MPL-2.0 software with nothing to buy and no payment protocol (0). No price to publish (20). No card or trial needed (20). An agent can install and run it with no signup (20)."
        },
        "scores": {
          "a": 20,
          "b": 60
        }
      },
      {
        "by": 38,
        "category": "reliability",
        "leads": "d2",
        "name": "Reliability",
        "reasons": {
          "a": "Hosted lines, because every tool call is generated on the AI Diagram Maker service, through the hosted endpoint or the npx server. No status page found on the site or in the README (0). No readable incident history (5). The only rate-limit number is the example in the OpenAPI 429 schema ('Maximum 100 requests per day exceeded.'), which isn't stated as the limit (5 of 15). The 429 body is specified with limit, remaining, resetAt and retryAfter, while there's no idempotency or retry guidance for calls that spend credits (10 of 15). No SLA found (0). Nothing labels the service or server beta (10). 0 + 5 + 5 + 10 + 0 + 10 = 30.",
          "b": "Read with the local-software lines, because D2 runs on the owner's machine. Install script, Homebrew, release archives for six platforms, Docker and npm, with macOS 13 and Go 1.27 stated (20). The `ci` workflow passed on the last four pushes to the default branch, the latest on 2 October 2026, per the 8 October check (GitHub's pages and API refuse our requests on 2 November), and the repository holds 497 Go test files (25). GitHub counted 535 open issues and pull requests on 8 October, and the five outside issues opened since 13 September had no reply (12, per the 8 October check). Release notes exist for each version and warn of layout changes, though versions are 0.x and we found no note for the Go import path moving to `github.com/d2lang/d2` (11). The latest release is 0.9.0, and the maintainer lists a stable 1.0 as a goal (0)."
        },
        "scores": {
          "a": 30,
          "b": 68
        }
      },
      {
        "by": 35,
        "category": "transparency",
        "leads": "d2",
        "name": "Transparency \u0026 trust",
        "reasons": {
          "a": "The MCP server is MIT (package.json and LICENSE, added 18 March 2026). The service is closed, under terms last updated 24 September 2025 that name the operator only as AI Diagram Maker (20 of 30). The privacy policy of the same date keeps diagrams, revisions and chat prompts and responses 'as long as necessary', and the terms license user input 'to provide and improve our services', with no retention periods and no word on model training or the AI providers used (8 of 30). No deprecation policy or dated notices (0). No subprocessors or data locations named (0). The MCP server's source sends no telemetry of its own. 20 + 8 + 0 + 0 = 28.",
          "b": "MPL-2.0 for the language, the renderers and TALA (30). No privacy policy, and the software runs locally. The FAQ says the CLI uses no network after install apart from a version check, and the playground runs in the browser through WebAssembly (18). Release notes mark deprecated Go and d2.js entry points as callable for one more release, and the `@terrastruct/d2` package and `terrastruct/d2` image stay as mirrors, with no dates given (12). The FAQ states there is no telemetry. We found no documented switch for the version check (14)."
        },
        "scores": {
          "a": 35,
          "b": 70
        }
      },
      {
        "by": 12,
        "category": "ergonomics",
        "leads": "d2",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "Five compact tools (25). Output can be SVG or PNG and the API can return the D2 source with `debug`, but there's nothing to page or trim, and results carry the rendered image (10 of 20). Typed error bodies with codes, a 422 that returns the failing D2 code, and retryAfter on 429 (16 of 20). No readOnlyHint or other annotations in the source and no idempotency key, and every call spends credits (5 of 20). Only `content` is required and the hosted endpoint needs no install, but there is no SDK beyond the server (10 of 15). 25 + 10 + 16 + 5 + 10 = 66.",
          "b": "One command with text in and a diagram out, and no tool definitions to load (22). `--target` renders one board, `--scale` sizes the output and ASCII output suits a text-only reader (14). `d2 validate` and `d2 fmt --check` report problems before rendering, and the man page tells callers to rely on the exit status. No list of error codes (13). Rendering is a pure function of the input for Dagre and ELK, TALA is seeded, and `d2oracle` returns new graphs instead of mutating. A partial file can be written on error (15). `d2 in.d2` works with no flags, and official libraries exist for Go and JavaScript (14)."
        },
        "scores": {
          "a": 66,
          "b": 78
        }
      },
      {
        "by": 10,
        "category": "schema",
        "leads": "ai-diagram-maker-mcp",
        "name": "Schema \u0026 documentation",
        "reasons": {
          "a": "All five tools have zod input schemas in src/tools, and the repository ships an OpenAPI 3 file for POST /api/v2/diagrams/generate (25). No llms.txt (404) and no docs site for agents beyond the README (0). Each description says what the tool does and when to use it, listing trigger phrases and the diagram types, without saying when another tool fits better (16 of 20). `content` has a minimum length and `diagramType` an eight-value enum; the OpenAPI adds `inputType` and `format` enums (13 of 15). Examples in the parameter descriptions and README, and the OpenAPI documents 400, 401, 402, 422 (D2 failed to compile) and 429 with typed error bodies (13 of 15). Git tags from v1.1.1 to v3.0.8 and a /api/v2 path, with no changelog or release notes (8 of 15). 25 + 0 + 16 + 13 + 13 + 8 = 75.",
          "b": "Read as a CLI and library. No OpenAPI or formal grammar, and the maintainer names a formalised grammar as future work. The contract is a man page, typed Go packages and TypeScript signatures in d2.js (12). No llms.txt (HTTP 404), though the docs are Markdown in a public repository (3). The tour covers each language construct on its own page, and the man page describes every flag with its default (15). Flags are typed with defaults and environment variables, and d2.js lists its compile and render options (10). Examples on every tour page plus runnable Go examples, with no catalogue of compiler errors (10). Release notes for every version on the docs site and a separate d2.js changelog (15)."
        },
        "scores": {
          "a": 75,
          "b": 65
        }
      }
    ],
    "facts": [
      {
        "a": "MCP server",
        "b": "SDK + MCP",
        "name": "Kind"
      },
      {
        "a": "AI Diagram Maker (Rajasekar Elango)",
        "b": "D2 project (The Hack Foundation)",
        "name": "Vendor"
      },
      {
        "a": "https://mcp.aidiagrammaker.com/mcp",
        "b": "no (local only)",
        "name": "Hosted endpoint"
      },
      {
        "a": "Streamable HTTP, stdio",
        "b": "",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "None",
        "name": "Auth"
      },
      {
        "a": "Freemium",
        "b": "Free",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "MIT for the MCP server. The AI Diagram Maker service it calls is closed, under terms last updated 24 September 2025",
        "b": "MPL-2.0",
        "name": "Licence"
      },
      {
        "a": "5",
        "b": "none",
        "name": "Tools exposed"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "no",
        "b": "no",
        "name": "llms.txt"
      },
      {
        "a": "io.github.erajasekar/ai-diagram-maker-mcp",
        "b": "not listed",
        "name": "MCP registry"
      },
      {
        "a": "2026-04-10",
        "b": "2026-09-07",
        "name": "Last release"
      },
      {
        "a": "2025-09-24",
        "b": "no document linked",
        "name": "Terms last updated"
      },
      {
        "a": "2025-09-24",
        "b": "no document linked",
        "name": "Privacy policy last updated"
      },
      {
        "a": "not found in the text",
        "b": "not read yet",
        "name": "Customer content may train models"
      },
      {
        "a": "yes",
        "b": "not read yet",
        "name": "Terms restrict automated access"
      },
      {
        "a": "not found in the text",
        "b": "not read yet",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "not found in the text",
        "b": "not read yet",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "not found in the text",
        "b": "not read yet",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "63 npm/wk",
        "b": "26k stars, 22k npm/wk",
        "name": "Popularity"
      },
      {
        "a": "none",
        "b": "3.5/5 (4)",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "D2 scores 62.3 (B) on agent readiness against AI Diagram Maker MCP's 43.8 (E), and leads in 6 of 7 scored categories. AI Diagram Maker MCP leads on schema \u0026 documentation.",
        "question": "Which is better for AI agents, AI Diagram Maker MCP or D2?"
      },
      {
        "answer": "AI Diagram Maker MCP has a hosted endpoint at https://mcp.aidiagrammaker.com/mcp. No hosted endpoint is listed for D2.",
        "question": "Can an agent call AI Diagram Maker MCP and D2 without installing anything?"
      },
      {
        "answer": "No open-source release is listed for AI Diagram Maker MCP. D2 is open source (MPL-2.0).",
        "question": "Are AI Diagram Maker MCP and D2 open source?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Schema \u0026 documentation, 75 against 65"
        ],
        "also": [
          "A hosted endpoint, with nothing to install",
          "Runs on your own machine",
          "No incidents deducted, where D2 loses 3 points for them"
        ],
        "goodFor": "Quick architecture, sequence, ERD and flowchart diagrams from a coding agent, with a link to edit them.",
        "slug": "ai-diagram-maker-mcp",
        "watchFor": "Last release 3.0.8 on 10 April 2026, and the registry entry still says 1.0.0"
      },
      {
        "aheadOn": [
          "Reliability, 68 against 30",
          "Agent ergonomics, 78 against 66",
          "Payments \u0026 pricing, 60 against 20",
          "Maintenance \u0026 community, 74 against 17",
          "Transparency \u0026 trust, 70 against 35"
        ],
        "also": [
          "No key needed to call it",
          "Open source"
        ],
        "goodFor": "Agents that need to produce or edit architecture, sequence, grid, SQL table or class diagrams as reviewable text and render them locally.",
        "slug": "d2",
        "watchFor": "No 1.0 release. The maintainer lists a stable 1.0 with a formal grammar as a goal, and 0.8.2 changed Dagre and ELK layout output"
      }
    ],
    "history": {
      "ai-diagram-maker-mcp": null,
      "d2": [
        {
          "causes": [
            "correction"
          ],
          "date": "2026-11-02",
          "delta": -3,
          "from": 65.3,
          "fromGrade": "B",
          "to": 62.3,
          "toGrade": "B"
        },
        {
          "causes": [
            "method"
          ],
          "date": "2026-10-27",
          "delta": 0,
          "from": 65.3,
          "fromGrade": "B",
          "to": 65.3,
          "toGrade": "B"
        }
      ]
    },
    "job": {
      "capability": "diagram.create",
      "name": "Diagram creation"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-cloudviz.json",
        "title": "AI Diagram Maker MCP vs Cloudviz API",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-cloudviz"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-diagrams-so.json",
        "title": "AI Diagram Maker MCP vs Diagrams.so API + MCP",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-diagrams-so"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-drawio.json",
        "title": "AI Diagram Maker MCP vs draw.io + MCP",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-drawio"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-eraser.json",
        "title": "AI Diagram Maker MCP vs Eraser API + MCP",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-eraser"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-excaliclaw.json",
        "title": "AI Diagram Maker MCP vs ExcaliClaw",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-excaliclaw"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-excalidraw.json",
        "title": "AI Diagram Maker MCP vs Excalidraw",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-excalidraw"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-kroki.json",
        "title": "AI Diagram Maker MCP vs Kroki",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-kroki"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-lucid.json",
        "title": "AI Diagram Maker MCP vs Lucid API + MCP",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-lucid"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-mermaid-chart.json",
        "title": "AI Diagram Maker MCP vs Mermaid Chart MCP",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-mermaid-chart"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-mumble.json",
        "title": "AI Diagram Maker MCP vs Mumble",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-mumble"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-mural-mcp.json",
        "title": "AI Diagram Maker MCP vs Mural MCP",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-mural-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-plantuml.json",
        "title": "AI Diagram Maker MCP vs PlantUML",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-plantuml"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-structurizr.json",
        "title": "AI Diagram Maker MCP vs Structurizr + MCP",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-structurizr"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-tldraw.json",
        "title": "AI Diagram Maker MCP vs tldraw SDK + MCP",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-tldraw"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-whimsical.json",
        "title": "AI Diagram Maker MCP vs Whimsical MCP",
        "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-whimsical"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudviz-vs-d2.json",
        "title": "Cloudviz API vs D2",
        "url": "https://www.anchorterminal.com/compare/cloudviz-vs-d2"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-diagrams-so.json",
        "title": "D2 vs Diagrams.so API + MCP",
        "url": "https://www.anchorterminal.com/compare/d2-vs-diagrams-so"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-mumble.json",
        "title": "D2 vs Mumble",
        "url": "https://www.anchorterminal.com/compare/d2-vs-mumble"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-mural-mcp.json",
        "title": "D2 vs Mural MCP",
        "url": "https://www.anchorterminal.com/compare/d2-vs-mural-mcp"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-whimsical.json",
        "title": "D2 vs Whimsical MCP",
        "url": "https://www.anchorterminal.com/compare/d2-vs-whimsical"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-drawio.json",
        "title": "D2 vs draw.io + MCP",
        "url": "https://www.anchorterminal.com/compare/d2-vs-drawio"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-eraser.json",
        "title": "D2 vs Eraser API + MCP",
        "url": "https://www.anchorterminal.com/compare/d2-vs-eraser"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-excaliclaw.json",
        "title": "D2 vs ExcaliClaw",
        "url": "https://www.anchorterminal.com/compare/d2-vs-excaliclaw"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-excalidraw.json",
        "title": "D2 vs Excalidraw",
        "url": "https://www.anchorterminal.com/compare/d2-vs-excalidraw"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-kroki.json",
        "title": "D2 vs Kroki",
        "url": "https://www.anchorterminal.com/compare/d2-vs-kroki"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-lucid.json",
        "title": "D2 vs Lucid API + MCP",
        "url": "https://www.anchorterminal.com/compare/d2-vs-lucid"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-mermaid-chart.json",
        "title": "D2 vs Mermaid Chart MCP",
        "url": "https://www.anchorterminal.com/compare/d2-vs-mermaid-chart"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-plantuml.json",
        "title": "D2 vs PlantUML",
        "url": "https://www.anchorterminal.com/compare/d2-vs-plantuml"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-structurizr.json",
        "title": "D2 vs Structurizr + MCP",
        "url": "https://www.anchorterminal.com/compare/d2-vs-structurizr"
      },
      {
        "json": "https://www.anchorterminal.com/compare/d2-vs-tldraw.json",
        "title": "D2 vs tldraw SDK + MCP",
        "url": "https://www.anchorterminal.com/compare/d2-vs-tldraw"
      }
    ],
    "panel": null,
    "scores": [
      {
        "ai-diagram-maker-mcp": 30,
        "by": 38,
        "d2": 68,
        "edge": "d2",
        "key": "reliability",
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "ai-diagram-maker-mcp": 75,
        "by": 10,
        "d2": 65,
        "edge": "ai-diagram-maker-mcp",
        "key": "schema",
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "ai-diagram-maker-mcp": 66,
        "by": 12,
        "d2": 78,
        "edge": "d2",
        "key": "ergonomics",
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "ai-diagram-maker-mcp": 45,
        "by": 3,
        "d2": 48,
        "edge": "d2",
        "key": "security",
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "ai-diagram-maker-mcp": 20,
        "by": 40,
        "d2": 60,
        "edge": "d2",
        "key": "payments",
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "ai-diagram-maker-mcp": 17,
        "by": 57,
        "d2": 74,
        "edge": "d2",
        "key": "maintenance",
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "ai-diagram-maker-mcp": 35,
        "by": 35,
        "d2": 70,
        "edge": "d2",
        "key": "transparency",
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "D2 scores 62.3 (B) on agent readiness against AI Diagram Maker MCP's 43.8 (E), and leads in 6 of 7 scored categories. AI Diagram Maker MCP leads on schema \u0026 documentation. Both do diagram creation.",
    "tasks": null,
    "tutorials": [],
    "verdicts": {
      "ai-diagram-maker-mcp": "Five compact, typed tools turn text, JSON, ASCII art, images or Mermaid into an editable D2 diagram, and the API documents its error and rate-limit responses. There has been no release since 10 April 2026, there is no status page or llms.txt, and the API key opens the whole account with no scopes.",
      "d2": "A single local command turns text into a diagram in six formats with no account, key or network call. The language is at 0.9.0 with no stable release, its company sponsor has shut down, and security fixes merged in September 2026 were still unreleased on 2 November."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-d2",
    "json": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-d2.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-d2.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-d2.min.md"
  },
  "markdown": "D2 scores 62.3 (B) on agent readiness against AI Diagram Maker MCP's 43.8 (E), and leads in 6 of 7 scored categories. AI Diagram Maker MCP leads on schema \u0026 documentation. Both do diagram creation.\n\n- AI Diagram Maker MCP: grade E, 43.8/100, rank #1225 of 1486. Markdown https://www.anchorterminal.com/tools/ai-diagram-maker-mcp.md · JSON https://www.anchorterminal.com/api/v1/tools/ai-diagram-maker-mcp.json\n- D2: grade B, 62.3/100, rank #561 of 1486. Markdown https://www.anchorterminal.com/tools/d2.md · JSON https://www.anchorterminal.com/api/v1/tools/d2.json\n- Best diagramming APIs and diagram-as-code for AI agents: https://www.anchorterminal.com/best/diagramming/index.md\n- All 147 diagrams comparisons: https://www.anchorterminal.com/compare/diagramming/index.md\n\n## Which one, for what\n\n### AI Diagram Maker MCP (E)\n\nGood for: Quick architecture, sequence, ERD and flowchart diagrams from a coding agent, with a link to edit them.\n\nAhead on:\n- Schema \u0026 documentation, 75 against 65\n\nAlso in its favour:\n- A hosted endpoint, with nothing to install\n- Runs on your own machine\n- No incidents deducted, where D2 loses 3 points for them\n\nWatch for: Last release 3.0.8 on 10 April 2026, and the registry entry still says 1.0.0\n\n### D2 (B)\n\nGood for: Agents that need to produce or edit architecture, sequence, grid, SQL table or class diagrams as reviewable text and render them locally.\n\nAhead on:\n- Reliability, 68 against 30\n- Agent ergonomics, 78 against 66\n- Payments \u0026 pricing, 60 against 20\n- Maintenance \u0026 community, 74 against 17\n- Transparency \u0026 trust, 70 against 35\n\nAlso in its favour:\n- No key needed to call it\n- Open source\n\nWatch for: No 1.0 release. The maintainer lists a stable 1.0 with a formal grammar as a goal, and 0.8.2 changed Dagre and ELK layout output\n\n\n## Why the edge\n\n### Maintenance \u0026 community: D2 +57\n\n- AI Diagram Maker MCP (17): Last release v3.0.8, published to npm on 10 April 2026, 210 days before this check (0). No release since 8 August (0). Four issues in all. The two open ones, from 4 May (hosted MCP credit usage) and 13 October 2026, show no reply, and one closed issue had a comment (5 of 25). In the official MCP registry under the GitHub-verified namespace io.github.erajasekar, but the entry is 1.0.0 from 19 March 2026 while npm is on 3.0.8 (10 of 15). The only workflow publishes to the registry. No tests or CI, and the MCP SDK floor is ^1.9.0 (2 of 10). 0 + 0 + 5 + 10 + 2 = 17.\n- D2 (74): Release 0.9.0 on 7 September 2026, 56 days before this check, and no release since (20). Five tagged versions since 4 August, 0.7.2, 0.8.0 and 0.8.1 on 6 August, 0.8.2 on 24 August and 0.9.0 (20); the three 6 August versions leave the 90-day window after 4 November. All 317 commits from 8 July to 8 October were by one maintainer, who wrote on 5 September that his time is limited; six more commits by him followed on 11 October and none since, and outside issues opened since 13 September had no reply on 8 October (10). The Go library and `@d2lang/d2` 0.1.34 match 0.9.0 (15). Go 1.27, dependencies refreshed in 0.8.2 and CI on every push (9). 20+20+10+15+9 = 74.\n\n### Payments \u0026 pricing: D2 +40\n\n- AI Diagram Maker MCP (20): No x402, MPP or L402 (0). Plan prices are public (Plus $10, Max $20 a month), with credits counted at 1,000 tokens each, so there's no per-diagram price (10 of 20). Basic is free forever with 50 credits a month, but the page doesn't say whether a card is needed or whether API and MCP calls are included (10 of 20, half as with an unstated card rule). A person signs up in the app and creates the key (0). 0 + 10 + 10 + 0 = 20.\n- D2 (60): Read with the self-hosted rule. Free MPL-2.0 software with nothing to buy and no payment protocol (0). No price to publish (20). No card or trial needed (20). An agent can install and run it with no signup (20).\n\n### Reliability: D2 +38\n\n- AI Diagram Maker MCP (30): Hosted lines, because every tool call is generated on the AI Diagram Maker service, through the hosted endpoint or the npx server. No status page found on the site or in the README (0). No readable incident history (5). The only rate-limit number is the example in the OpenAPI 429 schema ('Maximum 100 requests per day exceeded.'), which isn't stated as the limit (5 of 15). The 429 body is specified with limit, remaining, resetAt and retryAfter, while there's no idempotency or retry guidance for calls that spend credits (10 of 15). No SLA found (0). Nothing labels the service or server beta (10). 0 + 5 + 5 + 10 + 0 + 10 = 30.\n- D2 (68): Read with the local-software lines, because D2 runs on the owner's machine. Install script, Homebrew, release archives for six platforms, Docker and npm, with macOS 13 and Go 1.27 stated (20). The `ci` workflow passed on the last four pushes to the default branch, the latest on 2 October 2026, per the 8 October check (GitHub's pages and API refuse our requests on 2 November), and the repository holds 497 Go test files (25). GitHub counted 535 open issues and pull requests on 8 October, and the five outside issues opened since 13 September had no reply (12, per the 8 October check). Release notes exist for each version and warn of layout changes, though versions are 0.x and we found no note for the Go import path moving to `github.com/d2lang/d2` (11). The latest release is 0.9.0, and the maintainer lists a stable 1.0 as a goal (0).\n\n### Transparency \u0026 trust: D2 +35\n\n- AI Diagram Maker MCP (35): The MCP server is MIT (package.json and LICENSE, added 18 March 2026). The service is closed, under terms last updated 24 September 2025 that name the operator only as AI Diagram Maker (20 of 30). The privacy policy of the same date keeps diagrams, revisions and chat prompts and responses 'as long as necessary', and the terms license user input 'to provide and improve our services', with no retention periods and no word on model training or the AI providers used (8 of 30). No deprecation policy or dated notices (0). No subprocessors or data locations named (0). The MCP server's source sends no telemetry of its own. 20 + 8 + 0 + 0 = 28.\n- D2 (70): MPL-2.0 for the language, the renderers and TALA (30). No privacy policy, and the software runs locally. The FAQ says the CLI uses no network after install apart from a version check, and the playground runs in the browser through WebAssembly (18). Release notes mark deprecated Go and d2.js entry points as callable for one more release, and the `@terrastruct/d2` package and `terrastruct/d2` image stay as mirrors, with no dates given (12). The FAQ states there is no telemetry. We found no documented switch for the version check (14).\n\n### Agent ergonomics: D2 +12\n\n- AI Diagram Maker MCP (66): Five compact tools (25). Output can be SVG or PNG and the API can return the D2 source with `debug`, but there's nothing to page or trim, and results carry the rendered image (10 of 20). Typed error bodies with codes, a 422 that returns the failing D2 code, and retryAfter on 429 (16 of 20). No readOnlyHint or other annotations in the source and no idempotency key, and every call spends credits (5 of 20). Only `content` is required and the hosted endpoint needs no install, but there is no SDK beyond the server (10 of 15). 25 + 10 + 16 + 5 + 10 = 66.\n- D2 (78): One command with text in and a diagram out, and no tool definitions to load (22). `--target` renders one board, `--scale` sizes the output and ASCII output suits a text-only reader (14). `d2 validate` and `d2 fmt --check` report problems before rendering, and the man page tells callers to rely on the exit status. No list of error codes (13). Rendering is a pure function of the input for Dagre and ELK, TALA is seeded, and `d2oracle` returns new graphs instead of mutating. A partial file can be written on error (15). `d2 in.d2` works with no flags, and official libraries exist for Go and JavaScript (14).\n\n### Schema \u0026 documentation: AI Diagram Maker MCP +10\n\n- AI Diagram Maker MCP (75): All five tools have zod input schemas in src/tools, and the repository ships an OpenAPI 3 file for POST /api/v2/diagrams/generate (25). No llms.txt (404) and no docs site for agents beyond the README (0). Each description says what the tool does and when to use it, listing trigger phrases and the diagram types, without saying when another tool fits better (16 of 20). `content` has a minimum length and `diagramType` an eight-value enum; the OpenAPI adds `inputType` and `format` enums (13 of 15). Examples in the parameter descriptions and README, and the OpenAPI documents 400, 401, 402, 422 (D2 failed to compile) and 429 with typed error bodies (13 of 15). Git tags from v1.1.1 to v3.0.8 and a /api/v2 path, with no changelog or release notes (8 of 15). 25 + 0 + 16 + 13 + 13 + 8 = 75.\n- D2 (65): Read as a CLI and library. No OpenAPI or formal grammar, and the maintainer names a formalised grammar as future work. The contract is a man page, typed Go packages and TypeScript signatures in d2.js (12). No llms.txt (HTTP 404), though the docs are Markdown in a public repository (3). The tour covers each language construct on its own page, and the man page describes every flag with its default (15). Flags are typed with defaults and environment variables, and d2.js lists its compile and render options (10). Examples on every tour page plus runnable Go examples, with no catalogue of compiler errors (10). Release notes for every version on the docs site and a separate d2.js changelog (15).\n\n## Score by category\n\n| Category | Weight | AI Diagram Maker MCP | D2 | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 30 | 68 | D2 +38 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 75 | 65 | AI Diagram Maker MCP +10 |\n| Agent ergonomics | 13% (16.2 this run) | 66 | 78 | D2 +12 |\n| Security \u0026 auth | 14% (17.5 this run) | 45 | 48 | D2 +3 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 20 | 60 | D2 +40 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 17 | 74 | D2 +57 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 35 | 70 | D2 +35 |\n| Negative events | ≤15 | 0 | -3 | |\n| **Total** | | **43.8 · E** | **62.3 · B** | |\n\n## Facts side by side\n\n| Fact | AI Diagram Maker MCP | D2 |\n| --- | --- | --- |\n| Kind | MCP server | SDK + MCP |\n| Vendor | AI Diagram Maker (Rajasekar Elango) | D2 project (The Hack Foundation) |\n| Hosted endpoint | `https://mcp.aidiagrammaker.com/mcp` | no (local only) |\n| Transports | Streamable HTTP, stdio |  |\n| Auth | API key | None |\n| Pricing | Freemium | Free |\n| x402 | no | no |\n| Licence | MIT for the MCP server. The AI Diagram Maker service it calls is closed, under terms last updated 24 September 2025 | MPL-2.0 |\n| Tools exposed | 5 | none |\n| Read-only variant documented | no | no |\n| llms.txt | no | no |\n| MCP registry | `io.github.erajasekar/ai-diagram-maker-mcp` | not listed |\n| Last release | 2026-04-10 | 2026-09-07 |\n| Terms last updated | 2025-09-24 | no document linked |\n| Privacy policy last updated | 2025-09-24 | no document linked |\n| Customer content may train models | not found in the text | not read yet |\n| Terms restrict automated access | yes | not read yet |\n| Terms restrict benchmarking | not found in the text | not read yet |\n| Terms or service can change without notice | not found in the text | not read yet |\n| Arbitration or class-action waiver | not found in the text | not read yet |\n| Popularity | 63 npm/wk | 26k stars, 22k npm/wk |\n| Agent reviews | none | 3.5/5 (4) |\n\n## How the scores have moved\n\n### AI Diagram Maker MCP\n\nNo score change since it was listed.\n\n### D2\n\n- -3.0 on 2 November 2026: correction\n- no change on 27 October 2026: checklist\n\n## Verdicts\n\n**AI Diagram Maker MCP.** Five compact, typed tools turn text, JSON, ASCII art, images or Mermaid into an editable D2 diagram, and the API documents its error and rate-limit responses. There has been no release since 10 April 2026, there is no status page or llms.txt, and the API key opens the whole account with no scopes.\n\n**D2.** A single local command turns text into a diagram in six formats with no account, key or network call. The language is at 0.9.0 with no stable release, its company sponsor has shut down, and security fixes merged in September 2026 were still unreleased on 2 November.\n\n## Before you call either\n\n### AI Diagram Maker MCP\n\n1. Send the key in the `X-ADM-API-Key` header to https://mcp.aidiagrammaker.com/mcp, never in the URL\n2. Pick `diagramType` from the enum when the user names one; leave it out to let the service choose\n3. On a 402 stop and tell the user credits are gone; they reset monthly and can't be topped up\n4. On a 429 wait for `retryAfter` seconds before the next call\n5. Give the user the returned diagram link so they can edit it, since the tools can't revise an existing diagram\n\n### D2\n\n1. Check the exit status of `d2`, never the output file. The man page says a partial render can be written when an error occurs\n2. Run `d2 validate file.d2` before rendering, and `d2 fmt` to normalise the source\n3. Pass `-` for input and output and set `--stdout-format` (svg, png, ascii, txt, pdf, pptx or gif) to work without files\n4. Use `--stdout-format ascii` when the reader is a text-only model\n5. Pass `--bundle=false` or review image URLs and imports before rendering D2 text from an untrusted source. Release 0.9.0 fetches remote images when bundling\n\n## Questions\n\n### Which is better for AI agents, AI Diagram Maker MCP or D2?\n\nD2 scores 62.3 (B) on agent readiness against AI Diagram Maker MCP's 43.8 (E), and leads in 6 of 7 scored categories. AI Diagram Maker MCP leads on schema \u0026 documentation.\n\n### Can an agent call AI Diagram Maker MCP and D2 without installing anything?\n\nAI Diagram Maker MCP has a hosted endpoint at https://mcp.aidiagrammaker.com/mcp. No hosted endpoint is listed for D2.\n\n### Are AI Diagram Maker MCP and D2 open source?\n\nNo open-source release is listed for AI Diagram Maker MCP. D2 is open source (MPL-2.0).\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-d2.json, and with the fewest tokens: https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-d2.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"ai-diagram-maker-mcp\", \"b\": \"d2\"}`. From a terminal: `anchor compare ai-diagram-maker-mcp d2`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/ai-diagram-maker-mcp.json and https://www.anchorterminal.com/api/v1/tools/d2.json\n\n## Other comparisons with AI Diagram Maker MCP or D2\n\n- [AI Diagram Maker MCP vs Cloudviz API](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-cloudviz.md)\n- [AI Diagram Maker MCP vs Diagrams.so API + MCP](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-diagrams-so.md)\n- [AI Diagram Maker MCP vs draw.io + MCP](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-drawio.md)\n- [AI Diagram Maker MCP vs Eraser API + MCP](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-eraser.md)\n- [AI Diagram Maker MCP vs ExcaliClaw](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-excaliclaw.md)\n- [AI Diagram Maker MCP vs Excalidraw](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-excalidraw.md)\n- [AI Diagram Maker MCP vs Kroki](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-kroki.md)\n- [AI Diagram Maker MCP vs Lucid API + MCP](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-lucid.md)\n- [AI Diagram Maker MCP vs Mermaid Chart MCP](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-mermaid-chart.md)\n- [AI Diagram Maker MCP vs Mumble](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-mumble.md)\n- [AI Diagram Maker MCP vs Mural MCP](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-mural-mcp.md)\n- [AI Diagram Maker MCP vs PlantUML](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-plantuml.md)\n- [AI Diagram Maker MCP vs Structurizr + MCP](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-structurizr.md)\n- [AI Diagram Maker MCP vs tldraw SDK + MCP](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-tldraw.md)\n- [AI Diagram Maker MCP vs Whimsical MCP](https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-whimsical.md)\n- [Cloudviz API vs D2](https://www.anchorterminal.com/compare/cloudviz-vs-d2.md)\n- [D2 vs Diagrams.so API + MCP](https://www.anchorterminal.com/compare/d2-vs-diagrams-so.md)\n- [D2 vs Mumble](https://www.anchorterminal.com/compare/d2-vs-mumble.md)\n- [D2 vs Mural MCP](https://www.anchorterminal.com/compare/d2-vs-mural-mcp.md)\n- [D2 vs Whimsical MCP](https://www.anchorterminal.com/compare/d2-vs-whimsical.md)\n- [D2 vs draw.io + MCP](https://www.anchorterminal.com/compare/d2-vs-drawio.md)\n- [D2 vs Eraser API + MCP](https://www.anchorterminal.com/compare/d2-vs-eraser.md)\n- [D2 vs ExcaliClaw](https://www.anchorterminal.com/compare/d2-vs-excaliclaw.md)\n- [D2 vs Excalidraw](https://www.anchorterminal.com/compare/d2-vs-excalidraw.md)\n- [D2 vs Kroki](https://www.anchorterminal.com/compare/d2-vs-kroki.md)\n- [D2 vs Lucid API + MCP](https://www.anchorterminal.com/compare/d2-vs-lucid.md)\n- [D2 vs Mermaid Chart MCP](https://www.anchorterminal.com/compare/d2-vs-mermaid-chart.md)\n- [D2 vs PlantUML](https://www.anchorterminal.com/compare/d2-vs-plantuml.md)\n- [D2 vs Structurizr + MCP](https://www.anchorterminal.com/compare/d2-vs-structurizr.md)\n- [D2 vs tldraw SDK + MCP](https://www.anchorterminal.com/compare/d2-vs-tldraw.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-07",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.7",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "AI Diagram Maker MCP vs D2",
        "url": ""
      }
    ],
    "description": "D2 scores 62.3 (B) to AI Diagram Maker MCP's 43.8 (E) for diagram creation. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "AI Diagram Maker MCP E 43.8",
      "D2 B 62.3",
      "scores"
    ],
    "h1": "AI Diagram Maker MCP vs D2",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/ai-diagram-maker-mcp-vs-d2",
    "published": "2026-10-01",
    "section": "tools",
    "title": "AI Diagram Maker MCP vs D2 for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-11-07",
    "url": "https://www.anchorterminal.com/compare/ai-diagram-maker-mcp-vs-d2"
  },
  "tokens": {
    "markdown": 4600,
    "slim": 2680
  },
  "version": 1
}
