Manual setup required. The maintainer's config contains paths only you know - edit the placeholders below before adding it to Claude Code.
1
Prepare the server locally
Run this once before adding it to Claude Code.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt2
Register it in Claude Code
claude mcp add -e "BNJLAT=${BNJLAT}" binja-lattice -- /path/to/BinjaLattice/.venv/bin/python /path/to/BinjaLattice/mcp_server.pyReplace any placeholder paths in the command with the real path on your machine.
Required:
BNJLATEnvironment Variables
Set these before running BinjaLattice MCP.
VariableDescriptionRequired
BNJLATThe API key generated by the Binary Ninja plugin server.YesAvailable Tools (5)
Once configured, BinjaLattice MCP gives your AI agent access to:
get_binary_infoGet metadata about the binary including architecture, entry point, and segments.get_function_pseudocodeGet decompiled C-like pseudocode for a specific function.function_nameupdate_function_nameRename a function within the Binary Ninja database.old_namenew_nameadd_comment_to_addressAdd a comment at a specific memory address.addresscommentsearch_bytesSearch for hex byte patterns with wildcard support.patternTry It Out
After setup, try these prompts with your AI agent:
→Analyze the current binary and provide a summary of its architecture, entry point, and total function count.
→Decompile the function 'main' and explain what it does in plain English.
→Find all cross-references to the 'decrypt_data' function.
→Rename the function at the current address to 'init_network_socket' and add a comment explaining its purpose.
→Search for the byte pattern '48 89 ?? 24' to identify potential stack operations.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Python 3.8+ with pip installed
BNJLAT— The API key generated by the Binary Ninja plugin server.
Alternative installation methods
Manual Installation
python -m venv .venv && source .venv/bin/activate && pip install -r requirements.txtConare · memory for coding agents
Keep this setup from going cold
Save the docs, env vars, and workflow around BinjaLattice MCP in Conare so Claude Code, Codex, and Cursor remember it next time.
Remember this setup$npx conare@latest