Complete AI Training

MCP server · Coding

Binary Ninja MCP server

by fosdickio

Lets your AI look inside a program open in Binary Ninja and help you understand what it does.

Flow diagram: you ask your AI “What does the function at 0x401000 do?”, on your own computer the Binary Ninja MCP server works with binary Ninja, and you get back answers in your chat.

This is a helper that connects your AI assistant to Binary Ninja, a tool people use to take programs apart and see how they work. Once it is set up, you can ask your AI questions about the file you have open, and it can read the code, rename things, and add notes for you. It is handy for anyone doing reverse engineering, malware checks, or capture the flag puzzles.

What is an MCP server? The 30-second version

On its own, your AI can only chat with you. An MCP server is a small helper program that gives your AI a new skill or a connection to another app. This one connects your AI to Binary Ninja, the program where you have a file open. So when you ask a question, the AI can actually look inside that file and do things there for you.

What this MCP server does

You open a program in Binary Ninja and turn on this helper. Then you ask your AI something in plain words, like what a function does or where a value is used. The AI uses this helper to talk to Binary Ninja, which reads the code and sends back answers. You see the results in your chat, and the AI can also make small changes in Binary Ninja, like renaming a function or leaving a comment. It keeps working with whatever file you have open, and you can switch between open files.

Flow diagram: you ask your AI “What does the function at 0x401000 do?”, on your own computer the Binary Ninja MCP server works with binary Ninja, and you get back answers in your chat. Click to zoom

What you can do with it

  • Ask what a specific function does and get a readable version of its code
  • See the assembly instructions for a function
  • List all the strings, imports, and exports in the file
  • Find where a function or value is used elsewhere in the program
  • Rename functions and variables to names that make more sense
  • Add comments to code so you remember what you found
  • Switch between several open files and ask about the active one

Try asking your AI

  • “What does the function at address 0x401000 do? Explain it in plain words.”
  • “List all the strings in this file and flag anything that looks like a URL or password.”
  • “Find every place that calls the function named main and show me the call sites.”
  • “Rename the variables in this function so the code is easier to read, and add a short comment at the top.”

What it gives back to you

You get answers in your chat: explanations, lists of names or strings, snippets of code, and notes about what the AI found. When the AI changes something in Binary Ninja, like a name or comment, it tells you what it changed. You can also ask for reports and it will write them out for you.

Before you start

What you need

  • A copy of Binary Ninja installed on your computer
  • Python 3.12 or newer
  • An MCP client such as Cline, Claude Desktop, Cursor, or another one from the list
  • Node.js if you plan to use the npm package

Good to know

This helper can change things inside your Binary Ninja project, like renaming functions and adding comments, so keep a copy of your work if you care about the original names.

Install it with your AI

Add Binary Ninja MCP server to your AI, no technical skills needed

You don't install anything by hand. You copy one prompt, paste it into an AI that can work on your computer, and it checks, installs and connects the server for you, asking you when it needs something.

Sign in to get the install prompt

Members get a ready-made prompt that lets the Claude desktop app check Binary Ninja MCP server, install it and connect it for them, step by step. You don't need any technical skills: you copy, paste and answer a few questions. Your connected AI can also find and install any of the 4,066 MCP servers here for you.

Sign in Become a member

Who it's for

People who reverse engineer software, check files for malware, or solve capture the flag challenges and want an AI to help read the code.