MCPcopy Index your code
hub / github.com/Reflectology/M0WER

github.com/Reflectology/M0WER @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
70 symbols 112 edges 6 files 17 documented · 24%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

M0WER - Math 0nce, Write/Work Everywhere, Really

M0WER is the vision became reality of math once as a blueprint that writes and works everywhere.

M0WER Logo

Features

  • Visualizes your entire codebase as an interactive graph (force & radial)
  • Entity tree view for folders, files, and functions
  • Click or double-click file nodes to highlight and jump to code in the editor
  • Metrics panel shows complexity, utility, cost, and line count for each node
  • UML class diagram overlays for files and classes - not functioning correctly
  • Dependency, import, and call relationships visualized as edges - not functioning correctly
  • D3 layouts: force and radial
  • Resizable and dockable panels, just like native VS Code
  • Quick side panel access to all visualization options (no need for Ctrl+Shift+P)
  • Works with multiple languages and in any codebase

Usage

  1. Install the extension from the VSIX.
  2. Open a folder or workspace in VS Code.
  3. Click the "M0WER" icon in the side panel to open the visualizer and entity tree.
  4. Click "Visualize Codebase Structure" or "Generate Diagram" from the side panel options.
  5. Explore your codebase using the interactive diagram and entity tree.
  6. Click or double-click any node or entity to highlight and jump to its code in the editor.
  7. Select a node to view detailed metrics and UML info in the Metrics panel.
  8. Use the layout dropdown to switch between force, tree, cluster, radial, and other views.
  9. Drag the panel dividers to resize the diagram, info, and toolbar areas as needed.

Language Compatibility

The following screenshots demonstrate M0WER's visualization of "Hello World" programs in different programming languages. Languages that display an extra node after the filename are currently compatible with the visualizer's function detection - these extra nodes represent detected functions within the file. Languages without this extra node are not yet fully compatible with the visualizer's token-based function detection pattern.

HelloWorlds HelloWorlds1 HelloWorlds2

Metrics

Each file node in the diagram displays several metrics:

  • complexity – approximate nesting depth discovered during analysis.
  • utility – number of detected functions in the file.
  • cost – placeholder cost metric.
  • lineCount – total number of lines in the file.

Select a node in the diagram to view these values in the information panel.

Extension points exported contracts — how you extend this code

UMLClass (Interface)
(no doc)
src/codeAnalyzer.ts
Point (Interface)
(no doc)
src/diagramGenerator.ts
CodeEntity (Interface)
(no doc)
src/codeAnalyzer.ts
RGB (Interface)
(no doc)
src/diagramGenerator.ts
CodeRelationship (Interface)
(no doc)
src/codeAnalyzer.ts
DiagramConfig (Interface)
(no doc)
src/diagramGenerator.ts
CodeStructure (Interface)
(no doc)
src/codeAnalyzer.ts
DiagramNode (Interface)
(no doc)
src/diagramGenerator.ts

Core symbols most depended-on inside this repo

walk
called by 3
src/utils.ts
refresh
called by 2
src/entityTreeProvider.ts
toItem
called by 2
src/entityTreeProvider.ts
sortNodes
called by 2
src/entityTreeProvider.ts
analyzeWorkspace
called by 2
src/codeAnalyzer.ts
createOrShow
called by 2
src/webviewPanel.ts
_updateWebview
called by 2
src/webviewPanel.ts
_sendTheme
called by 2
src/webviewPanel.ts

Shape

Method 41
Class 12
Interface 10
Function 7

Languages

TypeScript100%

Modules by API surface

src/diagramGenerator.ts27 symbols
src/entityTreeProvider.ts13 symbols
src/codeAnalyzer.ts13 symbols
src/webviewPanel.ts10 symbols
src/extension.ts5 symbols
src/utils.ts2 symbols

For agents

$ claude mcp add M0WER \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact