idapython
Skill12k starsChanged 4 months agoMITView on GitHub
IDA Pro Python scripting for reverse engineering. Use when writing IDAPython scripts, analyzing binaries, working with IDA's API for disassembly, decompilation (Hex-Rays), type systems, cross-references, functions, segments, or any IDA database manipulation. Covers ida_* modules (50+), idautils iterators, and common patterns.
Trending
More talk lately.about the whole repository
Who's talking about mrexodia/ida-pro-mcp
- mandiant/capa-rules“identify anti-LLM analysis techniques via strings”GitHub · Jan 23, 2026 · 5 reactions
- whoisqwerz/pocket_disasm“Difference with ida-pro-mcp”GitHub · Jul 13, 2026 · 2 reactions
- CherryHQ/cherry-studio“[Bug]: MCP Cannot Be Auto-Approved”GitHub · Feb 7, 2026 · 2 reactions
- dnSpyEx/dnSpy“Plugins feature (MCP Server capability)”GitHub · May 12, 2025 · 2 reactions
- @pythonhub.dev“mrexodia / ida-pro-mcp AI-powered reverse engineering assistant that bridges IDA Pro with language models …”Bluesky · Aug 8, 2026 · 1 likes
The biggest 5 of 45 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 45
Talked about on GitHub, Bluesky and Hacker News (45 times).
On GitHub · 41
- Jan 23, 2026identify anti-LLM analysis techniques via strings — mandiant/capa-rules5 reactions · 3 comments
- Jul 13, 2026Difference with ida-pro-mcp — whoisqwerz/pocket_disasm2 reactions · 5 comments
- Feb 7, 2026[Bug]: MCP Cannot Be Auto-Approved — CherryHQ/cherry-studio2 reactions · 1 comment
- May 12, 2025Plugins feature (MCP Server capability) — dnSpyEx/dnSpy2 reactions · 2 comments
- Aug 4, 2026Сделайте mcp для opencode для умного поиска — munirov/cremniy1 reaction
36 more on GitHub
- Jul 21, 2026feat: integrate IDA, Ghidra, WinDbg, Jadx and Playwright MCPs — ljagiello/ctf-skills1 reaction
- Sep 14, 2025feat: add IDA Pro MCP marketplace submission — RooCodeInc/Roo-Code1 reaction
- Apr 29, 2025[讨论]: 请问现在的mcp功能能否通过 ida-pro-mcp 控制ida pro — CherryHQ/cherry-studio1 reaction
- Oct 4, 2026codex-plugins.github.mrexodia.ida-pro-mcp: init at 1.5.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.mrexodia.ida-pro-mcp: 1.5.0-unstable-2026-08-28 → 1.5.0 — sudosubin/agents.nix0 reactions
- Sep 30, 2026agent-skills.github.mrexodia.ida-pro-mcp: init at 1.5.0-unstable-2026-08-28 — sudosubin/agents.nix0 reactions
- Sep 20, 2026Fix stop() blocking when a keep-alive client is idle — mrexodia/zeromcp0 reactions
- Sep 14, 2026epic: MCP interface redesign for resources, prompts, capability discovery and low-token agent UX — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: close core IDA/Hex-Rays capability gaps with a typed native API surface — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: competitive parity matrix and reproducible MCP reverse-engineering benchmark suite — jacek4yang/reverse-mcpsays it tested it0 reactions
- Sep 14, 2026epic: versioned IDA backends, cross-platform support, DotSlash toolchain and ABI verification — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: safe mutation, refactoring, patch planning and snapshot/rollback workflows — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: single-executable runtime, crash recovery, revision safety and multi-agent HTTP — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: semantic reverse index, evidence search and persistent analysis cache — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: function signatures, similarity search and cross-IDB binary comparison — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: crypto, API-hash and recovered-string intelligence — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: structure, class, vtable and type recovery engine — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: recursive decompilation, type propagation and bounded data-flow analysis — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: Hex-Rays microcode deobfuscation, CFG repair and unflattening — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: agent-native composite analysis workflows and token-efficient context engine — jacek4yang/reverse-mcp0 reactions
- Aug 26, 2026ida-pro-mcp@2026-08-17T08.52.24: hash check failed — bright-angel/scoop-bucket0 reactions · 1 comment
- Jul 26, 2026feat: integrate IDA, Ghidra, WinDbg, Jadx, Burp Suite and Playwright MCPs — ljagiello/ctf-skills0 reactions
- Jun 12, 2026This content was flagged for possible cybersecurity risk. If this seems wrong, try rephrasing your request. To get authorized for security work, join the Trusted Access for Cyber program: https://chatgpt.com/cyber — openai/codex0 reactions · 3 comments
- Jun 5, 2026content(mcp): add IDA Pro MCP Server — JSONbored/awesome-claude0 reactions · 3 comments
- May 25, 2026[Question] How to work with it? — blacktop/ida-mcp-rs0 reactions · 1 comment
- May 9, 2026llm for security: codex全自动ctf — wsxk/wsxk.github.io0 reactions
- May 7, 2026Add support for IDAs debug api tools — buzzer-re/Rikugan0 reactions
- Apr 24, 2026[发布] — hello7689410/linping0 reactions · 1 comment
- Apr 21, 2026llm for security 1: ctf — wsxk/wsxk.github.io0 reactions
- Feb 8, 2026feature request: block or replace a set of string — fosdickio/binary_ninja_mcp0 reactions
- Nov 29, 2025Add `async` support — mrexodia/zeromcp0 reactions · 1 comment
- Nov 22, 2025See what FastMCP does with an invalid endpoint configured — mrexodia/zeromcp0 reactions
- Nov 15, 2025[Feature Request]: Add Binja Debugger Integration — fosdickio/binary_ninja_mcp0 reactions
- Sep 17, 2025set_comment不支持给不能反编译的函数的汇编行设置注释 — Captain-AI-Hub/IDA-MCP0 reactions
- Sep 14, 2025[MCP] Add Mcp https://github.com/mrexodia/ida-pro-mcp/ — RooCodeInc/Roo-Code0 reactions · 2 comments
- Aug 16, 2025ida mcp — wsxk/wsxk.github.io0 reactions
On Bluesky · 3
- Aug 8, 2026mrexodia / ida-pro-mcp AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.… — @pythonhub.dev1 likes and repost
- Mar 29, 2025It does exist, and it's by the x64dbg guy github.com/mrexodia/ida... — @philpax.me1 likes and repost
- May 26, 2026GitHub - mrexodia/ida-pro-mcp: AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP. — @r-blueteamsec.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Mar 26, 2025Ida Pro MCP – Simple MCP Server to Allow Vibe Reversing in Ida Pro1 point
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use modern ida_* modules. Avoid legacy idc module.
- Very specific: line 133
Wait for analysis: Call ida_auto.auto_wait() before reading results
- Very specific: line 135
64-bit addresses: Always assume ea_t can be 64-bit
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
IDAPython
Use modern ida_* modules. Avoid legacy idc module.
Module Router
| Task | Module | Key Items |
| Bytes/memory | ida_bytes | get_bytes, patch_bytes, get_flags, create_* |
| Functions | ida_funcs | func_t, get_func, add_func, get_func_name |
| Names | ida_name | set_name, get_name, demangle_name |
| Types | ida_typeinf | tinfo_t, apply_tinfo, parse_decl |
| Decompiler | ida_hexrays | decompile, cfunc_t, lvar_t, ctree visitor |
| Segments | ida_segment | segment_t, getseg, add_segm |
| Xrefs | ida_xref | xrefblk_t, add_cref, add_dref |
| Instructions | ida_ua | insn_t, op_t, decode_insn |
| Stack frames | ida_frame | get_frame, define_stkvar |
| Iteration | idautils | Functions(), Heads(), XrefsTo(), Strings() |
| UI/dialogs | ida_kernwin | msg, ask_*, jumpto, Choose |
| Database info | ida_ida | inf_get_*, inf_is_64bit() |
| Analysis | ida_auto | auto_wait, plan_and_wait |
| Flow graphs | ida_gdl | FlowChart, BasicBlock |
| Register tracking | ida_regfinder | find_reg_value, reg_value_info_t |
Core Patterns
Iterate functions
for ea in idautils.Functions():
name = ida_funcs.get_func_name(ea)
func = ida_funcs.get_func(ea)Iterate instructions in function
for head in idautils.FuncItems(func_ea):
insn = ida_ua.insn_t()
if ida_ua.decode_insn(insn, head):
print(f"{head:#x}: {insn.itype}")Cross-references
for xref in idautils.XrefsTo(ea):
print(f"{xref.frm:#x} -> {xref.to:#x} type={xref.type}")Read/write bytes
data = ida_bytes.get_bytes(ea, size)
ida_bytes.patch_bytes(ea, b"\x90\x90")Names
name = ida_name.get_name(ea)
ida_name.set_name(ea, "new_name", ida_name.SN_NOCHECK)Decompile function
cfunc = ida_hexrays.decompile(ea)
if cfunc:
print(cfunc) # pseudocode
for lvar in cfunc.lvars:
print(f"{lvar.name}: {lvar.type()}")Walk ctree (decompiled AST)
class MyVisitor(ida_hexrays.ctree_visitor_t):
def visit_expr(self, e):
if e.op == ida_hexrays.cot_call:
print(f"Call at {e.ea:#x}")
return 0
cfunc = ida_hexrays.decompile(ea)
MyVisitor().apply_to(cfunc.body, None)Apply type
tif = ida_typeinf.tinfo_t()
if ida_typeinf.parse_decl(tif, None, "int (*)(char *, int)", 0):
ida_typeinf.apply_tinfo(ea, tif, ida_typeinf.TINFO_DEFINITE)Create structure
udt = ida_typeinf.udt_type_data_t()
m = ida_typeinf.udm_t()
m.name = "field1"
m.type = ida_typeinf.tinfo_t(ida_typeinf.BTF_INT32)
m.offset = 0
m.size = 4
udt.push_back(m)
tif = ida_typeinf.tinfo_t()
tif.create_udt(udt, ida_typeinf.BTF_STRUCT)
tif.set_named_type(ida_typeinf.get_idati(), "MyStruct")Strings list
for s in idautils.Strings():
print(f"{s.ea:#x}: {str(s)}")Wait for analysis
ida_auto.auto_wait() # Block until autoanalysis completesKey Constants
| Constant | Value/Use |
BADADDR | Invalid address sentinel |
ida_name.SN_NOCHECK | Skip name validation |
ida_typeinf.TINFO_DEFINITE | Force type application |
o_reg, o_mem, o_imm, o_displ, o_near | Operand types |
dt_byte, dt_word, dt_dword, dt_qword | Data types |
fl_CF, fl_CN, fl_JF, fl_JN, fl_F | Code xref types |
dr_R, dr_W, dr_O | Data xref types |
Critical Rules
- NEVER convert hex/decimal manually — use
int_convertMCP tool - Wait for analysis: Call
ida_auto.auto_wait()before reading results - Thread safety: IDA SDK calls must run on main thread (use
@idasync) - 64-bit addresses: Always assume
ea_tcan be 64-bit
Anti-Patterns
| Avoid | Do Instead |
idc.* functions | Use ida_* modules |
| Hardcoded addresses | Use names, patterns, or xrefs |
| Manual hex conversion | Use int_convert tool |
| Blocking main thread | Use execute_sync() for long ops |
| Guessing at types | Derive from disassembly/decompilation |
Detailed API Reference
For comprehensive documentation on any module, read docs/<module>.md:
- High-use:
ida_bytes,ida_funcs,ida_hexrays,ida_typeinf,ida_name,idautils - Medium-use:
ida_segment,ida_xref,ida_ua,ida_frame,ida_kernwin - Specialized:
ida_dbg(debugger),ida_nalt(netnode storage),ida_regfinder(register tracking)
Full RST sources from hex-rays.com available at docs/<module>.rst.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

