MCP server for Arm64 Linux performance: parse perf output, suggest NEON intrinsics, audit deps.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Arm Code MCP.
analyze_perf_outputParse raw `perf report --stdio` output and return the top hot symbols, ranked by overhead.
suggest_neon_intrinsicRecommend NEON intrinsics for a hot loop using hybrid semantic + exact-name retrieval
check_arm64_depsScan a dependency manifest and flag packages with known arm64 compatibility issues.
An MCP server that helps AI assistants optimize Linux workloads on Arm64.
It parses perf report output, recommends NEON SIMD intrinsics for hot loops,
and audits Python dependency manifests for arm64 wheel availability β
all offline, all structured, all callable from Claude Code, GitHub Copilot, and Codex.
analyze_perf_output β parse perf report --stdio into a ranked list of hot symbolssuggest_neon_intrinsic β semantic + keyword search over 110 curated NEON intrinsicscheck_arm64_deps β flag packages in requirements.txt, pyproject.toml, or Dockerfile that lack arm64 wheels or require special handlingAdd to your MCP client config (e.g. ~/.claude/mcp.json):
Restart your client. All three tools are now available.
analyze_perf_outputParse raw perf report --stdio output and return the top hot symbols, ranked by overhead.
Example response:
suggest_neon_intrinsicRecommend NEON intrinsics for a hot loop using hybrid semantic + exact-name retrieval over a curated knowledge base of 110 intrinsics.
Example response:
check_arm64_depsScan a dependency manifest and flag packages with known arm64 compatibility issues. Fully offline β no network calls, fast, deterministic.
Example response:
Severity levels:
| Level | Meaning |
|---|---|
error | No arm64 wheel exists (e.g. GPU-only packages) |
warning | Wheel exists but requires a workaround or alternative source |
info | Wheel available; version constraint or system-lib note applies |
All env vars are optional. The server works with no configuration.
| Variable | Default | Description |
|---|---|---|
ARM_CODE_MCP_LOG_LEVEL | INFO | Log verbosity: DEBUG, INFO, WARNING |
ARM_CODE_MCP_KB_PATH | bundled JSONL | Override path to neon_intrinsics.jsonl |
ARM_CODE_MCP_CACHE_DIR | ~/.cache/arm-code-mcp | Embedding cache directory |
Pass env vars to the container:
suggest_neon_intrinsic is evaluated against 15 hand-curated (query, expected intrinsic) pairs
using the real all-MiniLM-L6-v2 embedding model. Current baseline:
| Metric | Score |
|---|---|
| hit@1 | 0.667 |
| hit@3 | 0.933 |
| hit@5 | 1.000 |
| MRR | 0.817 |
The regression guard exits non-zero if hit@3 drops below 0.70.
Run the eval harness locally:
See eval/README.md for methodology and known limitations.
Makefile targets:
| Target | Description |
|---|---|
make setup | uv sync + pre-commit install |
make test | Run the full test suite |
make lint | ruff check + ruff format --check |
make eval | Run the NEON retrieval eval harness |
make docker-build | Build arm-code-mcp:dev locally |
make docker-run | Run the local dev image over stdio |
Multi-arch images (linux/amd64 + linux/arm64) are built and pushed automatically
by .github/workflows/release.yml on v*.*.* tags.
The NEON intrinsics knowledge base lives in src/arm_code_mcp/kb/data/neon_intrinsics.jsonl
(110 entries). To add intrinsics or refresh after a model upgrade, see docs/kb-refresh.md.
Tools
parse_flamegraph β extract hot paths from Linux perf flamegraph SVGsuggest_sve2_intrinsic β extend retrieval to SVE2 intrinsics (Neoverse V2, Cortex-X4)Eval
Coming soon.
Stars, forks, and issues are welcome. Open a PR or file an issue on GitHub.
Good first issues:
kb/data/neon_intrinsics.jsonlparse_flamegraph tool for Linux perf flamegraph SVG filesApache 2.0 β same as arm/mcp.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/arm-code-mcp)<a href="https://allmcps.com/mcp/arm-code-mcp"><img src="https://allmcps.com/api/badge/arm-code-mcp?style=directory" alt="Arm Code MCP on AllMCPs" /></a>