Slnmap 0.4.0
dotnet tool install --global Slnmap --version 0.4.0
dotnet new tool-manifest
dotnet tool install --local Slnmap --version 0.4.0
#tool dotnet:?package=Slnmap&version=0.4.0
nuke :add-package Slnmap --version 0.4.0
Slnmap
Slnmap (sln-map) — a semantic map of your .sln for AI coding agents.
Open source under the MIT license. Source, issues, and full docs: github.com/EMahmoudNabil/slnmap
Your AI agent can't refactor .NET code it can't see. Ask an agent "what breaks if I change this interface?" and it guesses from the files in its context — missing callers in other projects and files it never opened. Slnmap gives the agent a precise, compiler-accurate map of your whole solution, so it answers correctly: every caller, every implementation, across every project. It runs locally and serves the map to your agent or editor over MCP.
Quickstart
1. Install (requires the .NET SDK 9.0+):
dotnet tool install --global Slnmap
2. Analyze your solution (builds slnmap.db in the current folder):
slnmap analyze path/to/YourSolution.sln
3. Connect your MCP client. For Claude Code, add this to .mcp.json, using an absolute path to
the slnmap.db you just built:
{
"mcpServers": {
"slnmap": {
"command": "slnmap",
"args": ["serve", "--db", "C:/path/to/your/project/slnmap.db"]
}
}
}
The tools
The server exposes eleven read-only tools — find_symbol, get_dependencies, impact_analysis,
get_architecture_overview, find_usages, find_implementations, get_type_hierarchy,
find_tests_for_symbol, get_project_dependencies, find_circular_dependencies, and
get_symbol_source (full descriptions in the README).
For an interface, impact_analysis follows both the interface's callers and its concrete
implementations/overrides — across projects, in files nobody has open.
There's also slnmap viz: exports the graph as a single self-contained, interactive HTML file —
no server, no CDN, works offline.
Privacy
100% local — and now you can verify it. No telemetry, no network calls, no cloud service; analysis works fully offline. Now that the CLI and MCP server are open source, the claim is auditable.
License & support
Slnmap is open source under the MIT license. The CLI and MCP server are MIT-licensed and will stay that way. Future hosted or team-oriented features may be commercial.
For questions or to report an issue, open a GitHub issue or contact hello@slnmap.dev.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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. |
This package has no dependencies.
New 'slnmap viz' command: exports the code graph as a single self-contained,
interactive HTML file (no CDN, no network calls) with a click-to-drill-down project/namespace/class
view. See CHANGELOG.md for details.
Source: https://github.com/EMahmoudNabil/slnmap