Distills codebases into compact API context and generates prompts for documentation, refactoring, security, and other AI analyses.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by AI Distiller MCP.
distill_fileExtract structure from a single file
distill_directoryExtract structure from entire directories
list_filesBrowse directories with file statistics
get_capabilitiesGet info about AI Distiller capabilities
aid_hunt_bugsGenerate bug-hunting prompts with distilled code
aid_suggest_refactoringCreate refactoring analysis prompts
janreges/ai-distiller-mcp MCP server makes the AI Distiller code-structure extractor available to MCP-compatible clients. It is intended for projects where sending the entire source tree to an AI model would exceed practical context limits or make API relationships difficult to identify.
The core operation reduces source code to a compact representation of the information an agent usually needs to use existing code: public methods, properties, types, imports, and basic documentation. The default output excludes method bodies and protected, internal, or private members. Filtering options can include those members, implementation details, comments, or other content when a broader view is required.
The repository describes support for more than 12 programming languages and provides text, Markdown, structured JSON, JSONL, and XML output formats. Distillation can target one file or a directory, and the tool can report compression and processing statistics.
The MCP interface separates browsing, extraction, and analysis-prompt generation. list_files helps an agent inspect directories and view file statistics. distill_file and distill_directory then produce reduced code context for a file or directory. get_capabilities reports available AI Distiller capabilities.
The analysis tools do not perform the underlying review themselves. Instead, they prepare prompts containing distilled code for an AI agent to process. Available workflows cover bug hunting, refactoring, Mermaid diagram generation, OWASP Top 10 security analysis, documentation, systematic file-by-file analysis, multi-file documentation, complex analysis, performance, and coding best practices. aid_analyze provides direct access to the AI actions for custom workflows.
Install the MCP package published as @janreges/ai-distiller-mcp from npm, then configure it in an MCP-compatible client. The README explicitly names Claude, Cursor, VS Code, and Windsurf as supported integration targets, and includes a Claude Desktop usage guide in its documentation structure.
No API key or external paid AI service is specified in the provided material. The generated prompts are saved to a .aid/ directory by default for workflows that create files; small codebases can instead use standard output according to the CLI behavior described by the project.
Configuration follows AI Distiller's filtering model. Public members, documentation, and imports are included by default, while implementation bodies and non-public visibility levels are excluded. Worker count, output format, comments, docstrings, and summary style can be adjusted through the underlying Distiller options.
The MCP tool set includes:
AI Distiller prepares context and prompts; it does not carry out the requested security review, refactoring, documentation task, or other analysis itself. An AI agent must read or execute the generated prompt content.
The project identifies this MCP release as an early version and requests feedback through GitHub discussions or issues. The supplied material does not state a license, so licensing should be verified in the repository before redistribution.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/janreges-ai-distiller-mcp)<a href="https://allmcps.com/mcp/janreges-ai-distiller-mcp"><img src="https://allmcps.com/api/badge/janreges-ai-distiller-mcp?style=directory" alt="AI Distiller MCP on AllMCPs" /></a>