🚀 Mock APIs in 30 Seconds
Chrome Extension for instant interception. HTTP Server for dynamic mocking. Two tools, one ecosystem.
Mock APIs in 30 seconds with JSON Schema + Faker, MCP integration, and flexible route matching.
{
"id": "{{faker.string.uuid()}}",
"name": "{{faker.person.fullName()}}",
"email": "{{faker.internet.email()}}"
}Quick Installation
Choose your tool and start mocking in seconds
HTTP Server
Docker-based mock server
This project uses the official andrecrjr/mockzilla image. The similarly named mockzilla/mockzilla belongs to a separate Go-based OpenAPI mock server at mockzilla.org.
Chrome Extension
Browser-based interception
Intercept fetch() and XMLHttpRequest in real-time
- ✓ Flexible pattern matching
- ✓ JSON & text responses
- ✓ Hit tracking & analytics
- ✓ Sync with HTTP Server
Your server will be available at http://localhost:36666
Mockzilla HTTP Server
Next.js + PostgreSQL mock server
A powerful, self-hosted mock server that lets you create dynamic API endpoints with JSON Schema interpolation, wildcard routes, and flexible response matching. Perfect for teams that need reliable, consistent mock data during development.
PostgreSQL Persistence
Reliable storage for your mock folders, endpoints, and response data.
MCP Integration
First-class support for AI agents. 24 Model Context Protocol tools for Claude, Cursor, and more.
Dynamic Responses
Generate realistic API responses with JSON Schema and Faker.js.
{
"id": "usr_abc123",
"name": "{{faker.person.fullName()}}",
"email": "{{faker.internet.email()}}",
"role": "admin",
"created_at": "2024-01-15T10:30:00Z"
}
Mockzilla Extensionv1.0.0Mockzilla Chrome Extension
Browser-based API interception
A lightweight Chrome extension that intercepts fetch() and XMLHttpRequest calls in real-time, allowing you to mock API responses without any server setup. Perfect for frontend developers who need instant feedback.
Real-time Interception
Intercept fetch() and XMLHttpRequest instantly as they happen in your browser.
Flexible Matching
Pattern-based matching with wildcards, regex, and exact URL matching.
Hit Tracking
Track how many times each mock rule is triggered with built-in analytics.
Cross-device Sync
Sync your mock rules across machines with the HTTP Server integration.
Platform Features
Two powerful tools working together as one ecosystem
JSON Schema + Faker
Define mock data using JSON Schema with built-in Faker.js interpolation for dynamic, realistic responses.
PostgreSQL-Powered
Reliable data persistence with PostgreSQL. Store and manage all your mocks in a mini-database.
Wildcard Variants
Create flexible route patterns with wildcard support. Match multiple URL patterns with a single mock.
MCP Integration
24 Model Context Protocol tools for AI agents. Seamlessly integrate with Claude Desktop, Cursor, and more.
Real-time Interception
Intercept fetch() and XMLHttpRequest in real-time. Mock API responses instantly in your browser.
Flexible Matching
Pattern-based matching with wildcards, regex, and exact URL matching for precise control.
Hit Tracking
Track how many times each mock rule is triggered with built-in analytics and counters.
Cross-device Sync
Sync your mock rules across machines with the HTTP Server integration for team collaboration.
How Mockzilla Works
Three simple steps to start mocking like a pro
Choose Your Tool
Use the HTTP Server for dynamic mocking, the Chrome Extension for instant interception, or both together for the full experience.
Configure Mocks
Define mock endpoints with static JSON, dynamic schemas with Faker.js, and wildcard route matching.
Use in Development
Point your frontend to Mockzilla and start building. The Chrome Extension intercepts calls automatically when synced.
Your Development Stack
AI-Ready with MCP Integration
Mockzilla connects AI assistants to your folders and mocks through the Model Context Protocol, so you can create, inspect, and update endpoints programmatically.
Frequently Asked Questions
Everything you need to know about Mockzilla