WLADY_CODE MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WLADY_CODE MCPwhere is the authenticate function defined?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WLADY_CODE MCP
Advanced codebase intelligence for AI assistants
π 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 27 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 βββββ 27 MCP Tools β β
β β Tree-sitter AST β β ~/.wlady-code β β β β
β β + regex fallback β β -mcp/ β β navigation β β
β ββββββββββββββββββββ β wlady.db β β impact β β
β ββββββββ¬ββββββββββ β analysis β β
β ββββββββββββββββββββββββββββ β β architecture β β
β β Galaxy UI Β· :9750 β β β search + RRF β β
β ββββββββββββββββββββββββββββ β β tracing Β· adr β β
β β ββββββββββββββββββ β
β βββββββββββββββββββββββββββββββ΄βββββββββββ β
β β Embeddings Β· snowflake-arctic-embed β β
β β BM25 + vector β RRF hybrid search β β
β ββββββββββββββββββββββββββββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββRelated MCP server: Orihime
Why use it?
Question you ask the AI | Tool that answers it |
"Where is function |
|
"If I change this function, what breaks?" |
|
"What will this PR affect in production?" |
|
"Are there dead code, god classes, or circular deps?" |
|
"How is this monorepo layered?" |
|
"What's the call path between module A and B?" |
|
"Find code that does something similar to X" |
|
"Trace the execution flow from main" |
|
"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.
Side panel β 3 tabs:
Tab | Contents |
Files | Collapsible file tree with live search. Click any file to fly to its node. Below the tree, a Symbols section shows all functions and classes in the selected file with their line numbers. |
Filters | Language chips to show/dim nodes by language. Hop-depth filter (1 / 2 / 3) to focus the graph on the neighbourhood of the selected node using BFS with caching. |
Modules | Community list, hotspot files (highest fan-in), and auto-detected entry points (main functions, controllers, routers, index files). |
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 symbol in panel | Jump to that function/class in the code panel |
Click community | Highlight all files in that module |
Double-click empty space | Resume auto-rotation |
| Close code panel |
The code panel displays line numbers, highlights the exact line range of the selected symbol, auto-scrolls to it, and uses Prism.js syntax highlighting with explicit grammar loading for 18+ languages. Includes an "Open in VS Code" button via the vscode://file/ protocol.
AST Parser β Tree-sitter
Symbol extraction is powered by Tree-sitter, providing a full AST-based parse for 11 languages with automatic fallback to the regex heuristic parser when a grammar isn't available.
Language | Parser |
JavaScript, TypeScript, TSX | Tree-sitter |
Python, Java, Go, Rust | Tree-sitter |
C#, C++, PHP, Ruby | Tree-sitter |
All other supported languages | Regex fallback |
Semantic Embeddings & Hybrid Search
search_graph supports a hybrid BM25 + vector search mode that finds semantically similar code even when it doesn't share keywords with the query.
How it works:
Each symbol is embedded with
snowflake-arctic-embed-xs(22M params, 384 dims, ~90 MB, runs fully locally via ONNX Runtime)At query time: BM25 ranks + cosine similarity ranks are fused via Reciprocal Rank Fusion (RRF)
Results surface symbols semantically related to the query β not just lexically matching ones
Enable it per project at index time:
index_repository(path: "/my/project", embeddings: true)Then search:
search_graph(project_id: "...", query: "authentication token validation", semantic: true)Embeddings are incremental β only new/modified symbols are re-embedded on subsequent runs.
Execution Flow Tracing
Automatically detect and visualize how your application executes from its entry points.
list_entry_points(project_id: "...")execution_flow(project_id: "...", entry_point: "main", depth: 5)Entry points are detected by: role classification, name patterns (main, handler, router, start, β¦), file conventions (index.ts, app.ts, server.ts, β¦), and HTTP route registration patterns.
The call tree is rendered depth-first with cycle detection (β© marker) and file:line references at each node.
Docker Support
Run WLADY_CODE in any environment without a local Node.js install:
# Build and start
WORKSPACE_PATH=/path/to/your/repo docker compose up
# Galaxy UI opens at http://localhost:9750Or with plain Docker:
docker build -t wlady-code-mcp .
docker run -i --rm \
-p 9750:9750 \
-v wlady-db:/root/.wlady-code-mcp \
-v /path/to/repo:/workspace:ro \
wlady-code-mcpMCP Tools Reference
Tool | Description |
| Index a full project or update incrementally. Pass |
| List all indexed projects |
| Remove a project from the index |
| Detect files modified since last index |
Tool | Description |
| Find where a symbol is defined |
| Full symbol context: definition, callers, callees |
| Shortest call path between two symbols |
| All paths upstream/downstream from a symbol |
| Module map and project structure |
Tool | Description |
| Grep-like text search across all source files |
| BM25 symbol search. Pass |
| Direct graph query with filters (kind, role, complexity, file pattern) |
| Short summary of a file or module |
Tool | Description |
| Trace the call tree from an entry point (or auto-detect). Depth-limited BFS with cycle detection. |
| Detect likely entry points: main functions, HTTP handlers, controllers, routers |
Tool | Description |
| All callers affected by modifying a function |
| Current git diff β affected symbols |
| Symbol-level comparison between two branches |
Tool | Description |
| Full audit: dead code, god files, high complexity, circular deps |
| Cyclomatic + cognitive complexity report per symbol |
| Classify symbols by role (entry / core / utility / adapter / dead / leaf) |
| Community/cluster detection in the graph |
Tool | Description |
| High-level view: layers, modules, graph stats |
| Manage quality rules (complexity thresholds, etc.) |
| Evaluate codebase against manifesto rules (PASS / WARN / FAIL) |
Tool | Description |
| List all recorded architecture decisions |
| Record a new architecture decision |
| 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 / macOS β better-sqlite3 and tree-sitter compile 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
# macOS (Xcode CLI tools)
xcode-select --installQuick Start β npx (recommended)
No clone or build step required. Add this to your claude_desktop_config.json:
{
"mcpServers": {
"wlady-code": {
"command": "npx",
"args": ["-y", "wlady-code-mcp"]
}
}
}Or via the Claude Code CLI:
claude mcp add wlady-code -s user -- npx -y wlady-code-mcpnpx downloads and runs the latest published version automatically. No path configuration needed.
Build from Source
Only needed if you want to contribute or run a local development build:
git clone https://github.com/wladimania93/wlady-code-mcp
cd wlady-code-mcp
npm install --legacy-peer-deps # required for tree-sitter grammar compatibility
npm run buildThen register the local build:
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-projectOr call the tool directly:
index_repository(path: "/path/to/my-project", name: "My Project")The galaxy visualization opens automatically at http://localhost:9750.
To enable semantic search:
index_repository(path: "/path/to/my-project", embeddings: true)The first run downloads the snowflake-arctic-embed-xs model (~90 MB) into ~/.wlady-code-mcp/models/ and caches it for all future runs.
Environment variables
Variable | Value | Effect |
| number | Change UI port (default: |
|
| Disable the UI entirely |
Troubleshooting
Node.js 24 β compilation error (tree-sitter)
Symptom: MSBuild exited with code 1 / node-gyp rebuild failed with #error "C++20 or later required." on Windows.
Cause: Some tree-sitter grammar packages (tree-sitter-cpp, tree-sitter-java, tree-sitter-ruby, etc.) ship .gyp build files that force /std:c++17, which conflicts with the C++20 requirement introduced in Node.js 24 (V8).
Fix: Use Node.js 22 LTS until the upstream grammar packages are updated.
# with nvm (recommended)
nvm install 22
nvm use 22
# verify
node -v # should print v22.x.xNode 24 is explicitly blocked in engines (<24.0.0) so npx and npm will warn you if your version is unsupported.
Peer dependency conflicts (ERESOLVE)
Symptom: npm ERR! ERESOLVE overriding peer dependency during install.
Cause: Some grammar packages declare peer requirements for older tree-sitter minor versions (e.g. ^0.21.x). The project ships a .npmrc with legacy-peer-deps=true to resolve this automatically. If you are cloning and building from source, this file is included.
If you hit the error anyway:
npm install --legacy-peer-depsEBUSY during reinstallation (Windows)
Symptom: npm ERR! EBUSY: resource busy or locked on better-sqlite3.
Cause: A Node.js process (Claude Code, VS Code extension, or the MCP server itself) still holds the native .node DLL open.
Fix: Before running npm install or npm update:
Close VS Code (or any IDE with the MCP extension loaded)
Close Claude Desktop / Claude Code
Kill any running
nodeprocess that may have loaded the MCP
Then retry the install.
Project Structure
wlady-code-mcp/
βββ src/
β βββ index.ts # MCP entry point + UI server bootstrap
β βββ types.ts # Shared types
β βββ db/ # SQLite access layer + schema (incl. embeddings table)
β βββ parser/
β β βββ index.ts # Parser orchestrator (tree-sitter β regex fallback)
β β βββ tree-sitter.ts # AST parser for 11 languages
β β βββ languages.ts # Language configs for regex fallback
β βββ embeddings/
β β βββ embedder.ts # snowflake-arctic-embed-xs singleton, batch embedding
β βββ indexer/ # Index orchestrator + incremental updates + embedding generation
β βββ graph/ # BFS, DFS, shortest path, cycle detection
β βββ search/
β β βββ bm25.ts # BM25 full-text search engine
β β βββ hybrid.ts # RRF: BM25 + vector search fusion
β βββ analysis/
β β βββ complexity.ts # Cyclomatic + cognitive complexity
β β βββ roles.ts # Symbol role classifier
β β βββ entry-points.ts # Entry point detection (name/file/body patterns)
β βββ git/ # Git integration (diff, branch compare)
β βββ tools/ # All 27 MCP tool handlers (one file per category)
β βββ 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)
βββ Dockerfile # Multi-stage alpine build
βββ docker-compose.yml # Compose with workspace volume + DB persistence
βββ dist/ # Compiled output (run after npm run build)Tech Stack
Layer | Technology |
Runtime | Node.js 18+ Β· ES Modules |
MCP |
|
Database |
|
AST Parsing |
|
Embeddings |
|
Git |
|
File watching |
|
Visualization | Canvas 2D Β· Prism.js |
HTTP server | Node.js built-in |
Container | Docker Β· Alpine Linux |
Inspiration & Credits
WLADY_CODE was built by combining and extending the best of three 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.
GitNexus
The precision philosophy: AST-level parsing with Tree-sitter for accurate symbol extraction across languages, local vector embeddings for semantic code search, and Reciprocal Rank Fusion to combine keyword and semantic rankings into a single high-quality result set. The approach to embedding storage, the RRF fusion algorithm, and the entry-point tracing patterns were designed with GitNexus as a reference for what best-in-class code intelligence looks like.
The synthesis: an MCP that sees code as a graph (codegraph), renders it as a galaxy (codebase-memory), and understands it semantically (GitNexus) β all inside a single server, MIT licensed, with no external services required.
Changelog
v0.3.0
Galaxy UI β major panel overhaul inspired by GitNexus:
Left panel with 3 tabs: Files, Filters, Modules
Collapsible file tree with live search
Symbol list per file (functions/classes with line numbers)
Language filter chips (toggle dimming by language)
Hop-depth BFS filter (1/2/3 hops from selected node, cached)
Modules tab: communities, hotspot files, auto-detected entry points
Status bar showing project name, node count, edge count
Code panel: line numbers, highlighted symbol range, auto-scroll, fixed text color on dark background
New API endpoints:
/api/symbols,/api/entry-points
v0.2.0
Tree-sitter AST parser for 11 languages
Semantic embeddings + hybrid BM25/vector search (RRF)
Execution flow tracing (
execution_flow,list_entry_points)Docker support
27 MCP tools
WLADY_CODE v0.3.0 Β· Built with Node.js Β· Powered by MCP
Maintenance
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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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