What it does
RepoLens scans a repository and generates architecture documents, including an overview, module catalog, API surface, route map, dependency graph, data flows and change impact. It covers 17 document types for engineers, stakeholders and mixed audiences, and auto-detects 16 programming languages and common frameworks. Output can be published to Notion, Confluence, GitHub Wiki, Obsidian or Markdown, and can run on every push through GitHub Actions.
It suits teams that want architecture documentation kept in step with the code rather than written by hand, and that need technical pages for engineers alongside readable system summaries for non-technical readers. A demo command previews generated output for a local repository without an API key. A VS Code extension lets users browse modules and dependency graphs inside the editor.
Setup starts with Node.js 18 or later and an init command that creates a configuration file and a GitHub Actions workflow. Publishing targets are optional and need their own configuration or credentials. Generation runs in a deterministic mode, or with an optional AI mode that uses a chosen provider. Commands include publish, doctor for validating setup, and watch for regenerating docs on changes.
Limitations and requirements
Requires Node.js 18 or later. Notion and Confluence publishing need credentials; the publish command can exit with an error when a configured publisher lacks them. Obsidian publishing needs an obsidian.vault entry in .repolens.yml. AI-enhanced mode needs an API key from a supported provider (GitHub Models, OpenAI, Anthropic, Google, Azure or Ollama). The dependency graph and code health pages cover JavaScript/TypeScript, Python and Go only; Java, Kotlin and C# repositories receive a 'not supported yet' note on those pages. The demo exits with an error when no source files match. Handles repositories up to 50,000 files.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 16 Nov 2026 · its page on the source
RepoLens
Architecture docs from a repo: overview, modules, API surface, routes, dependency graph, diffs.
v1.17.1As shown on registry.modelcontextprotocol.io when we last read it