{
  "markdown": "# MockHero\n\n[![smithery badge](https://smithery.ai/badge/mockhero/mockhero)](https://smithery.ai/servers/mockhero/mockhero)\n\nSynthetic test data API. Generate realistic, relational data for any database schema.\n\n## What it does\n\n- **156 field types** across 15+ categories (identity, location, financial, temporal, and more)\n- **Relational data** — foreign keys just work. Orders reference real user IDs, reviews link to real products. One API call seeds your entire database.\n- **3 input modes** — structured schema, plain English prompt, or pre-built templates\n- **Auto-locale** — add a `country` enum field and names, emails, phones match each row's nationality. 22 locales supported.\n- **JSON, CSV, SQL output** — Postgres, MySQL, SQLite dialects\n- **Deterministic seeds** — same seed + same schema = identical data every time\n- **MCP server** — use from Claude Desktop, Cursor, Windsurf, or any AI agent\n\n## Quick start\n\n```bash\ncurl -X POST https://mockhero.dev/api/v1/generate \\\n  -H \"Authorization: Bearer mh_live_YOUR_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"tables\": [\n      {\n        \"name\": \"users\",\n        \"count\": 50,\n        \"fields\": [\n          { \"name\": \"id\", \"type\": \"uuid\" },\n          { \"name\": \"name\", \"type\": \"full_name\" },\n          { \"name\": \"email\", \"type\": \"email\" },\n          { \"name\": \"country\", \"type\": \"enum\", \"params\": { \"values\": [\"US\", \"DE\", \"FR\", \"JP\"] } },\n          { \"name\": \"created_at\", \"type\": \"datetime\" }\n        ]\n      },\n      {\n        \"name\": \"orders\",\n        \"count\": 200,\n        \"fields\": [\n          { \"name\": \"id\", \"type\": \"uuid\" },\n          { \"name\": \"user_id\", \"type\": \"ref\", \"params\": { \"table\": \"users\", \"field\": \"id\" } },\n          { \"name\": \"total\", \"type\": \"price\" },\n          { \"name\": \"status\", \"type\": \"enum\", \"params\": { \"values\": [\"pending\", \"shipped\", \"delivered\"] } }\n        ]\n      }\n    ]\n  }'\n```\n\nOr use plain English:\n\n```bash\ncurl -X POST https://mockhero.dev/api/v1/generate \\\n  -H \"Authorization: Bearer mh_live_YOUR_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"prompt\": \"50 users with German names and 200 orders linked to them\" }'\n```\n\n## Templates\n\nPre-built schemas for common patterns — no schema definition needed:\n\n```bash\ncurl -X POST https://mockhero.dev/api/v1/generate \\\n  -H \"Authorization: Bearer mh_live_YOUR_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{ \"template\": \"ecommerce\", \"scale\": 2, \"locale\": \"de\" }'\n```\n\nAvailable: `ecommerce`, `blog`, `saas`, `social`\n\n## MCP server\n\nUse MockHero from AI agents via the Model Context Protocol.\n\nHosted remote MCP endpoint for agent-first clients:\n\n```text\nhttps://mockhero.dev/mcp/agent\n```\n\nThis endpoint exposes estimate, loginless Polar checkout, checkout status, API key claim, schema detection, templates, and generation tools.\n\nLocal stdio MCP server for agents that run npm packages:\n\n```bash\nnpm install -g @mockherodev/mcp-server\n```\n\nSee [@mockherodev/mcp-server](./packages/mcp-server) for setup instructions.\n\n## Pricing\n\n| | Free | Pro | Scale |\n|---|---|---|---|\n| Daily records | 500 | 100,000 | 1,000,000 |\n| Requests/min | 10 | 60 | 200 |\n| Price | $0 | $29/mo | $79/mo |\n\n## Tech stack\n\n- Next.js 15 (App Router)\n- Supabase (Postgres)\n- Clerk (Auth)\n- Polar (Billing)\n- Tailwind v4\n\n## License\n\nMIT\n",
  "bytes": 3297,
  "sha": "b6c033138948d951e1623a0a3f3d822ddd90a467b3e44963076a48164655fb4f",
  "repo_slug": "dinosaur24/mockhero",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_dinosaur24_mockhero_57038fe6/readme"
}