dotnet-dstrings 2.0.0

dotnet tool install --global dotnet-dstrings --version 2.0.0
                    
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 dotnet-dstrings --version 2.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-dstrings&version=2.0.0
                    
nuke :add-package dotnet-dstrings --version 2.0.0
                    

dotnet-dstrings

A .NET global CLI tool and MCP server to analyze duplicated strings in a .NET application (live process or memory dump) with per-generation heap statistics.

Installation

dotnet tool install --global dotnet-dstrings

CLI Usage

dotnet-dstrings [-p <pid> | <dumpfile>] [-c <count>] [-s <sizeKB>] [-l <length>]

Options

Option Description Default
-p <pid> Process ID to attach to
<dumpfile> Path to a memory dump file
-c <count> Minimum occurrence count to display 128
-s <sizeKB> Minimum cumulated size in KB to display 100
-l <length> Max string length to display 64
--mcp Start as stdio MCP server

Provide either -p <pid> or a dump file path, but not both.

Example

dotnet-dstrings myapp.dmp -c 64 -s 50

MCP Server Usage

dotnet-dstrings --mcp

When started with --mcp, the tool runs as a stdio-based MCP server exposing a GetDuplicatedStrings tool with the same parameters as the CLI.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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
2.0.0 44 5/2/2026
1.1.0 1,152 2/10/2020
1.0.1 748 2/9/2020
1.0.0 745 2/9/2020

Migrated to ClrMD 3.0, added MCP server support, targets .NET 6+