Connects Claude to MockHero's synthetic data API. Exposes operations to generate relational test datasets using 156 field types across identity, location, financial, and temporal categories. You can define schemas with foreign key relationships, use plain English prompts, or pull from pre-built templates like ecommerce or SaaS. Output comes as JSON, CSV, or SQL in Postgres, MySQL, or SQLite dialects. Auto-locale matching means if you add a country enum, names and phone numbers will match each row's nationality across 22 locales. Useful when you need to seed a staging database with realistic data that actually references itself correctly, or when prototyping APIs that need believable multi-table fixtures.
Synthetic test data API. Generate realistic, relational data for any database schema.
country enum field and names, emails, phones match each row's nationality. 22 locales supported.curl -X POST https://mockhero.dev/api/v1/generate \
-H "Authorization: Bearer mh_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"tables": [
{
"name": "users",
"count": 50,
"fields": [
{ "name": "id", "type": "uuid" },
{ "name": "name", "type": "full_name" },
{ "name": "email", "type": "email" },
{ "name": "country", "type": "enum", "params": { "values": ["US", "DE", "FR", "JP"] } },
{ "name": "created_at", "type": "datetime" }
]
},
{
"name": "orders",
"count": 200,
"fields": [
{ "name": "id", "type": "uuid" },
{ "name": "user_id", "type": "ref", "params": { "table": "users", "field": "id" } },
{ "name": "total", "type": "price" },
{ "name": "status", "type": "enum", "params": { "values": ["pending", "shipped", "delivered"] } }
]
}
]
}'
Or use plain English:
curl -X POST https://mockhero.dev/api/v1/generate \
-H "Authorization: Bearer mh_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "prompt": "50 users with German names and 200 orders linked to them" }'
Pre-built schemas for common patterns — no schema definition needed:
curl -X POST https://mockhero.dev/api/v1/generate \
-H "Authorization: Bearer mh_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "template": "ecommerce", "scale": 2, "locale": "de" }'
Available: ecommerce, blog, saas, social
Use MockHero from AI agents via the Model Context Protocol.
Hosted remote MCP endpoint for agent-first clients:
https://mockhero.dev/mcp/agent
This endpoint exposes estimate, loginless Polar checkout, checkout status, API key claim, schema detection, templates, and generation tools.
Local stdio MCP server for agents that run npm packages:
npm install -g @mockherodev/mcp-server
See @mockherodev/mcp-server for setup instructions.
| Free | Pro | Scale | |
|---|---|---|---|
| Daily records | 1,000 | 50,000 | 500,000 |
| Requests/min | 10 | 60 | 200 |
| Price | $0 | $29/mo | $79/mo |
MIT
MOCKHERO_API_KEY*secretYour MockHero API key (get one free at https://mockhero.dev)
com.mcparmory/google-sheets
domdomegg/google-sheets-mcp
henilcalagiya/google-sheets-mcp
cct15/war-dashboard-data
moooonad/mcp-google-sheets-full
io.github.br0ski777/csv-to-json