Borrowing it
Nothing to install: this file belongs to jtsylve/re-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/jtsylve/re-mcp/main/CLAUDE.mdgit clone --depth 1 https://github.com/jtsylve/re-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/jtsylve/re-mcp/claude-md)<a href="https://agentmods.dev/instructions/jtsylve/re-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/jtsylve/re-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/jtsylve/re-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/jtsylve/re-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.01499 | $0.01499 |
| Opus 5.5 | $0.00600 | $0.00600 |
| Sonnet 5.5 | $0.00300 | $0.00300 |
| Haiku 4.5 | $0.00150 | $0.00150 |
Grade A, and why
re-mcp CLAUDE.md scanned grade A with 0 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 2mo 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project
Multi-backend reverse-engineering MCP server. Python + FastMCP, stdio and streamable HTTP transports. Backends: IDA Pro (idalib) and Ghidra (pyghidra).
Commands
uv sync # Install dependencies
uv run re-mcp-ida # Run IDA backend (direct stdio mode)
uv run re-mcp-ghidra # Run Ghidra backend (direct stdio mode)
uv run ruff check packages/ # Lint
uv run ruff format packages/ # Format
uv run ruff check --fix packages/ # Lint with auto-fix
Pre-commit hooks run REUSE compliance checks, ruff lint (with --fix --exit-non-zero-on-fix), ruff format, idalib threading lint (scripts/lint_ida_threading.py), and pytest on commit.
Architecture
See docs/architecture.md for full details. The project is a monorepo with three packages:
re-mcp-core(packages/re-mcp-core/src/re_mcp/): generic MCP supervisor infrastructure —supervisor.py,daemon.py,proxy.py,worker_provider.py,backend.py,server.py,context.py,exceptions.py,helpers.py,models.py,sandbox.py,transforms.py,_process.pyre-mcp-ida(packages/re-mcp-ida/src/re_mcp_ida/): IDA-specific backend —backend.py,server.py,session.py,helpers.py,exceptions.py,models.py,transforms.py,_cli.py,tools/,resources.py,prompts/re-mcp-ghidra(packages/re-mcp-ghidra/src/re_mcp_ghidra/): Ghidra-specific backend —backend.py,server.py,session.py,helpers.py,exceptions.py,models.py,transforms.py,_cli.py,tools/,resources.py,prompts/
Key points for editing:
- Supervisor (
re_mcp.supervisor): entry point,ProxyMCP(FastMCP)+WorkerPoolProvider. Registers generic management tools (close_database,save_database,list_databases,wait_for_analysis,list_targets); each backend registersopen_databaseviabackend.py. Management tools usetry_get_session_id()(fromre_mcp.context). Most omitctxfrom their signature;save_databaseis the exception (it acceptsctxfor heartbeat progress notifications, but FastMCP strips it from the JSON schema). - Backends (
re_mcp_ida.backend,re_mcp_ghidra.backend): implement theBackendprotocol — registeropen_database, prompts, backend-specific instructions, and target listing. Discovered viare_mcp.backendsentry points. - Worker provider (
re_mcp.worker_provider):WorkerPoolProvider(Provider),RoutingTool(Tool),RoutingTemplate(ResourceTemplate),Workerdataclass. Session-scoped ownership under_lock—close_for_session()anddetach_all()are atomic.ensure_session_cleanup()registers a disconnect callback on the MCP session's exit stack. - Workers (
re_mcp_ida.server,re_mcp_ghidra.server): one per database, stdio transport. Entry points:re-mcp-ida-worker,re-mcp-ghidra-worker. - Bootstrap-safe modules (importable without
bootstrap()): allre_mcpmodules, plus<backend>.exceptions,<backend>.models,<backend>.transforms,<backend>.prompts/. The supervisor never imports backend-engine-required modules. - Engine-required modules:
<backend>.helpers,<backend>.session,<backend>.tools/,<backend>.resources. Backend-specific imports — only loaded in worker processes. @session.require_open(no parens) — decorator on nearly every tool- All tools return Pydantic models on success; raise
BackendErrorsubclass on failure (IDAError/GhidraError)
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.
- 2mo ago First seen · 64 lines · 1,499 tokens per session scan A 651d016fcd36
re-mcp CLAUDE.md is an instructions file published in the GitHub repository jtsylve/re-mcp (177 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,499 tokens to every session, about $0.0060 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
re-mcp CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| re-mcp CLAUDE.mdjtsylve/re-mcp | Instructions file | 177 | 1mo ago | Apache-2.0 | A | 1,499 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | 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 | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |