# MockHero MCP server

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

## Links
- Registry page: https://www.getdrio.com/mcp/io-github-dinosaur24-mockhero
- Repository: https://github.com/dinosaur24/mockhero
- Website: https://mockhero.dev/docs/mcp

## Install
- Command: `npx -y @mockherodev/mcp-server`
- Endpoint: https://mockhero.dev/mcp/agent
- Auth: Not captured

## Setup notes
- Package: Npm @mockherodev/mcp-server v0.2.0
- Environment variable: MOCKHERO_API_KEY (secret)
- Environment variable: MOCKHERO_API_BASE
- Remote endpoint: https://mockhero.dev/mcp/agent

## Tools
- estimate_agent_usage - 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. Endpoint: https://mockhero.dev/mcp/agent
- create_agent_checkout - 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. Endpoint: https://mockhero.dev/mcp/agent
- check_agent_checkout_status - Poll a Polar checkout created by create_agent_checkout using the returned claim_token. Endpoint: https://mockhero.dev/mcp/agent
- claim_agent_api_key - Claim the MockHero API key after Polar marks the loginless agent checkout as paid. The key is returned once. Endpoint: https://mockhero.dev/mcp/agent
- generate_test_data - 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. Endpoint: https://mockhero.dev/mcp/agent
- generate_from_template - 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. Endpoint: https://mockhero.dev/mcp/agent
- detect_schema - Convert SQL CREATE TABLE statements or one sample JSON object into a MockHero schema that can be passed to generate_test_data. Endpoint: https://mockhero.dev/mcp/agent
- list_field_types - List MockHero field types, descriptions, parameters, and examples before building a schema. Endpoint: https://mockhero.dev/mcp/agent
- list_templates - List MockHero's pre-built schema templates for ecommerce, blog, SaaS, and social apps. Endpoint: https://mockhero.dev/mcp/agent

## Resources
Not captured

## Prompts
Not captured

## Metadata
- Owner: io.github.dinosaur24
- Version: 0.2.0
- Runtime: Npm
- Transports: STDIO, HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: Jul 3, 2026
- Source: https://registry.modelcontextprotocol.io
