MockHero
NPM · @MOCKHERODEV/MCP-SERVER · 2 COMPONENTS · SCANNED AUG 3
Generate realistic relational test data — 156 field types, 22 locales, JSON/CSV/SQL, free previews.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security86
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.Partial
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 30 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability66
- AI-judged instruction clarity (good).Pass
- Context-footprint check failed: tool/resource definitions use about 1506 tokens (~167/item across 9 items; 9 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
- Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · @mockherodev/mcp-server
claude mcp add dinosaur24-mockhero -- npx -y @mockherodev/mcp-server
codex mcp add dinosaur24-mockhero -- npx -y @mockherodev/mcp-server
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"dinosaur24-mockhero": {
"type": "local",
"command": [
"npx",
"-y",
"@mockherodev/mcp-server"
],
"enabled": true
}
}
} openclaw mcp add dinosaur24-mockhero --command npx --arg -y --arg @mockherodev/mcp-server
mcp_servers:
dinosaur24-mockhero:
command: "npx"
args: ["-y", "@mockherodev/mcp-server"] {
"mcpServers": {
"dinosaur24-mockhero": {
"command": "npx",
"args": [
"-y",
"@mockherodev/mcp-server"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 3 Aug 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.
- 2 Aug 26 +47
- Provenance: unverified → fail ▼ security
- Install scripts: unverified → pass ▲ security
- Known CVEs: unverified → partial ▲ security
- Malware scan: unverified → pass ▲ security
- Schema quality: unverified → good ▲ functional
- Stability: unverified → 0.23 ▲ functional
- License: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Maintenance: unverified → pass ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Licence: MIT functional
- 31 Jul 26 −7
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 30 Jul 26 −18
- Malware scan: pass → unverified ▼ security
- 27 Jul 26 44
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed npm/@mockherodev/[email protected]
Provenance none
Ecosystem: npm · Outcome: none
Dependencies 94 packages
94 packages in the resolved dependency tree · 94 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
check_agent_checkout_status ~89
Poll a Polar checkout created by create_agent_checkout using the returned claim_token. Returns the checkout status (pending, paid, claimed, expired) and the next action to take (complete_checkout, claim_api_key, already_claimed, expired). Once status is paid, call claim_agent_api_key with the same token.
| Name | Type | Req | Description |
|---|---|---|---|
| token | string | yes | claim_token returned by create_agent_checkout. |
No output schema declared.
No examples provided.
claim_agent_api_key ~92
Claim the MockHero API key after Polar marks the loginless agent checkout as paid. The key is returned once. Store the returned key securely and restart this MCP server with MOCKHERO_API_KEY set (or export it in the environment) to unlock plain-English prompt generation, requests above 100 records, and production usage.
| Name | Type | Req | Description |
|---|---|---|---|
| token | string | yes | claim_token returned by create_agent_checkout. |
No output schema declared.
No examples provided.
create_agent_checkout ~132
Create a loginless Polar Checkout URL for MockHero's metered agent plan. Polar is the Merchant of Record for checkout, tax collection, and remittance. No MockHero account or login is required — supply a billing email and receive a Polar checkout URL plus a one-time claim_token. After the checkout is paid, poll check_agent_checkout_status, then call claim_agent_api_key to receive the API key. Agent plan: 500 free records per day, then $0.001 per 100 records, billed monthly.
| Name | Type | Req | Description |
|---|---|---|---|
| string | yes | Billing email for the agent or the agent operator. |
No output schema declared.
No examples provided.
detect_schema ~124
Convert an existing database schema or JSON sample into MockHero's schema format. Send a SQL CREATE TABLE statement and get back the structured schema ready to use with generate_test_data. Or send a sample JSON record and MockHero will infer the field types. This is useful when you have migration files or an existing database and want to generate test data that matches your schema without manually writing the definition. No API key required.
| Name | Type | Req | Description |
|---|---|---|---|
| sample_json | object | — | Example JSON record to infer schema from |
| sql | string | — | SQL CREATE TABLE statement(s) to convert |
No output schema declared.
No examples provided.
estimate_agent_usage ~270
Estimate MockHero agent-plan cost before generating data. No login or API key is required; when MOCKHERO_API_KEY is configured the estimate uses actual daily usage. Agent plan pricing: 500 free records per day, then $0.001 per 100 records (rounded up per request), billed monthly through Polar as Merchant of Record. Send the same tables/template/prompt you plan to generate. For prompt-based estimates you must also pass estimated_records because this tool does not run prompt-to-schema conversion.
| Name | Type | Req | Description |
|---|---|---|---|
| daily_used_before | integer | — | Optional assumption for records already used today when no API key is supplied. |
| estimated_records | integer | — | Required for prompt estimates because this tool does not run prompt-to-schema conversion. |
| format | string | — | Output format |
| locale | string | — | Default locale such as en, de, fr, es, or ja. |
| prompt | string | — | Plain-English data request. Requires estimated_records. |
| scale | number | — | Multiplier for template record counts. |
| seed | number | — | Seed for reproducible output. |
| sql_dialect | string | — | SQL dialect (only when format=sql) |
| tables | array | — | Structured schema — array of table definitions |
| template | string | — | Pre-built template name |
No output schema declared.
No examples provided.
generate_from_template ~266
Generate test data using a pre-built schema template. Pick a template (ecommerce, blog, saas, social) and optionally adjust the scale, locale, format, and seed. The template handles all the table definitions, field types, and foreign key relationships for you. Scale multiplier: 1.0 = default counts, 2.0 = double, 0.5 = half. Example: ecommerce template at scale 2.0 generates 100 users, 200 products, etc. Small template previews up to 100 records can run free without an API key (use a small scale such as 0.05); larger or production usage requires a MockHero API key (see create_agent_checkout for the loginless purchase flow).
| Name | Type | Req | Description |
|---|---|---|---|
| format | string | — | Output format |
| locale | string | — | Default locale (en, de, fr, es, etc.) |
| scale | number | — | Scale multiplier for record counts (default 1.0). Free keyless previews are capped at 100 records — use a small scale such as 0.05. |
| seed | number | — | Seed for reproducible output |
| sql_dialect | string | — | SQL dialect (only when format=sql) |
| template | string | yes | Template name |
No output schema declared.
No examples provided.
generate_test_data ~329
Generate realistic test data for database tables. Send either a structured schema (tables with fields) or a plain English description. Supports relational data with foreign keys, locale-aware names and addresses, 22 locales, 156 field types, and multiple output formats (JSON, CSV, SQL). The killer feature: define multiple tables with "ref" fields, and all foreign key relationships are correct — orders reference real user IDs, reviews link to real products. One call seeds your entire database. Auto-locale: add a "country" field as an enum with country codes (DE, FR, US, etc.) and names, emails, phones automatically match each row's nationality. Explicit table schemas up to 100 records can run free as a proof-of-work preview without an API key; plain-English prompt generation, larger requests, and production usage require a MockHero API key (see create_agent_checkout and claim_agent_api_key for the loginless purchase flow).
| Name | Type | Req | Description |
|---|---|---|---|
| format | string | — | Output format |
| locale | string | — | Default locale (en, de, fr, es, ja, etc.). Auto-detected from country field if present. |
| prompt | string | — | Plain English description (e.g. "50 users with German names and 200 orders linked to them"). Requires a MockHero API key. |
| seed | number | — | Seed for reproducible output. Same seed + same schema = identical data. |
| sql_dialect | string | — | SQL dialect (only when format=sql) |
| tables | array | — | Structured schema — array of table definitions |
No output schema declared.
No examples provided.
list_field_types ~88
List all 156 available field types for test data generation. Returns every supported type organized by category (Identity, Location, Financial, Temporal, Technical, Content, Logic, Social, HR, Ecommerce, Security, AI/ML, Healthcare, Edge Cases, Special) with descriptions, parameters, and examples. Use this to discover what types are available before building a schema. No API key required.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
list_templates ~116
List pre-built schema templates for common application patterns. Available templates: - ecommerce: Customers, products, orders, order items, reviews (5 tables) - blog: Authors, posts, comments, tags, post_tags (5 tables) - saas: Organizations, members, subscriptions, invoices (4 tables) - social: Users, posts, likes, follows, messages (5 tables) Each template includes realistic field types, proper foreign key relationships, weighted enum distributions, and auto-locale detection via country fields. No API key required.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.