Mocktail
Free, open-source mock API server with a built-in dashboard
Last checked:
What is Mocktail?
Mocktail is a self-hosted mock API server with a built-in dashboard that runs as a single binary. It lets developers define API endpoints and responses for testing, demos, and prototyping—with built-in Claude AI integration to generate responses from plain language, realistic test data generation, and an MCP server for AI tools like Claude Desktop to manage mocks directly.
Mocktail pricing
Pricing model: Freemium
Free and open source, no paid tier
Mocktail pros
- Self-hosted with no telemetry or cloud dependencies—all data stays local
- Built-in Claude AI assistant and MCP integration for describing endpoints in plain language
- Realistic test data generation with field randomization (UUIDs, emails, names, prices)
- Single binary distribution—easy to install via Homebrew, Docker, or direct download
Mocktail cons
- Self-hosted only—no managed cloud option for teams
- Desktop native app still in development (coming soon)
- Requires users to provide their own Claude API key for AI features
Frequently asked questions about Mocktail
What is Mocktail?
A self-hosted mock API server with a built-in dashboard, shipped as a single binary. Define endpoints and responses, then call them from your app like a real API. Run it locally or deploy to your own infrastructure.
Is Mocktail free and open source?
Yes. Mocktail is free and open source on GitHub with no sign-up or paid tier required.
Does Mocktail work with AI tools?
Yes. The built-in AI assistant drafts responses from plain-language prompts using your own API key, and the MCP server lets Claude Desktop and Claude Code create and manage mocks directly.
Can Mocktail generate realistic test data?
Yes. You can attach generators to fields like UUIDs, emails, prices, and names for fresh values on every request, or replace fields in existing responses with generated data.