CodeExplorer ce
v1.25.0 Released • Zero-Container SQLite Graph Engine

Visual Knowledge Graph for Polyglot Codebases

Maps monoliths, microservices, and asynchronous event streams into an interactive semantic graph. Queryable with native Cypher in VS Code and integrated with AI coding assistants via MCP.

Install for VS Code
✓ Zero Containers / No Neo4j • ✓ 100% Embedded SQLite • ✓ Tree-sitter AST Polyglot • ✓ Model Context Protocol (MCP)
CodeExplorer Cockpit — VS Code
● 54 Microservices ● 1,420 AST Nodes
CodeExplorer Macro Architecture Concentric Orbits
Macro Architecture Topology: Concentric rings project Ingress Gateways (Tier 0), Public APIs (Tier 1), Brokers (Tier 2), Domain Services (Tier 3), and Databases (Tier 4).
Live Transitive Routing Orbit Drag-and-Drop Curvature: +65
Architecture Intelligence

Engineered for Massive Polyglot Repositories

CodeExplorer provides structural codebase comprehension without external infrastructure dependencies or cloud telemetry leakage.

Embedded SQLite Graph Engine

No Neo4j, no Docker containers, and no memory-hogging background daemons. Compiles open Cypher AST queries directly to optimized SQL B-Tree index scans with sub-50ms execution.

engine: SqliteGraphDatabase.cs

Concentric Orbits & Swimlanes

Project complex microservices across 5 concentric architectural tiers. Drag-and-drop orbit rings, tune bezier curve routing factors (-200 to +200), and inspect DDD bounded contexts.

views: Cytoscape.js + Webview

Transitive Broker Contraction

Filter out intermediate message topics (Kafka, RabbitMQ, SQS) and CodeExplorer automatically synthesizes clean dashed [SUBSCRIBES (via Topic)] links, preserving flow without clutter.

feature: Smart Message Synthesis

Model Context Protocol (MCP)

Give Cursor, Claude Desktop, and Copilot surgical codebase intelligence. AI agents query call-chains, blast-radius impacts, and architectural topology in 1 turn without token-wasteful grep loops.

protocols: stdio + SSE HTTP (/mcp)

Polyglot Tree-sitter AST

Pure in-memory visitor architecture for C#, Java, TypeScript, Go, Python, ColdFusion, and inline SQL. Extracts classes, methods, endpoints, callers, entities, and late-bound CQRS pipelines.

ast: Tree-sitter + T-SQL ScriptDom

Local Intent Inference (GGUF)

Enriches graph nodes with inferred business domains and architectural patterns via embedded llama.cpp with Vulkan GPU acceleration. Fast-applies cached intents in <50ms using SHA-256 fingerprints.

inference: Zero-Leak Local SLM
Embedded Query Engine

Query Architectural Topology with Cypher

Test real architectural inquiries against the graph database. Fast, declarative, and structured.

Cypher Input dialect: openCypher 9
// Find all downstream services impacted by OrderPlaced event
MATCH (p:Service {name: 'OrderService'})-[r:EMITS]->(e:DomainEvent)
MATCH (e)<-[:SUBSCRIBES]-(downstream:Service)
OPTIONAL MATCH (downstream)-[:WRITES_TO]->(tbl:Table)
RETURN
    p.name AS Producer,
    e.name AS EventName,
    downstream.name AS Consumer,
    tbl.name AS TargetTable
ORDER BY Consumer
Execution Output ● Completed in 14.2ms
Rows: 4
Scanned: 18 nodes
Optimizer: Indexed SQLite B-Tree
Producer EventName Consumer TargetTable
OrderService OrderPlacedEvent BillingService invoices
OrderService OrderPlacedEvent InventoryService stock_items
OrderService OrderPlacedEvent NotificationHub null
OrderService OrderPlacedEvent ShippingGateway shipments
AI Agent Architecture

Model Context Protocol (MCP) for Cursor & Claude

When AI coding assistants analyze large monorepos, brute-force file grepping fills context windows with irrelevant tokens and hallucinated connections. CodeExplorer provides surgical graph tools.

  • ce_query — Execute arbitrary Cypher queries for deep multi-hop dependency analysis.
  • ce_blast_radius — Determine exact downstream impact of changing an interface or class.
  • ce_architecture_map — Summarize macro service topologies and entry points in <1,000 tokens.
Read MCP Specification
claude_desktop_config.json / cursor settings
{
  "mcpServers": {
    "code-explorer": {
      "command": "ce",
      "args": ["mcp"],
      "env": {
        "CE_WORKSPACE": "."
      }
    }
  }
}
Semantic Structure

5-Layer Decoupled Graph Ontology

Every entity in your codebase is represented across five decoupled layers, connecting physical files to business domain concepts.

LAYER 5
Late-Bound Layer
Cross-project HTTP routes, message broker events, CQRS pipelines (MediatR/Spring), and interface implementations resolved via post-index graph passes.
:Channel, :Pipeline, :EventFlow
LAYER 4
Semantic Layer
Inbound REST/gRPC/GraphQL endpoints, security roles, ORM entities mapped to physical database tables, and external egress HTTP clients.
:EntryPoint, :Table, :Policy
LAYER 3
Syntactic Layer
Pure Tree-sitter AST declarations: classes, records, interfaces, methods, functions, structs, fields, and direct intra-file invocations.
:Class, :Method, :Function
LAYER 2
Project Layer
Logical compilation units, internal project references, third-party NuGet/NPM/Go dependencies, and package boundary isolation.
:Project, :Package, :Module
LAYER 1
Physical Layer
Workspace root, file tree, physical paths, configuration files (.env, appsettings.json, pom.xml, go.mod), and Git repository metadata.
:Workspace, :Folder, :File

Supported Languages & AST Parsers

⚡
C# (.NET)
.NET 10 / Roslyn
☕
Java
Maven / Gradle
🔷
TypeScript
TS / TSX / NestJS
🟨
JavaScript
ES6 / Node / Express
🐹
Go
Go Modules / AST
🐍
Python
FastAPI / Flask / AST
🗄️
SQL
T-SQL ScriptDom
Quick Start

Install in Seconds

Single self-contained binaries for macOS, Linux, and Windows. No SDK required.

brew install vmikhailov/tap/ce
Installs the ce binary directly into your PATH with automatic shell completions.
code --install-extension vmikhailov.code-explorer-vscode
Bundles pre-compiled native binaries for all platforms; no external CLI setup needed.
irm https://raw.githubusercontent.com/vmikhailov/code-explorer/main/cli/scripts/install.ps1 | iex
Downloads standalone self-contained ce.exe and registers in Windows User PATH.
curl -fsSL https://raw.githubusercontent.com/vmikhailov/code-explorer/main/cli/scripts/install.sh | bash
Automated architecture detection (x64 / ARM64) and direct installation to ~/.local/bin.
dotnet tool install -g CodeExplorer.Cli
For developers with .NET 10 SDK already installed.
ce init
Initialize a .codeexplorer workspace configuration in current repository.
ce scan
Run AST visitors across all source files and compile the SQLite graph.
ce query "MATCH..."
Execute an arbitrary Cypher query and output structured JSON or table.
ce export -f mermaid
Export macro architecture or C4 container diagrams into Mermaid syntax.
ce mcp --port 5000
Start Model Context Protocol server in HTTP/SSE streaming or stdio mode.
ce schema
Inspect active ontology node labels, relationships, and property dictionary.
Copied to clipboard