MockHero
About
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.
Details
- Author
- dinosaur24
- Downloads
- 261
- Categories
- Developer Tools, Search, AI, Database
Jump to
- 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.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MockHeroCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
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.
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.
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.
check_agent_checkout_status
Poll a Polar checkout created by create_agent_checkout using the returned claim_token.
claim_agent_api_key
Claim the MockHero API key after Polar marks the loginless agent checkout as paid. The key is returned once.
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.
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.
detect_schema
Convert SQL CREATE TABLE statements or one sample JSON object into a MockHero schema that can be passed to generate_test_data.
list_field_types
List MockHero field types, descriptions, parameters, and examples before building a schema.
list_templates
List MockHero's pre-built schema templates for ecommerce, blog, SaaS, and social apps.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mockhero": {
"mockhero": {
"type": "streamable-http",
"url": "https://mockhero.dev/mcp/agent"
}
}
}
}
McpServers
{
"mockhero": {
"type": "streamable-http",
"url": "https://mockhero.dev/mcp/agent"
}
}
MCP server forMockHero— generate realistic test data from Claude Desktop, Claude Code, Cursor, Windsurf, and other AI agents.
- No key (free preview):generate up to 100 records per request from explicit table schemas or small templates. Schema detection, field-type listing, templates, and cost estimates are always free.
- WithMOCKHERO_API_KEY(recommended):plain-English prompt generation, larger requests, CSV/SQL output on paid tiers, and metered agent-plan usage.
Agents that support remote Streamable HTTP MCP can skip the npm install and connect directly to:
The hosted endpoint includes the same tools as this package: cost estimation, loginless Polar checkout, checkout status, API key claiming, schema detection, templates, and data generation. Pass a key viaAuthorization: Bearer mh_YOUR_API_KEY(or theapi_keytool argument) for authenticated calls.
Agents that support remote Streamable HTTP MCP can connect directly to:
The hosted endpoint includes cost estimation, loginless Polar checkout, checkout status, API key claiming, schema detection, templates, and authenticated data generation.
Add to~/.claude/claude_desktop_config.json:
{ "mcpServers": { "mockhero": { "command": "npx", "args": ["@mockherodev/mcp-server"], "env": { "MOCKHERO_API_KEY": "mh_live_your_key_here" } } } }
Omit theenvblock entirely to run in free preview mode.
Add to.cursor/mcp.jsonin your project:
{ "mcpServers": { "mockhero": { "command": "npx", "args": ["@mockherodev/mcp-server"], "env": { "MOCKHERO_API_KEY": "mh_live_your_key_here" } } } }
# Free preview mode claude mcp add mockhero -- npx @mockherodev/mcp-server # Authenticated claude mcp add mockhero -- env MOCKHERO_API_KEY=mh_live_xxx npx @mockherodev/mcp-server
Get an API key without leaving your agent (loginless checkout)
No signup or dashboard needed. The agent-plan purchase flow is fully tool-driven:
- estimate_agent_usage— estimate cost first. The agent plan includes 500 free records per day, then $0.001 per 100 records (rounded up per request), billed monthly throughPolaras Merchant of Record.
- create_agent_checkout— pass a billing email; returns a Polar checkout URL and a one-timeclaim_token. A human completes payment in the browser.
- check_agent_checkout_status— poll with theclaim_tokenuntilstatusispaid.
- claim_agent_api_key— exchange theclaim_tokenfor the API key.The key is returned exactly once— store it securely.
- Restart this server withMOCKHERO_API_KEY=mh_...set (recommended path from here on).
Prefer a dashboard? Sign up free atmockhero.devinstead.
Generate realistic test data from a structured schema or plain English description. Relational foreign keys, 156 field types, 22 locales, JSON/CSV/SQL output. Explicit schemas up to 100 records run free without a key; prompt mode and larger requests needMOCKHERO_API_KEY.
"Generate 50 users with German names and 200 orders linked to them"
Generate data from a pre-built template (ecommerce,blog,saas,social) — no schema definition needed. Small scales (e.g.0.05) stay within the free 100-record preview.
Use the ecommerce template at 2x scale with German locale
Convert SQL CREATE TABLE statements or JSON samples into MockHero's schema format. Free, no key required.
List all 156 supported field types with descriptions and parameters. Free, no key required.
List pre-built schema templates. Free, no key required.
Estimate agent-plan cost before generating: free daily allowance remaining, billable records, billable 100-record units, and estimated dollar cost. Free, no key required.
Create a loginless Polar checkout for the metered agent plan. Returns a checkout URL and one-timeclaim_token.
Poll a checkout byclaim_tokenuntil it is paid.
Claim the API key after payment. Returned once — store it and setMOCKHERO_API_KEY.
- Free tier:500 records/day, 100 per request, JSON output.
- Agent plan (loginless, metered):500 free records/day, then $0.001 per 100 records, billed monthly via Polar (Merchant of Record).
- Full pricing:mockhero.dev/agent-pricing.json
- Website:mockhero.dev
- Docs:mockhero.dev/docs/mcp
- Agent quickstart:mockhero.dev/agent-quickstart.json
- OpenAPI:mockhero.dev/openapi.json
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Create crafted UI components inspired by the best 21st.dev design engineers.
Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server
An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .
MCP server for AI Diagram Maker — generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent
ALAPI MCP Tools,Call hundreds of API interfaces via MCP
AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform
MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.
APIMatic MCP Server is used to validate OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMatic’s API.
One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.
Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




