Spin up realistic mock services in minutes. Generate intelligent synthetic data with RAG, inject latency & failures, and manage everything in a modern admin UI.
# Install (example)
$ cargo install mockforge-cli
Everything you need to simulate complex services and ship faster, without waiting on real backends.
Mock HTTP REST, gRPC, GraphQL, and WebSocket endpoints with a unified interface. Includes HTTP Bridge for automatic gRPC-to-REST conversion.
RAG-driven intelligent data generation with smart field inference, deterministic seeding, relationship awareness, and template tokens like {{uuid}}
and {{faker.email}}
.
Operation‑aware latency/failure profiles to test real‑world conditions.
Capture live traffic and replay scenarios to debug and benchmark.
Add custom generators, data sources, and overrides with a clean plugin system.
Web‑based interface for managing servers, overrides, and metrics.
Define your API & rules
Describe endpoints and schemas. Configure latency/failure profiles and overrides per operation.
Generate realistic data
Use built‑in tokens ({{uuid}}
, {{now}}
, etc.) or plug in custom generators.
Run & iterate
Start the mock server, inspect requests in the Admin UI, and fine‑tune behaviors as you build.
# Quick start (example)
$ mockforge init
✔ Created mockforge.yaml
# Add an endpoint override
$ mockforge add /users/{id} --status 200 \
--body '{ "id": "{{uuid}}", "name": "{{name}}" }'
# Run server
$ mockforge serve --port 8080
Listening on http://localhost:8080
“MockForge let our frontend team build weeks faster by simulating gRPC services with realistic data.”
— Engineer, Early Adopter
Get the repo, run the quick start, and start shipping faster.