The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Edgehound listing page.
An MCP server that writes test suites designed to break your code.
This repo is the public front door — install guide, examples, and issue tracking. The generation engine runs as a hosted service, so there is nothing here to build or self-host.
Point your AI agent at a file, and Edgehound writes a complete, runnable test suite that attacks it: boundary values, unicode and emoji, timezone and month-end math, float money rounding, double submits, injection strings, pagination edges. It also predicts — before you run anything — which bugs the suite will expose, with the exact code evidence for each.
Works with Claude Code, Cursor, opencode, VS Code, and any MCP client.
Add the server to your MCP config:
On first use your client will ask you to sign in to MCPize. After that:
"write tests for src/pricing.ts"
and your agent does the rest.
Paste this into your project's rules file (CLAUDE.md, AGENTS.md, or .cursor/rules), and your agent will reach for Edgehound every time it writes or changes input-handling code — no prompting needed:
examples/user-utils.js has four innocent-looking helpers. A real generation produced 60 tests — 55 passed, 5 failed. Every failure was a real bug in the sample:
parseDuration('1h30m') returns 3600 — it silently drops the minutesmonthlyPrice leaks float drift on non-divisible centstruncate blows up when handed a number instead of a stringTry it:
Languages today: JavaScript/TypeScript (Jest, Vitest, node:test), Python (pytest), Go, PHP (PHPUnit), Ruby (RSpec), Rust (cargo test).
Bugs, weird output, missing languages — open an issue here. We read everything and ship fixes fast. Want Go/Rust/PHP improvements or a language we don't cover yet (Java, C#, Swift)? Say so in an issue; demand decides what gets added next.
v1.1 — predicted-bug reports, syntax-validated output with auto-repair, multi-file context, 8 test frameworks.