CodeMap.Tool 0.5.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global CodeMap.Tool --version 0.5.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local CodeMap.Tool --version 0.5.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CodeMap.Tool&version=0.5.1
                    
nuke :add-package CodeMap.Tool --version 0.5.1
                    

CodeMap

An interactive 3D map of your code: C# solutions, TypeScript / JavaScript and C / C++ (with Node.js 18+) and Python (with Python 3.9+), or all of them in one map. CodeMap turns the code into a graph of its relationships (types, members, calls, imports, inheritance, dependency injection…) and opens it in the browser: Galaxy, City, Layers, DI and Flow views, with call flows and sequence diagrams.

dotnet tool install -g CodeMap.Tool

codemap                              # the app in your browser: pick a solution, package or folder
codemap ui path/to/MySolution.sln    # analyze it right away
codemap path/to/repo -o out          # files: out/<name>.codemap.json, .html (offline 3D map), .md (report)
codemap --version                    # which languages are available here
  • C#: solutions, projects or folders; no build needed (Roslyn).
  • TypeScript / JavaScript: npm packages and monorepos, without npm install; Express routes, NestJS and Angular DI containers recognised from the imports. Needs Node.js 18 or newer.
  • Python: projects (pyproject.toml, setup.py, requirements.txt) or folders of scripts, without a virtual environment; imports, re-exports, classes and calls resolved from the code itself. Needs Python 3.9 or newer.
  • C / C++: CMake targets, Visual Studio projects, Unreal Engine modules or folders of sources, without building or configuring them; classes, calls and inheritance resolved from the declared types; tests, Qt and Unreal recognised. Needs Node.js 18 or newer.
  • Insights: architecture layers and upward dependencies, DI lifetime problems (captive dependencies, request scope, unreachable providers), cycles, hotspots from git history, possibly unused code.

For AI agents: codemap mcp

An MCP server on stdio, so that an AI agent (Claude Code, Cursor, VS Code's agent mode…) can understand the structure of the code and improve it. It:

  • reads the map;
  • finds spaghetti code, layer violations, DI mistakes, dead code and mistakes inside function bodies, with evidence down to file:line;
  • proposes concrete refactorings and simulates them on a copy of the map;
  • compares the map before and after;
  • returns PNG pictures of the 3D map (with Chrome, Edge or Chromium installed).

It only reads; it never edits files.

claude mcp add codemap -- codemap mcp                 # Claude Code, in the project's folder
{ "mcpServers": { "codemap": { "command": "codemap", "args": ["mcp", "--root", "${workspaceFolder}"] } } }

The JSON is for .cursor/mcp.json (Cursor) and most agents' mcp.json. The VS Code extension offers the server to VS Code and Cursor by itself.

Standalone executables (no .NET needed), the VS Code extension and the documentation: https://github.com/tomeqs/CodeMap

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.6.0 96 11/19/2026
0.5.1 95 11/17/2026
0.5.0 96 11/17/2026
0.4.2 98 11/14/2026
0.4.1 91 11/10/2026
0.4.0 98 11/9/2026
0.3.0 101 11/6/2026
0.2.4 98 11/4/2026
0.2.3 101 11/3/2026
0.2.2 103 11/2/2026
0.2.1 97 11/2/2026