Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Codebase Doc Generator

БесплатноНе проверен

Generates comprehensive documentation (architecture overview, dependency graph, API surface, and README) for any codebase locally without external APIs.

GitHubEmbed

Описание

Generates comprehensive documentation (architecture overview, dependency graph, API surface, and README) for any codebase locally without external APIs.

README

License: MIT

Point it at any codebase. Get complete documentation. Architecture overview, dependency graph, API surface, and a ready-to-use README -- all generated locally with zero external APIs.

Why

You spend hours writing documentation that goes stale in a week. This tool reads your code and generates accurate docs in seconds. It also reduces LLM context window usage by 70% -- feed the generated summary to your AI instead of your entire codebase.

Install

npm install
npm start
# Server runs on http://localhost:3000

As MCP Server

Add to your Cursor/Claude Code config:

{
  "mcpServers": {
    "codebase-doc-generator": {
      "command": "node",
      "args": ["path/to/codebase-doc-generator/src/main.js"]
    }
  }
}

API Endpoints

POST /generate

Generate documentation for a codebase.

curl -X POST http://localhost:3000/generate \
  -H "Content-Type: application/json" \
  -d '{"path": "/path/to/your/project"}'

Response includes:

{
  "architecture": "Express.js REST API with 3 route modules...",
  "dependencies": { "graph": "...", "external": [...], "internal": [...] },
  "api": { "endpoints": [...], "models": [...] },
  "readme": "# Project Name\n\n## Overview\n..."
}

MCP Tools

Tool Description
generate_docs Full documentation generation
analyze_architecture Architecture overview only
map_dependencies Dependency graph (internal + external)
extract_api API surface extraction
generate_readme README generation

What It Generates

  • Architecture -- project structure, design patterns, entry points, flow diagrams
  • Dependencies -- internal module graph, external package usage, circular dependency detection
  • API Surface -- endpoints, parameters, response types, authentication
  • README -- installation, usage, API docs, contributing guide

Links

License

MIT

from github.com/lazymac2x/codebase-doc-generator

Установить Codebase Doc Generator в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install codebase-doc-generator

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add codebase-doc-generator -- npx -y codebase-doc-generator

FAQ

Codebase Doc Generator MCP бесплатный?

Да, Codebase Doc Generator MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Codebase Doc Generator?

Нет, Codebase Doc Generator работает без API-ключей и переменных окружения.

Codebase Doc Generator — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Codebase Doc Generator в Claude Desktop, Claude Code или Cursor?

Открой Codebase Doc Generator на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Codebase Doc Generator with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development