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
Metadata
Release files for angr-api-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| angr_api_mcp-0.1.0.tar.gz | 19.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| angr_api_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.8 MB
Release files / angr_api_mcp-0.1.0.tar.gz
| Download URL | angr_api_mcp-0.1.0.tar.gz |
|---|---|
| Size | 19.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a949b1e253fd4361e56c3929499b79038064f00e1ac1f379d3efffea5930894b
|
|
BLAKE2b-256 checksum How to use checksums |
3b87f1d5dc618978be504df8ca85ab6ad69cffc117bf30561725f8a9d49a1671
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / angr_api_mcp-0.1.0-py3-none-any.whl
| Download URL | angr_api_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 25.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c852d2ff4497902c84f0618c53f8c89953e650059bbe0f96ec26ac9dd24e4292
|
|
BLAKE2b-256 checksum How to use checksums |
ac3b35fb021fdbe1a2420346adc239518c715b075afe5719ff8013757f5626e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|