Aug 15, 2026 ai-code

Mocktail Review 2026: A 25 MB Self-Hosted Mock API Server With a Dashboard and AI

Mocktail packages a mock API server, live traffic dashboard, and AI/MCP-driven response drafting into a single ~25 MB binary. We review it for frontend and prototype workflows.

Waiting on a backend shouldn’t block the frontend. Mocktail gives you a realistic, self-hosted API you fully control — in one small binary, with a dashboard and AI help.

What is Mocktail?

Mocktail is a self-hosted mock API server and dashboard shipped as a single ~25 MB binary. You define endpoints and responses, randomize fields per request, watch live traffic, and let a built-in AI assistant (bring-your-own-key) or the MCP server draft and manage mocks from plain language. Install via Homebrew, Docker, or a direct download; the dashboard opens at localhost:6625.

Key features

  • Single ~25 MB binary with built-in dashboard; install via Homebrew, Docker, or direct download
  • Edit, validate, and randomize responses (uuid/email/price/name generators) per request
  • Live request stream shows method, status, latency, and exact response + headers
  • Built-in AI assistant drafts responses from plain language using your own API key (never stored)
  • MCP server lets Claude Desktop / Claude Code create and edit mocks from sentences

Who should use it?

Frontend developers building against an unfinished backend, QA engineers modeling edge cases (429s, latency, 500s), and anyone who needs a stable self-contained API for demos, workshops, or prototypes. Because it’s self-hosted with SQLite storage and no telemetry, it fits team-shared instances via Docker.

Pros and cons

Pros: tiny footprint; zero signup; AI + MCP make mock creation fast; mocks export as JSON to commit or share.

Cons: desktop GUI app is “coming soon” (browser dashboard for now); no hosted tier, so team sharing means self-hosting; it’s a mock server, not a contract-testing or API-gateway tool.

Pricing

Free and open source. No paid tier or sign-up required.

FAQ

Where does my data live? In a single SQLite file on your machine (or a mounted volume with Docker); nothing is sent to Mocktail.

Can it generate realistic test data? Yes — attach generators (uuid, email, price, name) to fields for fresh values each request.

Does it work with Claude? Yes, via the built-in MCP server that lets Claude Desktop/Code create and edit mocks.

Explore the best AI Coding tools

Related Articles

Subscribe to the 9bests weekly — get the full list free

Hand-picked AI tool reviews and updates every week. Subscribe to receive this full list + 7 more quick-reference sheets (writing / image / video / audio / chat models / data / API cost).

Subscribe free & get it →

Independent reviews — ratings aren't influenced by vendor payments · double opt-in · unsubscribe anytime