ida-pro-mcp-plus: Instructions file for Claude Code

CLAUDE.md

ida-pro-mcp-plus CLAUDE.md is an instructions file for Claude Code from fantay0312/ida-pro-mcp-plus. It costs 1,132 tokens per session, scanned A, a copy of ida-pro-mcp CLAUDE.md, MIT.

Repository guidance for an IDA Pro MCP server, a tool that lets coding agents use IDA Pro to inspect and modify compiled programs.

In plain words
What is it for?
Use it when adding or changing server features for disassembly, decompilation, memory inspection, type information, renaming, patching, debugging, or Python execution.
Why use it?
It records the project structure and rules needed to call IDA Pro safely, including its requirement that SDK calls run on the main thread.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is fantay0312/ida-pro-mcp-plus's own configuration. It tells Claude Code how to work on ida-pro-mcp-plus itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ida-pro-mcp-plus configures →

Reuse

Borrowing it

Nothing to install: this file belongs to fantay0312/ida-pro-mcp-plus. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/fantay0312/ida-pro-mcp-plus/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/fantay0312/ida-pro-mcp-plus

Made for: Claude Code.

Wrote 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.

agentmods badge for ida-pro-mcp-plus CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/fantay0312/ida-pro-mcp-plus/claude-md/github.svg)](https://agentmods.dev/instructions/fantay0312/ida-pro-mcp-plus/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/fantay0312/ida-pro-mcp-plus/claude-md"><img src="https://agentmods.dev/badge/instructions/fantay0312/ida-pro-mcp-plus/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.

agentmods 80×15 button for ida-pro-mcp-plus CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/fantay0312/ida-pro-mcp-plus/claude-md"><img src="https://agentmods.dev/badge/instructions/fantay0312/ida-pro-mcp-plus/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,132 This file is loaded in full into every session.
When invoked 1,132 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.01132 $0.01132
Opus 5 $0.00566 $0.00566
Sonnet 5 $0.00226 $0.00226
Haiku 4.5 $0.00113 $0.00113

Measured 11d ago against content hash 36e1b2f2d6f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ida-pro-mcp-plus 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 11d 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.

Origin

This is a copy

92% identical to ida-pro-mcp CLAUDE.md — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

Guidance for working in this repository.

What this project is

IDA Pro MCP Server: exposes IDA Pro / idalib functionality to MCP clients.

Main pieces:

  • src/ida_pro_mcp/server.py: MCP server entrypoint
  • src/ida_pro_mcp/idalib_server.py: headless idalib server
  • src/ida_pro_mcp/ida_mcp/: IDA/plugin-side APIs

Important API modules:

  • api_core.py: IDB metadata, functions, strings, imports
  • api_analysis.py: decompilation, disassembly, xrefs, paths, pattern search
  • api_memory.py: bytes/ints/strings, patching
  • api_types.py: structs, type inference, type application
  • api_modify.py: comments, renaming, asm patching
  • api_stack.py: stack frame operations
  • api_debug.py: debugger control, unsafe / low priority for tests
  • api_python.py: execute Python in IDA context
  • api_resources.py: ida:// MCP resources

Core implementation rules

IDA thread safety

All IDA SDK calls must run on the main thread. Use:

from .rpc import tool
from .sync import idasync

@tool
@idasync
def my_tool(...):
    ...

API conventions

  • Prefer batch-first APIs.
  • Many functions accept either a comma-separated string or a list.
  • Use full type hints and Annotated[...] descriptions.
  • The function docstring becomes the MCP tool description.

Example:

def my_api(addrs: Annotated[str, "Addresses (0x401000, main) or list"]) -> list[dict]:
    ...

Common helpers

  • Parse addresses with parse_address()
  • Normalize batch input with normalize_list_input() / normalize_dict_list()
  • Use shared pagination / filtering helpers from utils.py

Unsafe operations

Debugger or destructive operations should be marked unsafe:

from .rpc import tool, unsafe

@unsafe
@tool
@idasync
def dangerous_op(...):
    ...

Development commands

Run

uv run ida-pro-mcp
uv run ida-pro-mcp --transport http://127.0.0.1:8744/sse
uv run idalib-mcp --host 127.0.0.1 --port 8745 path/to/binary
uv run idalib-mcp --isolated-contexts --host 127.0.0.1 --port 8745 path/to/binary
uv run ida-pro-mcp --unsafe

Read the full file on GitHub · 157 lines

Changes

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.

  1. 11d ago First seen · 157 lines · 1,132 tokens per session scan A 36e1b2f2d6f0

Subscribe to this mod's changes

ida-pro-mcp-plus CLAUDE.md is an instructions file published in the GitHub repository fantay0312/ida-pro-mcp-plus (6 stars, last pushed 5mo ago), licensed MIT. It adds 1,132 tokens to every session, about $0.0057 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to ida-pro-mcp CLAUDE.md, differing in 3 lines, and is treated as a copy.

Related

Other instructions, from other repositories

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.

vercel/next.js · 7,296 tokens

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.

openai/codex · 5,153 tokens

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).

microsoft/vscode · 6,785 tokens

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.

github/spec-kit · 7,104 tokens

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).

microsoft/vscode · 5,001 tokens

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.

langchain-ai/langchain · 4,469 tokens