Slnmap 0.3.0
See the version list below for details.
dotnet tool install --global Slnmap --version 0.3.0
dotnet new tool-manifest
dotnet tool install --local Slnmap --version 0.3.0
#tool dotnet:?package=Slnmap&version=0.3.0
nuke :add-package Slnmap --version 0.3.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 five tools
The server exposes five read-only tools: find_symbol, get_dependencies, impact_analysis,
get_architecture_overview, and find_usages. For an interface, impact_analysis follows both the
interface's callers and its concrete implementations/overrides — across projects, in files nobody
has open.
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.
Six new MCP tools (11 total) and a fix for silent incremental edge loss in
solutions with multiple top-level-statements projects — see CHANGELOG.md. If you used incremental
analysis on such a solution before, delete slnmap.db and re-run analyze once.
Source: https://github.com/EMahmoudNabil/slnmap