Skip to main content
Glama

WLADY_CODE MCP

Advanced codebase intelligence for AI assistants

Version Node MCP License

🌐 English · Español

An MCP server that turns any codebase into a queryable knowledge graph β€” and renders it as an interactive galaxy.


What is it?

WLADY_CODE indexes your project, builds a dependency graph, and exposes 25 MCP tools that any compatible AI assistant (Claude, Cursor, etc.) can call to navigate, analyze, and reason about code with surgical precision.

It also spins up a local 3D galaxy visualization at http://localhost:9750 where every file is a star and every dependency is a luminous nebula edge.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                      WLADY_CODE MCP                          β”‚
β”‚                                                              β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚   Indexer   │──▢│   SQLite DB    │◀──│  25 MCP Tools  β”‚  β”‚
β”‚  β”‚ (Parser +   β”‚   β”‚ ~/.wlady-code  β”‚   β”‚                β”‚  β”‚
β”‚  β”‚   Graph)    β”‚   β”‚   -mcp/        β”‚   β”‚ navigation     β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚   wlady.db     β”‚   β”‚ impact         β”‚  β”‚
β”‚                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚ analysis       β”‚  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚ architecture   β”‚  β”‚
β”‚  β”‚  Galaxy UI  Β·  localhost:9750    β”‚   β”‚ search Β· adr   β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Related MCP server: Orihime

Why use it?

Question you ask the AI

Tool that answers it

"Where is function X defined?"

where

"If I change this function, what breaks?"

fn_impact

"What will this PR affect in production?"

diff_impact

"Are there dead code, god classes, or circular deps?"

audit

"How is this monorepo layered?"

get_architecture

"What's the call path between module A and B?"

path

"Show me all modules visually"

Galaxy UI at :9750


Features

Galaxy Visualization

The built-in web UI uses a stellar spectral color system β€” files are colored like real stars based on their connectivity:

Color

Spectral type

Meaning

Blue-white

O / B

Highly connected hubs β€” the system's core

White-yellow

A / F

Medium connectivity

Amber

G / K

Supporting files

Red

M

Leaf files β€” minimal dependencies

Edges use Canvas 2D additive blending (globalCompositeOperation: 'lighter'), making dense dependency clusters glow brighter β€” the same effect as Three.js AdditiveBlending. Where many imports converge, a nebula appears.

Controls:

Action

Effect

Drag

Rotate the graph

Scroll wheel

Zoom

Click node

Select + highlight its direct connections

Double-click node

Open source code with syntax highlighting

Click community

Highlight all files in that module

Double-click empty space

Resume auto-rotation

Esc

Close code panel

The code panel uses Prism.js with explicit grammar loading for 18+ languages, and includes an "Open in VS Code" button via the vscode://file/ protocol.

MCP Tools Reference

Tool

Description

index_repository

Index a full project or update incrementally

list_projects

List all indexed projects

delete_project

Remove a project from the index

detect_changes

Detect files modified since last index

Tool

Description

where

Find where a symbol is defined

context

Full symbol context: definition, callers, callees

path

Shortest call path between two symbols

trace_path

All paths upstream/downstream from a symbol

map

Module map and project structure

Tool

Description

search_code

BM25 semantic code search

search_graph

Search the dependency graph

query_graph

Direct graph query with filters

brief

Short summary of a file or module

Tool

Description

fn_impact

All callers affected by modifying a function

diff_impact

Current git diff β†’ affected symbols

branch_compare

Symbol-level comparison between two branches

Tool

Description

audit

Full audit: dead code, god files, high complexity, circular deps

complexity

Cyclomatic + cognitive complexity report per symbol

roles

Classify symbols by role (entry / core / utility / adapter / dead / leaf)

communities

Community/cluster detection in the graph

Tool

Description

get_architecture

High-level view: layers, modules, graph stats

manifesto

Manage quality rules (complexity thresholds, etc.)

check

Evaluate codebase against manifesto rules (PASS / WARN / FAIL)

Tool

Description

adr_list

List all recorded architecture decisions

adr_create

Record a new architecture decision

adr_update

Update the status of an existing decision


Supported Languages

TypeScript Β· JavaScript Β· Java Β· Kotlin Β· Python Β· Go Β· Rust Β· C Β· C++ Β· C# Β· PHP Β· Ruby Β· Swift Β· Dart Β· HTML Β· CSS/SCSS Β· JSON Β· YAML Β· SQL Β· Bash


Installation

Prerequisites

  • Node.js 18+

  • Claude Desktop, Cursor, or any MCP-compatible client

Linux only β€” better-sqlite3 compiles native bindings on install, so you need build tools:

# Debian / Ubuntu
sudo apt install python3 make g++

# Fedora / RHEL
sudo dnf install python3 make gcc-c++

# Arch
sudo pacman -S python make gcc

Build

git clone https://github.com/wladimania93/wlady-code-mcp
cd wlady-code-mcp
npm install
npm run build

Register with Claude Desktop

claude mcp add wlady-code -s user -- node "/absolute/path/to/wlady-code-mcp/dist/index.js"

Or manually in claude_desktop_config.json:

{
  "mcpServers": {
    "wlady-code": {
      "command": "node",
      "args": ["/absolute/path/to/wlady-code-mcp/dist/index.js"]
    }
  }
}

Index your first project

Ask your AI assistant:

Index the project at /path/to/my-project with id "my-project"

Or call the tool directly:

index_repository(
  project_path: "/path/to/my-project",
  project_id: "my-project",
  project_name: "My Project"
)

The galaxy visualization opens automatically at http://localhost:9750.

Environment variables

Variable

Value

Effect

WLADY_UI_PORT

number

Change UI port (default: 9750)

WLADY_UI_PORT

0

Disable the UI entirely


Project Structure

wlady-code-mcp/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ index.ts              # MCP entry point + UI server bootstrap
β”‚   β”œβ”€β”€ types.ts              # Shared types
β”‚   β”œβ”€β”€ db/                   # SQLite access layer + schema
β”‚   β”œβ”€β”€ parser/               # Per-language parsers
β”‚   β”œβ”€β”€ indexer/              # Index orchestrator + incremental updates
β”‚   β”œβ”€β”€ graph/                # BFS, DFS, shortest path, cycle detection
β”‚   β”œβ”€β”€ search/               # BM25 search engine
β”‚   β”œβ”€β”€ analysis/             # Complexity metrics + role classifier
β”‚   β”œβ”€β”€ git/                  # Git integration (diff, branch compare)
β”‚   β”œβ”€β”€ tools/                # All 25 MCP tool handlers
β”‚   └── visualization/
β”‚       β”œβ”€β”€ graph-data.ts     # SQLite β†’ graph data queries
β”‚       β”œβ”€β”€ server.ts         # HTTP server :9750 + /api/file endpoint
β”‚       └── template.ts       # Self-contained UI (HTML + CSS + JS, ~34 KB)
└── dist/                     # Compiled output (run after npm run build)

Tech Stack

Layer

Technology

Runtime

Node.js 18+ Β· ES Modules

MCP

@modelcontextprotocol/sdk

Database

better-sqlite3 (embedded, synchronous)

Git

simple-git

File watching

chokidar

Visualization

Canvas 2D Β· Prism.js (CDN)

HTTP server

Node.js built-in http (no Express)


Inspiration & Credits

WLADY_CODE was built by combining the best of two excellent projects:

codebase-memory-mcp

The visual philosophy: represent a codebase as a galaxy where file importance maps to stellar spectral type, and dependency density creates glowing nebulae via additive color blending. The O/B/A/F/G/K/M spectral color system and the 3D graph architecture are directly inspired by their React + Three.js + Bloom implementation. Our version reimplements it with native Canvas 2D β€” eliminating build dependencies and serving a fully self-contained UI from the MCP process itself.

ops-codegraph-tool

The analysis philosophy: treat a codebase as a queryable knowledge graph, with specialized tools for navigation (where is X, what calls Y), impact analysis (if I change Z, what breaks), and quality auditing (dead code, complexity, circular dependencies). The modular handler structure by category and the real-time git integration are directly influenced by this project.

The synthesis: an MCP that sees code as a graph (codegraph) and renders it as a galaxy (codebase-memory) β€” all inside a single server with no external runtime dependencies.


WLADY_CODE v0.1.0 Β· Built with Node.js Β· Powered by MCP

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wladimania93/wlady-code-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server