AI Changelog Generator
GraduatedAI-powered changelog generation that analyzes your actual code changes, not just commit messages.

Features
AI Code Analysis
Analyzes actual diffs and code changes, not just commit messages, for intelligent categorization
Multi-Provider Support
Works with OpenAI, Claude, Google, Azure, Bedrock, and local models like Ollama
Multiple Output Formats
Markdown, JSON, and customizable templates with conventional commits and emoji support
MCP Integration
Model Context Protocol server for Claude Desktop and other MCP-compatible tools
Quick Start
Get up and running in seconds. Works with any Git repository.
Install globally
npm install -g @entro314labs/ai-changelog-generator
Or use directly with npx
npx @entro314labs/ai-changelog-generator init
Generate your first changelog
ai-changelog --interactive
Requirements
- ✓Node.js >= 22.0.0
- ✓Git repository with history
- ✓API key for at least one AI provider
Common Commands
ai-changelog
Generate from recent commits
ai-changelog working-dir
Analyze working directory
ai-changelog --help
Show all options
Examples
Common Usage Patterns
Basic Usage
Generate changelog from recent commits
ai-changelog --since v1.0.0 --release-version 2.0.0
Interactive Mode
Guided setup with provider selection
ai-changelog --interactive
Working Directory
Analyze uncommitted changes
ai-changelog working-dir --dry-run
CI/CD Integration
Generate changelog in automated pipeline
ai-changelog --since $LAST_TAG --release-version $NEW_VERSION --silent
Sample Output
# Changelog ## [2.0.0] - 2024-08-01 ### 🚀 Features - Add multi-provider AI support for changelog generation ([abc123](https://github.com/user/repo/commit/abc123)) - Implement MCP server for Claude Desktop integration ([def456](https://github.com/user/repo/commit/def456)) ### 🐛 Bug Fixes - Fix error handling for invalid Git repositories ([ghi789](https://github.com/user/repo/commit/ghi789)) ### ♻️ Refactoring - Restructure configuration system for better maintainability ([jkl012](https://github.com/user/repo/commit/jkl012))
Supported AI Providers
Works with 10+ AI providers. Use your preferred model or try multiple providers for different perspectives.
OpenAI
Anthropic Claude
Google AI
Azure OpenAI
AWS Bedrock
Ollama
Quick Setup
Environment Variables
OPENAI_API_KEY=your_key
ANTHROPIC_API_KEY=your_key
GOOGLE_API_KEY=your_key
Interactive Configuration
ai-changelog providers configure
Choose and configure your preferred provider