
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
@mockherodev/mcp-server
Advanced tools
MCP server for MockHero — generate realistic test data from Claude Desktop, Cursor, and other AI agents. Free 100-record previews without an API key, plus loginless Polar checkout to claim a key.
MCP server for MockHero — generate realistic test data from Claude Desktop, Claude Code, Cursor, Windsurf, and other AI agents.
Works with or without an API key:
MOCKHERO_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:
https://mockhero.dev/mcp/agent
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 via Authorization: Bearer mh_YOUR_API_KEY (or the api_key tool argument) for authenticated calls.
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 the env block entirely to run in free preview mode.
Add to .cursor/mcp.json in 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
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 through Polar as Merchant of Record.create_agent_checkout — pass a billing email; returns a Polar checkout URL and a one-time claim_token. A human completes payment in the browser.check_agent_checkout_status — poll with the claim_token until status is paid.claim_agent_api_key — exchange the claim_token for the API key. The key is returned exactly once — store it securely.MOCKHERO_API_KEY=mh_... set (recommended path from here on).Prefer a dashboard? Sign up free at mockhero.dev instead.
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 need MOCKHERO_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-time claim_token.
Poll a checkout by claim_token until it is paid.
Claim the API key after payment. Returned once — store it and set MOCKHERO_API_KEY.
| Variable | Required | Description |
|---|---|---|
MOCKHERO_API_KEY | No | MockHero API key (mh_...). Without it, generation runs in free preview mode (≤100 records per request, explicit schemas/templates only). |
MOCKHERO_API_BASE | No | Base URL of the MockHero API. Default https://mockhero.dev. |
FAQs
MCP server for MockHero — generate realistic test data from Claude Desktop, Cursor, and other AI agents. Free 100-record previews without an API key, plus loginless Polar checkout to claim a key.
The npm package @mockherodev/mcp-server receives a total of 25 weekly downloads. As such, @mockherodev/mcp-server popularity was classified as not popular.
We found that @mockherodev/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.