Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

D2 vs mockserver

D2 and mockserver are both developer tools MCP servers. mockserver scores higher (100 vs 94 out of 100). D2 has more GitHub stars (26k), and mockserver was updated more recently (4 days ago). The table compares them side by side.

D2mockserver
Score94 / 100100 / 100
What it doesRenders D2 text diagrams to SVG, validates D2 source, and ships an agent skill for AI clients. Aimed at developers and writers who create diagrams from text in docs, CI and blog posts.Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
PublisherCommunity: d2langVerified: mock-server.com
GradesMaintenance A, Licence A, Quality AMaintenance A, Licence A, Quality A
npm downloads a weekNot on npmNot on npm
RunsLocalLocal
Works withClaude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code, WindsurfClaude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code, Windsurf
GitHub stars25,9825,019
Last commit28 Nov 20261 Dec 2026
LicenceMPL-2.0Apache-2.0
Listed since28 Nov 202619 Oct 2026
Install D2Install mockserver

Questions

Is D2 or mockserver more popular?

D2 has more GitHub stars: 25,982.

Can I use D2 and mockserver together?

Yes. AI assistants can load several MCP servers at once. Install both and the assistant picks the right one for each task.