Autodoc - AI-Powered Code Intelligence
Description: Analyze and understand codebases with AI-powered semantic search, context packs, and MCP server integration.

# AI-Powered Code Intelligence

Analyze codebases with semantic search, organize with context packs, and integrate with AI assistants via MCP.

View on GitHub Installation

    # Install autodoc
    pip install ai-code-autodoc

    # Analyze your codebase
    autodoc analyze ./src --save

    # Search with natural language
    autodoc search "authentication flow"

    # Generate context packs
    autodoc pack auto-generate --save

## Features

🔍

### Semantic Search

Search your codebase using natural language. Find functions, classes, and patterns with AI-powered embeddings.

📦

### Context Packs

Organize code into logical groups. Auto-detect features, track dependencies, and analyze impact of changes.

🤖

### MCP Integration

Connect to Claude and other AI assistants via the Model Context Protocol. Give AI full codebase awareness.

⚡

### Local Embeddings

Free semantic search using local sentence-transformers. No API keys required for basic functionality.

🔄

### Impact Analysis

Understand how file changes affect context packs and dependent code. Plan refactors with confidence.

📊

### Code Graph

Visualize relationships between modules, functions, and classes. Explore your architecture interactively.

## Installation

Available as a CLI tool and SDKs for Python and Node.js

### 🐍 Python / CLI

`pip install ai-code-autodoc` View on PyPI →

### 📦 Node.js

`npm install @autodoc-ai/sdk` View on npm →

### 🔧 From Source

`git clone github.com/Emberfield/autodoc` View on GitHub →

## MCP Server

Connect autodoc to Claude Desktop or any MCP-compatible AI assistant for full codebase intelligence.

#### Claude Desktop Config

    {
      "mcpServers": {
        "autodoc": {
          "transport": "sse",
          "url": "https://mcp.autodoc.tools/sse"
        }
      }
    }