MCP.so
Sign In

MockHero

@dinosaur24

About MockHero

Remote MCP server for AI coding agents that need realistic synthetic test data. Agents can estimate usage, create loginless Polar checkout, claim an API key, detect schemas from SQL or JSON, list field types/templates, and generate JSON, CSV, or SQL test data.

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mockhero": {
      "type": "streamable-http",
      "url": "https://mockhero.dev/mcp/agent"
    }
  }
}

Tools

9

Estimate MockHero agent-plan cost before generating data. No login or API key is required; include an API key only when you want the estimate to use actual daily usage.

Create a loginless Polar Checkout URL for MockHero's metered agent plan. Polar is the Merchant of Record for checkout, tax collection, and remittance. The card payment step needs a human: present the returned url to your operator together with the estimate_agent_usage cost, keep the claim_token private, then poll check_agent_checkout_status and call claim_agent_api_key once paid.

Poll a Polar checkout created by create_agent_checkout using the returned claim_token.

Claim the MockHero API key after Polar marks the loginless agent checkout as paid. The key is returned once.

Generate realistic JSON, CSV, or SQL test data from structured tables or a plain-English prompt. Explicit table schemas up to 100 records can run free as a proof-of-work preview; plain-English prompt generation, larger requests, and production usage require a MockHero API key.

Generate realistic test data from a pre-built MockHero template: ecommerce, blog, saas, or social. Small template previews up to 100 records can run free; larger or production usage requires a MockHero API key.

Convert SQL CREATE TABLE statements or one sample JSON object into a MockHero schema that can be passed to generate_test_data.

List MockHero field types, descriptions, parameters, and examples before building a schema.

List MockHero's pre-built schema templates for ecommerce, blog, SaaS, and social apps.

Overview

What is MockHero?

MockHero is an agent-first MCP server for generating realistic synthetic test data. It provides tools for schema detection, templates, authenticated generation, and more, and can be used either via a remote Streamable HTTP endpoint or a local stdio installation.

How to use MockHero?

Use the remote endpoint https://mockhero.dev/mcp/agent if your agent supports remote MCP. For local installation, add the following to your MCP client configuration, replacing <YOUR_API_KEY> with your actual key:

{
  "mcpServers": {
    "mockhero": {
      "command": "npx",
      "args": ["@mockherodev/mcp-server"],
      "env": {
        "MOCKHERO_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Then invoke the exposed tools as needed.

Key features of MockHero

  • Generates realistic synthetic test data.
  • Supports remote Streamable HTTP transport.
  • Exposes tools for usage estimation.
  • Provides loginless Polar checkout.
  • Enables API key claiming.
  • Includes schema detection and templates.
  • Offers authenticated generation.

Use cases of MockHero

  • Generate realistic test data for development environments.
  • Use templates to quickly produce consistent synthetic datasets.
  • Leverage schema detection to create data matching existing structures.
  • Integrate generation into agent workflows via remote MCP.

FAQ from MockHero

What is MockHero?

MockHero is an agent-first MCP server for generating realistic synthetic test data.

How do I use MockHero remotely?

Use the remote Streamable HTTP endpoint at https://mockhero.dev/mcp/agent when your agent supports remote MCP.

How do I install MockHero locally?

Install it by adding the provided configuration to your MCP client, running npx @mockherodev/mcp-server, and setting the MOCKHERO_API_KEY environment variable.

What tools does MockHero expose?

It exposes tools for usage estimation, loginless Polar checkout, API key claiming, schema detection, templates, and authenticated generation.

Do I need an API key for local installation?

Yes, local installation requires the MOCKHERO_API_KEY environment variable set to your API key.

Frequently asked questions

What is MockHero?

MockHero is an agent-first MCP server for generating realistic synthetic test data.

How do I use MockHero remotely?

Use the remote Streamable HTTP endpoint at `https://mockhero.dev/mcp/agent` when your agent supports remote MCP.

How do I install MockHero locally?

Install it by adding the provided configuration to your MCP client, running `npx @mockherodev/mcp-server`, and setting the `MOCKHERO_API_KEY` environment variable.

What tools does MockHero expose?

It exposes tools for usage estimation, loginless Polar checkout, API key claiming, schema detection, templates, and authenticated generation.

Do I need an API key for local installation?

Yes, local installation requires the `MOCKHERO_API_KEY` environment variable set to your API key.

Comments

More Data & Analytics MCP servers