Skip to content

mcilspy

Decompile, search, and analyze .NET assemblies through natural language.

Find Hardcoded Secrets

Search for URLs, API keys, connection strings, and credentials embedded in compiled .NET assemblies.

Reverse Engineer Binaries

List types, explore namespaces, and understand the structure of any .NET assembly without source code.

Recover Lost Source Code

Decompile entire assemblies back to compilable C# projects — with PDB generation and original variable names.

Analyze Malware Behavior

Safe static analysis of suspicious .NET executables. Find network calls, hardcoded URLs, and obfuscated logic.

Understand Third-Party Libraries

Read the actual implementation of any .NET library when documentation falls short. Extract assemblies from NuGet packages for bulk analysis.

Terminal window
pip install mcilspy

Then ask your assistant:

“Decompile the LoginService class from this assembly and explain what it does”

mcilspy ships 7 metadata tools that work immediately — no .NET SDK required. They parse PE headers and metadata tables directly via dnfile. Install ilspycmd to unlock 9 more tools for full decompilation, diagrams, and project generation.

ToolPurposeRequires ilspycmd
decompile_assemblyFull C# source recovery with PDB supportYes
decompile_methodExtract a specific method from a typeYes
list_typesEnumerate classes, interfaces, structs, enumsYes
search_typesFind types by name pattern (regex supported)Yes
search_stringsFind hardcoded strings in IL codeNo
search_methodsFind methods by name or patternNo
search_fieldsFind fields and constantsNo
search_propertiesFind properties by nameNo
list_eventsList all event definitionsNo
list_resourcesFind embedded files and imagesNo
get_metadata_summaryAssembly statistics and referencesNo
generate_diagrammerInteractive HTML type relationship diagramsYes
dump_packageExtract assemblies from NuGet packagesYes
get_assembly_infoVersion, framework, signing infoYes
check_ilspy_installationDiagnose setup issuesNo
install_ilspyAuto-install .NET SDK + ilspycmdNo