← Back to Leaderboard
Aharshkedia177

harshkedia177/axon

A local code graph for tracing dependencies and assessing refactors via MCP

Engineering Health (Methodology)
C · 47/100
Maintenance Activity
● Updated 4mo ago
Latest Release
v1.0.1
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance12/35
Fork Adoption18/25
Release Cadence11/20
License Clarity6/20
MCPCLISelf-Hosted
Total Stars
★ 819
24h Growth
+0
7d Growth
+1
Forks
116

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

harshkedia177/axon Star History (2026-02-20 - 2026-12-04) ALL-TIME STAR HISTORY (2026-02 – 2026-12) +818 in 287d · avg +3/day 865 433 0 2026-02-20: ★ 12026-03-14: ★ 5392026-04-04: ★ 6192026-04-25: ★ 6592026-05-16: ★ 6842026-06-06: ★ 7012026-06-27: ★ 7082026-07-18: ★ 7162026-08-08: ★ 7242026-08-29: ★ 7992026-09-19: ★ 8072026-10-10: ★ 8092026-10-31: ★ 8112026-11-18: ★ 8162026-12-04: ★ 819 ★ 819 2026-02 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Axon builds a structural index before serving queries. It walks supported files while respecting .gitignore, uses Tree-sitter to extract symbols, resolves imports and calls, then adds inheritance and type relationships. Leiden clustering via igraph and leidenalg identifies communities. Framework-specific entry-point rules seed breadth-first traversal of the call graph to approximate execution flows.

The graph is built in memory, then persisted in KuzuDB alongside BM25 full-text and HNSW vector indexes. A StorageBackend protocol separates persistence from the stdio MCP server, Typer CLI, and FastAPI/React dashboard; Neo4j is available as an optional backend. Watch mode refreshes file-local analysis on changes and batches global community, flow, and dead-code work every 30 seconds, so those views can briefly lag behind the source.

Key Capabilities & Differentiators

Axon indexes Python, TypeScript, and JavaScript, including TSX, JSX, .mjs, and .cjs. axon_query uses reciprocal rank fusion to combine BM25, fuzzy name matching, and 384-dimensional BAAI/bge-small-en-v1.5 embeddings, then groups hits by execution flow. axon_context exposes callers, callees, types, and community membership; axon_impact groups upstream results by dependency depth and includes edge confidence.

Git coupling uses six months of history and links pairs with a score of at least 0.3 and at least three co-changes. Dead-code analysis exempts recognized entry points, overrides, and protocol methods, among other cases. The browser dashboard provides a force-directed graph, analysis views, and a Cypher console. Developers can also compare branches at symbol level through Git worktrees, while agents can use axon_detect_changes to map a diff to affected symbols and flows.

Trade-offs & Limitations

Compared with grep, Axon trades a separate indexing step for reusable graph queries over indirect callers, type relationships, and Git history. Compared with an LSP, it is aimed at repository-wide analysis shared across clients rather than precise editor navigation. A confidence score describes how a relationship was inferred; it does not prove that a change will break a caller. Dynamic dispatch, unrecognized framework entry points, and a shallow Git history can all leave gaps.

Large repositories warrant measuring peak build memory and index size because the graph is assembled in memory and then persisted. Start with --no-embeddings if callers, types, and dependencies matter more than semantic search. Treat dead-code findings as review candidates, not deletion instructions. The package metadata declares MIT, but the repository listing leaves licensing unspecified and the supplied root tree shows no LICENSE file. Verify the governing terms before redistribution.

Hardware & Deployment Guide

Install axoniq with pip on Python 3.11 or later, run axon analyze . in the project, and open the bundled dashboard with axon ui at localhost:8420. The packaged UI does not require Node.js. For Claude Code or Cursor, point the MCP client at axon serve --watch; axon host --watch runs a shared host for the UI and multiple MCP sessions. pip install axoniq[neo4j] adds optional Neo4j support.

Parsing, storage, embeddings, and search run locally without an API key. For an air-gapped rollout, verify that all package and model assets are available before deployment, or disable embeddings. Release v0.2.4 reworked the watcher and incremental global phases, v1.0.0 added the interactive UI and reworked graph rendering, and v1.0.1 is the latest listed release. The package still carries an Alpha classifier, so validate update and index-rebuild behavior before rolling it out broadly.

Graph storage: KuzuDB with BM25 full-text and HNSW vector indexes; a Neo4j install extra is available.
Source coverage: Tree-sitter parsers for Python, TypeScript/TSX, and JavaScript/JSX, including .mjs and .cjs.
Hybrid retrieval: Reciprocal rank fusion combines BM25, 384-dimensional BAAI/bge-small-en-v1.5 embeddings, and fuzzy matching; results are grouped by execution flow.
Impact analysis: Upstream traversal groups results by depth and supplements call and type relationships with Git co-change signals.
Incremental indexing: watchfiles triggers file-local updates, while global community, flow, and dead-code analyses are batched every 30 seconds.
Query surfaces: stdio MCP with read-only Cypher, a Typer CLI, and a local FastAPI/React dashboard with a Sigma.js/WebGL graph explorer.
Best For

Teams maintaining Python, TypeScript, or JavaScript repositories that want developers and AI agents to share a local view of dependencies before a refactor, during review, or while onboarding.

Skip If

Your main languages are unsupported, you need verified runtime traces, or editor navigation and text search already meet your needs without a separate index.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLISelf-Hosted
pip install axoniq            # 1. Install
cd your-project && axon analyze .  # 2. Index (one command, ~5s for most repos)
axon ui                       # 3. Explore visually at localhost:8420

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
axon ★819+1Python—A local code graph for tracing dependencies and assessing refactors via MCP
graphify156.8k+2.4kPythonApache-2.0Local AST graphs for dependency tracing, with CLI and MCP access.
codebase-memory-mcp49.6k+335CMITA local code graph for tracing code, docs, and infrastructure via MCP.
mcp-for-blender37.1k+1.1kPythonGPL-3.0A local MCP bridge for inspecting and editing live Blender scenes with AI

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/harshkedia177/axon.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

harshkedia177/axon Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about axon

How does an MCP client connect to Axon?

Run axon analyze . from the project root, then configure the client to launch axon serve --watch over stdio. The client queries the resulting index. Use axon host --watch when a browser dashboard and multiple MCP sessions need to share a host.

Does Axon need a GPU, and how should I size a workstation?

No GPU or fixed VRAM requirement is specified. Size RAM for the graph built in memory, and disk for the persisted graph and search indexes. Measure initial indexing and watch-mode overhead on a representative checkout. If structural queries are sufficient, try --no-embeddings to skip vector generation.

Can we self-host Axon for commercial work or redistribute it?

The package metadata declares MIT, but the repository listing leaves the license unspecified and the supplied root tree shows no LICENSE file. Confirm the governing terms for the exact revision and its bundled dependencies before redistribution. Local processing keeps Axon itself off a hosted analysis service, but any MCP client that forwards source snippets or graph results to a remote model needs a separate data-handling review.

When is Axon a better fit than grep or an LSP?

Use grep for exact text and an LSP for language-aware navigation within an editor. Choose Axon when browser users and AI agents need the same repository-wide view of indirect callers, related types, and files that often change together. Use these graph results to guide a review, not to replace compiler diagnostics or tests.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining harshkedia177/axon? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature harshkedia177/axon on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare