Back to Browse

Mockhero MCP Server

Developer ToolsModerate5.2MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Generate realistic relational test data — 156 field types, 22 locales, JSON/CSV/SQL, free previews.

About

Generate realistic relational test data — 156 field types, 22 locales, JSON/CSV/SQL, free previews.

Remote endpoints: streamable-http: https://mockhero.dev/mcp/agent

Security Report

5.2
Moderate5.2Moderate Risk

This is a well-structured Next.js application with an associated MCP server package. The codebase demonstrates good security practices with proper dependency management, no hardcoded credentials, and reasonable permission scoping. The MCP server correctly uses the SDK for protocol compliance. Minor quality observations around error handling and input validation exist but do not constitute security vulnerabilities. Supply chain analysis found 12 known vulnerabilities in dependencies (1 critical, 3 high severity). Package verification found 1 issue (1 critical, 0 high severity).

4 files analyzed · 16 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

Unverified package source

We couldn't verify that the installable package matches the reviewed source code. Proceed with caution.

What You'll Need

Set these up before or after installing:

MockHero API key (optional — without it, generation runs as a free preview up to 100 records per request; get a key at https://mockhero.dev or via the create_agent_checkout tool)Required

Environment variable: MOCKHERO_API_KEY

Base URL of the MockHero API (default https://mockhero.dev)Optional

Environment variable: MOCKHERO_API_BASE

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

MockHero

smithery badge

Synthetic test data API. Generate realistic, relational data for any database schema.

What it does

  • 156 field types across 15+ categories (identity, location, financial, temporal, and more)
  • Relational data — foreign keys just work. Orders reference real user IDs, reviews link to real products. One API call seeds your entire database.
  • 3 input modes — structured schema, plain English prompt, or pre-built templates
  • Auto-locale — add a country enum field and names, emails, phones match each row's nationality. 22 locales supported.
  • JSON, CSV, SQL output — Postgres, MySQL, SQLite dialects
  • Deterministic seeds — same seed + same schema = identical data every time
  • MCP server — use from Claude Desktop, Cursor, Windsurf, or any AI agent

Quick start

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" }'

Templates

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

MCP server

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.

Pricing

FreeProScale
Daily records500100,0001,000,000
Requests/min1060200
Price$0$29/mo$79/mo

Tech stack

  • Next.js 15 (App Router)
  • Supabase (Postgres)
  • Clerk (Auth)
  • Polar (Billing)
  • Tailwind v4

License

MIT

Reviews

No reviews yet

Be the first to review this server!