Borrowing it
Nothing to install: this file belongs to mockzilla/mockzilla-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mockzilla/mockzilla-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/mockzilla/mockzilla-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/mockzilla/mockzilla-mcp/claude-md)<a href="https://agentmods.dev/instructions/mockzilla/mockzilla-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/mockzilla/mockzilla-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/mockzilla/mockzilla-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/mockzilla/mockzilla-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.03210 | $0.03210 |
| Opus 5.5 | $0.01284 | $0.01284 |
| Sonnet 5.5 | $0.00642 | $0.00642 |
| Haiku 4.5 | $0.00321 | $0.00321 |
Grade C, and why
mockzilla-mcp CLAUDE.md scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 28d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
clean slate: `rm -rf ~/.cache/mockzilla-mcp`. To test the cache Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **`curl -H 'X-Mockzilla-Replay:'` sends nothing.** curl reads a How it starts
The opening of the file, as written. The whole thing — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.
mockzilla-mcp
Stdio MCP server bridging Claude Desktop / Cursor / etc. to mockzilla. Pure-JS, no build step, ESM, Node ≥ 18.
Layout
bin/cli.js JSON-RPC entry: stdin loop, dispatch, signal handlers.
lib/tools.js The local tool registry (descriptions + handler refs).
lib/install.js check_cli, install_cli, resolveMockzilla, cache helpers.
lib/local.js serve_locally, stop_locally, info, lint, simplify, pack,
generate, child tracking.
lib/discover.js discover_specs (filesystem scan + spec summaries).
lib/history.js request_history (list) and diagnose_requests (analysis),
both read from the running server's /.history API.
lib/replay.js setup_replay (writes a replay block into config.yml) and
list_replays, reading /.replay.
lib/github.js publish_to_github and friends: push mocks to the user's own
repo so the Mockzilla action deploys them. Drives their `gh`.
lib/docs.js mockzilla_docs_{topics,read,search}, served from the packaged
docs/ (MOCKZILLA_DOCS_DIR points at another build).
docs/ Built by `make build`, not in git. Ships in the npm tarball.
lib/version.js Bridge version + npm registry update check (bridge_status).
lib/auth.js Hosted-plane login: OAuth in the browser, saved tokens, refresh.
lib/proxy.js Hosted-plane forwarding with the saved login or MOCKZILLA_TOKEN.
lib/hosted.js Hosted tool definitions packed at build, listed before login.
lib/util.js Tiny shared helpers (shellEscape).
bin/cli.js is the only file the npm bin entry runs. It owns the
JSON-RPC loop and delegates everything else.
Publishing to GitHub
lib/github.js is the only part of the bridge that writes outside this
machine. It drives the user's own gh, pushes to a repository they
name, and the deployed URL is public whatever the repo's visibility.
So: visibility has no default, the repo is never invented, an
existing services folder is merged into rather than replaced, and an
existing workflow is never overwritten.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 28d ago Changed · +9 lines · +156 tokens per session 2a8b2c93ec03
- 1mo ago Changed · +53 lines · +675 tokens per session 0daef54a6e51
- 1mo ago Changed · +15 lines · +214 tokens per session 1d516037be9a
- 1mo ago Changed · +41 lines · +598 tokens per session 57c62c9000e4
- 2mo ago First seen · 170 lines · 1,567 tokens per session scan C 5e8f0aa5c2af
mockzilla-mcp CLAUDE.md is an instructions file published in the GitHub repository mockzilla/mockzilla-mcp (5 stars, last pushed 28d ago), licensed MIT. It adds 3,210 tokens to every session, about $0.0128 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
mockzilla-mcp CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mockzilla-mcp CLAUDE.mdmockzilla/mockzilla-mcp | Instructions file | 5 | 28d ago | MIT | C | 3,210 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |