Stellarion
Getting Started

Introduction

What is Stellarion and how it helps you build better software

Stellarion is a cross-language code intelligence platform that gives AI agents and developers structured understanding of codebases. It builds a semantic graph of your code — functions, classes, imports, call chains — and exposes it through 44 tools, a VS Code extension, and a persistent memory layer.

What Stellarion Does

Stellarion provides 28 community tools and 16 Pro tools for code intelligence:

  • Code Analysis — Complexity metrics (cyclomatic + cognitive), impact prediction, call graphs, dependency graphs
  • Smart Search — Find symbols by name or natural language (hybrid BM25 + semantic search)
  • Navigation — Callers, callees, transitive dependencies, graph traversal
  • Persistent Memory — Store and retrieve debugging insights, architectural decisions, known issues across sessions
  • Architecture Analysis Pro — Codebase health, tech debt, change risk, coupling, API surface
  • Security Scanning Pro — Vulnerability detection, dead code, unused exports
  • Code Similarity Pro — Duplicate detection, semantic clustering, function comparison
  • Git Mining Pro — Mine commit history for patterns and semantic search

Why Use Stellarion

For Developers

  • Understand unfamiliar codebases instantly — AI agents get structured context instead of grepping files
  • Predict blast radius before modifying code
  • Find related tests, callers, and dependencies in one call
  • Persistent memory across coding sessions

For Architects & Team Leads

  • Single-call codebase health dashboard with score and grade
  • Tech debt reports with prioritized remediation
  • Change risk assessment for PR review gates
  • Coupling analysis and dependency drift detection
  • CI/CD quality gates with pass/fail thresholds

How It Works

Stellarion runs as a single Rust binary serving both MCP (for AI clients like Claude Code, Cursor) and LSP (for VS Code). It indexes your codebase using tree-sitter parsers for 17 languages, builds a semantic graph, and responds to tool calls.

AI Client (Claude Code, Cursor)         VS Code Extension
        |                                       |
    MCP (stdio)                            LSP Protocol
        |                                       |
        └───────────┐               ┌───────────┘
                    ▼               ▼
            ┌─────────────────────────────┐
            │       stellarion-server      │
            ├─────────────────────────────┤
            │  17 tree-sitter parsers     │
            │  Semantic graph engine      │
            │  AI query engine (BM25)     │
            │  Memory layer (RocksDB)     │
            │  Full-body embeddings (BGE) │
            │  HNSW vector index          │
            └─────────────────────────────┘

All analysis happens locally on your machine. Your code never leaves your system.

Supported Languages

17 languages parsed via tree-sitter with full support for functions, imports, call graphs, complexity metrics, and dependency analysis:

TypeScript/JavaScript, Python, Rust, Go, C, C++, Java, Kotlin, C#, PHP, Ruby, Swift, Tcl, Verilog/SystemVerilog, COBOL, Fortran

Get Started

The fastest way to start is the VS Code extension — install from the VS Code Marketplace and you're ready to go. No configuration needed.

For AI-native workflows with Claude Code or Cursor, see the Installation guide.