# Mocktail – Free, open-source mock API server with a built-i…

Hi HN, I built the first version of Mocktail years ago. I recently came back to the project, and after a pretty substantial rebuild, v4 is now out. Mocktail is a free and open-source, self-hosted mock API server with a built-in dashboard and database, packaged as a single ~25 MB binary. You can run…

- **Page:** https://magpie.gallery/i/mocktail-free-open-source-mock-api-server-with-a-b-zoxs
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Runs on:** web, windows, macos, linux
- **Tags:** mock, api, opensource, dashboard, mcp

## Source

Web · hhaluk: Mocktail – Free, open-source mock API server with a built-in dashboard

- **Original:** https://news.ycombinator.com/item?id=49304062

> Hi HN, I built the first version of Mocktail years ago. I recently came back to the project, and after a pretty substantial rebuild, v4 is now out. Mocktail is a free and open-source, self-hosted mock API server with a built-in dashboard and database, packaged as a single ~25 MB binary. You can run it locally or on your own infrastructure — no account or hosted service required. You can define endpoints and responses, generate realistic data per request, customize headers, status codes and latency, and inspect incoming requests in real time. With v4, I also added MCP support, so coding agents can create and manage mocks directly, along with an optional built-in AI assistant using your own API key. Both are completely optional. It’s been fun coming back to something I built years ago and bringing it up to date. I’d love to hear what you think, especially anything you’d change or add. https://getmocktail.com/

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
