Stellarion
Tools

Tools Overview

Complete reference of all 47 Stellarion tools organized by category

Stellarion provides 47 tools for code intelligence, organized into 28 community tools (free) and 19 Pro tools (licensed). Every tool uses the stellarion_ prefix and communicates over MCP.

Three of the Pro tools are EDA-specific (Quartus / Qsys / SDC) and surface only when the server runs in EDA mode.

Community Tools (28)

Code Analysis (9)

ToolDescription
stellarion_get_ai_contextIntent-aware context with token budgeting for explain/modify/debug/test
stellarion_get_edit_contextEverything needed before editing: source, callers, tests, memories, git history
stellarion_get_curated_contextCross-codebase context for natural language queries
stellarion_analyze_impactBlast radius prediction for modify, delete, or rename changes
stellarion_analyze_complexityCyclomatic and cognitive complexity with per-function grading
stellarion_get_call_graphFunction call chains showing callers and callees
stellarion_get_dependency_graphFile/module import relationships with depth control
stellarion_find_related_testsTests that exercise a given function
stellarion_get_symbol_infoQuick metadata: signature, visibility, kind

Search & Navigation (9)

ToolDescription
stellarion_symbol_searchSearch by name, pattern, or natural language description
stellarion_find_by_importsFind all files importing a specific module
stellarion_find_entry_pointsDiscover application entry points (main, HTTP handlers, CLI commands)
stellarion_traverse_graphAdvanced graph traversal with custom edge/node filters
stellarion_find_by_signatureFind functions by signature patterns (param count, return type, modifiers)
stellarion_get_callersAll functions that call a target (reverse call graph)
stellarion_get_calleesAll functions called by a target (forward call graph)
stellarion_get_detailed_symbolFull symbol details with source, callers, and callees
stellarion_find_implementorsFind ops struct implementations (C callback interfaces)

Memory (7)

ToolDescription
stellarion_memory_storePersist knowledge for future sessions (debug notes, decisions, conventions)
stellarion_memory_searchHybrid BM25 + semantic + graph proximity search over memories
stellarion_memory_getRetrieve full memory details by ID
stellarion_memory_contextFind memories relevant to a specific code location
stellarion_memory_invalidateMark a memory as outdated without deleting it
stellarion_memory_listList memories with filtering and pagination
stellarion_memory_statsMemory store statistics (counts by kind, storage)

Indexing (3)

ToolDescription
stellarion_reindex_workspaceReindex workspace (incremental by default, force for full rebuild)
stellarion_index_filesAdd or update specific files without full reindex
stellarion_index_directoryAdd an entire directory to the code graph

Pro Tools (19)

Pro tools require a Stellarion Pro license. They appear in tool listings but return a license prompt when called without an active license.

Architecture (5)

ToolDescription
stellarion_analyze_couplingModule coupling metrics: afferent, efferent, instability
stellarion_codebase_healthSingle-call health dashboard with score, grade, and recommendations
stellarion_tech_debt_reportAggregated tech debt assessment with prioritized items
stellarion_assess_change_riskRisk assessment for a set of file changes (PR review)
stellarion_api_surfaceCatalog all public API exports and find unused ones

Security (3)

ToolDescription
stellarion_scan_securityScan for vulnerabilities: injection, XSS, weak crypto, secrets
stellarion_find_unused_codeDetect dead code with confidence scoring
stellarion_dependency_driftAnalyze dependency changes in modified files

Similarity (4)

ToolDescription
stellarion_find_duplicatesDetect duplicate functions using semantic embeddings
stellarion_find_similarFind functions most similar to a given function
stellarion_cluster_symbolsGroup functions into semantic clusters by purpose
stellarion_compare_symbolsCompare two functions semantically and structurally

Git (3)

ToolDescription
stellarion_mine_git_historyMine commit history to bootstrap project knowledge
stellarion_mine_git_history_for_fileMine git history for a specific file
stellarion_search_git_historySemantic + keyword search over commit history

Cross-Project (1)

ToolDescription
stellarion_cross_project_searchSearch symbols across all other indexed projects

EDA · Quartus / Qsys / SDC (3)

These tools require EDA mode (--mode eda) and a Pro license / active trial. They consume the EDA classifications produced by the TCL/SDC/UPF parser and answer architecture-level questions about Quartus / Qsys workflows.

ToolDescription
stellarion_find_eda_callsAggregate EDA call sites across categories (quartus_assignment, qsys_interface, …); filter by category, prefix, file pattern, or caller
stellarion_get_flow_graphBuild the EDA flow graph: 18 stages (project_setup → ip_composition → synthesis → routing → timing → reporting → …) with per-stage members and stage-to-stage transitions
stellarion_find_duplicate_constraintsDetect duplicate (category, key) groups; flag conflicting values (real config drift); onlyTrueConflicts filter for high-signal output

How Tools Work Together

Stellarion tools are designed to chain together. Here are the most common workflows.

Understanding Unfamiliar Code

  1. stellarion_symbol_search -- find the function or class you need
  2. stellarion_get_ai_context with intent: "explain" -- get full source with related symbols, imports, and architecture
  3. stellarion_get_call_graph -- trace execution flow to understand how it fits into the system
  4. stellarion_memory_store -- save what you learned for future sessions

Making a Code Change

  1. stellarion_memory_context -- check for past decisions or known issues at this location
  2. stellarion_get_edit_context -- get source, callers, tests, and git history in one call
  3. stellarion_analyze_impact -- predict what breaks if you change this code
  4. Make the change
  5. stellarion_find_related_tests -- find tests to run and update

Reviewing a Pull Request

  1. stellarion_assess_change_risk (Pro) -- get risk score and per-file breakdown
  2. stellarion_analyze_impact on key changed functions -- understand blast radius
  3. stellarion_analyze_complexity -- check if the change increases complexity
  4. stellarion_dependency_drift (Pro) -- check for new circular dependencies

Exploring Codebase Architecture

  1. stellarion_find_entry_points -- discover where execution starts
  2. stellarion_get_dependency_graph -- map module relationships
  3. stellarion_analyze_coupling (Pro) -- measure module instability
  4. stellarion_codebase_health (Pro) -- get an overall health score and recommendations

Cleaning Up Technical Debt

  1. stellarion_tech_debt_report (Pro) -- get prioritized list of issues
  2. stellarion_find_duplicates (Pro) -- find copy-paste code to consolidate
  3. stellarion_find_unused_code (Pro) -- find dead code to remove
  4. stellarion_analyze_complexity -- identify functions that need simplification

Auditing an EDA Codebase

  1. stellarion_get_flow_graph (Pro · EDA) -- map flow stages and orchestrators
  2. stellarion_find_eda_calls with category: "quartus_assignment" -- inventory all set_global_assignment sites
  3. stellarion_find_duplicate_constraints with onlyTrueConflicts: true -- surface real config drift
  4. stellarion_find_duplicates -- detect FPGA-family clones (e.g. _hw.tcl shared between stratix10 and agilex)