MockHero — Claude Code MCP server: what it does, how to install
MockHero builds relational synthetic test data from schemas, prompts, or templates. Use it for fixtures, seed data, demos, and QA datasets.
no license 105 installs updated 2026-07-08
claude mcp add --transport http mockhero https://mockhero--mockhero.run.toolsWhat MockHero does
MockHero produces JSON, CSV, or SQL data from a table schema, a plain-language request, or a built-in template. It keeps cross-table references valid, so generated orders can point to generated users and reviews can point to generated products. The server includes 156 field types and data for 22 locales, covering values such as names, phone numbers, and addresses.
Its tools can turn CREATE TABLE statements or a sample JSON object into a schema, show available field types, and list templates for ecommerce, blog, SaaS, and social apps. A deterministic seed lets you recreate the same output. An explicit schema can be used for a keyless preview of up to 100 records per request; prompt-based generation, larger jobs, and production use require an API key. The key flow uses Polar checkout, with 500 free records per day and a $0.001 charge per 100 records after that.
What it helps with
- generate linked rows for several tables
- create JSON, CSV, or SQL fixtures
- turn
CREATE TABLEstatements into test data - build demo records from a ready-made template
- reproduce a dataset with a deterministic seed
Example prompts for the agent
- Generate 50 linked records for users, orders, and products as JSON.
- Convert this
CREATE TABLEstatement into a schema, then create CSV test data. - List the available templates and create a small dataset for a SaaS app.
How to install MockHero
Platform CLI: remote server
claude mcp add --transport http mockhero https://mockhero--mockhero.run.toolsPlatform CLI: remote server
codex mcp add mockhero --url https://mockhero--mockhero.run.toolsConfig file
{
"mcpServers": {
"mockhero": {
"url": "https://mockhero--mockhero.run.tools"
}
}
}Config file
{
"servers": {
"mockhero": {
"type": "http",
"url": "https://mockhero--mockhero.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http mockhero https://mockhero--mockhero.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about MockHero
How do I install MockHero in Claude Code?
Run claude mcp add --transport http mockhero https://mockhero--mockhero.run.tools. This registers the server under the name mockhero.
What does MockHero do?
It creates synthetic test data from structured schemas, natural-language requests, or templates. Outputs can be returned as JSON, CSV, or SQL while preserving table relationships.
Do I need an API key to use MockHero?
A request with an explicit schema and up to 100 records works without a key. Prompt-based generation, larger requests, and production use require an API key.