Skip to main content

MCP server for angr binary analysis API workflow retrieval

Project description

angr-api-mcp

MCP server for angr binary analysis API workflow retrieval.

Extracts real API usage patterns from angr's source code and angr-doc examples, then indexes them with semantic search so LLMs can query correct API call sequences.

Installation

Via Claude Code (recommended)

claude mcp add angr-api-mcp -- uvx angr-api-mcp

Via Claude Desktop

{
  "mcpServers": {
    "angr": {
      "command": "uvx",
      "args": ["angr-api-mcp"]
    }
  }
}

Via pip

pip install angr-api-mcp

First-time setup

After adding the server, build the index by calling the initialize_index tool from Claude:

initialize_index()

This clones angr and angr-doc from GitHub and builds the semantic index (~5–10 minutes). The index is stored at ~/.local/share/angr-api-mcp/chroma_db and persists across restarts.

Or run from the command line:

angr-api-mcp-admin build-index

# Point at local repos to skip cloning
angr-api-mcp-admin build-index --angr-path /path/to/angr --angr-doc-path /path/to/angr-doc

MCP Tools

Tool Description
initialize_index Build the workflow index
get_workflows Search API call sequences by task description
get_api_doc Look up a class or method
list_related_apis Find co-occurring APIs
get_index_info Show index metadata
clear_index Wipe the index

CLI (admin / inspection)

# Search for workflows by task
angr-api-mcp-admin inspect workflows "run CFG analysis on a binary"
angr-api-mcp-admin inspect workflows "symbolic execution to find target address"

# Look up a class or method
angr-api-mcp-admin inspect api-doc SimulationManager
angr-api-mcp-admin inspect api-doc CFGFast

# Find co-occurring APIs
angr-api-mcp-admin inspect related Project

# Index info
angr-api-mcp-admin inspect info

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

angr_api_mcp-0.1.0.tar.gz (19.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

angr_api_mcp-0.1.0-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file angr_api_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: angr_api_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 19.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for angr_api_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a949b1e253fd4361e56c3929499b79038064f00e1ac1f379d3efffea5930894b
MD5 09005cf50afabcaca95331cab6ce2764
BLAKE2b-256 3b87f1d5dc618978be504df8ca85ab6ad69cffc117bf30561725f8a9d49a1671

See more details on using hashes here.

File details

Details for the file angr_api_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: angr_api_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for angr_api_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c852d2ff4497902c84f0618c53f8c89953e650059bbe0f96ec26ac9dd24e4292
MD5 6d7899f199eb2f038a004ddac4490580
BLAKE2b-256 ac3b35fb021fdbe1a2420346adc239518c715b075afe5719ff8013757f5626e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page