# MockHero

MockHero builds relational synthetic test data from schemas, prompts, or templates. Use it for fixtures, seed data, demos, and QA datasets.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 105 installs
- Author: mockhero
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/mockhero/mockhero
- Updated: 2026-07-08
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/mockhero

## What it 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.

## Requirements
- Remote server: `https://mockhero--mockhero.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http mockhero https://mockhero--mockhero.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add mockhero --url https://mockhero--mockhero.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mockhero": {
            "url": "https://mockhero--mockhero.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mockhero": {
            "type": "http",
            "url": "https://mockhero--mockhero.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http mockhero https://mockhero--mockhero.run.tools
```

## When to use it
- generate linked rows for several tables
- create JSON, CSV, or SQL fixtures
- turn `CREATE TABLE` statements into test data
- build demo records from a ready-made template
- reproduce a dataset with a deterministic seed

## Example prompts
- Generate 50 linked records for users, orders, and products as JSON.
- Convert this `CREATE TABLE` statement into a schema, then create CSV test data.
- List the available templates and create a small dataset for a SaaS app.

## Similar
- [test-data-management](https://affpapa.org/en/nevibecode/skills/test-data-management.md) — skill · 1700 installs
- [snowfakery-mcp](https://affpapa.org/en/nevibecode/mcp/snowfakery-mcp.md) — MCP server · ★ 5 repo stars
- [test-data-generator](https://affpapa.org/en/nevibecode/plugins/test-data-generator.md) — plugin · ★ 2858 repo stars
- [test-data-generation](https://affpapa.org/en/nevibecode/skills/test-data-generation.md) — skill · 505 installs
- [data-seeding-fixtures-builder](https://affpapa.org/en/nevibecode/skills/data-seeding-fixtures-builder.md) — skill · 265 installs
- [add-sample-data](https://affpapa.org/en/nevibecode/skills/microsoft-add-sample-data.md) — skill · ★ 1167 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
