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.svg" alt="Measured on agentmods" 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 | $0.00749 | $0.00749 |
| Sonnet 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 8d 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.
- 8d 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 (151 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,499 tokens to every session, about $0.0075 per session on Opus 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.
Other instructions, from other repositories
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.