This connects Claude to your git history to generate changelogs and suggest semver bumps. Exposes two tools: changelogai_generate parses conventional commits into markdown, JSON, or plain text, with optional grouping by type (Features, Bug Fixes, Performance), and changelogai_version_bump analyzes commits to recommend major, minor, or patch releases. The AI mode rewrites technical commit messages into user-facing release notes using Claude Haiku. Useful when you want Claude to draft release notes from git history, prepend new releases to existing changelogs, or get version bump recommendations directly in conversation instead of running command line tools manually.
Generate professional changelogs from your git history — instantly.
Works out of the box with conventional commits. Optional AI mode uses Claude to rewrite technical commit messages into user-facing release notes.
npm install -g @ura-dev/changelogai
# Run without installing
npx @ura-dev/changelogai
# Generate changelog since last tag
changelogai
# Grouped by category
changelogai --group
# AI-enhanced (requires ANTHROPIC_API_KEY)
changelogai --ai --group
# Write to file
changelogai --group --output CHANGELOG.md
# Prepend new release to existing changelog
changelogai --group --output CHANGELOG.md --prepend
# JSON output for CI/CD
changelogai --format json
# Suggest semver bump
changelogai --version-bump
| Flag | Description | Default |
|---|---|---|
--from <ref> | Start ref (tag/commit) | Latest tag |
--to <ref> | End ref | HEAD |
--output <file> | Write to file | stdout |
--format <fmt> | markdown, json, plain | markdown |
--group | Group by commit type | false |
--ai | AI-enhanced descriptions | false |
--model <model> | Claude model for AI mode | claude-haiku-4-5-20251001 |
--prepend | Prepend to existing file | false |
--version-bump | Suggest semver bump | false |
--repo <path> | Git repo path | . |
--max-commits <n> | Max commits to process | 500 |
changelogai includes a Model Context Protocol server for AI agents and IDE integrations (Claude Desktop, Cursor, VS Code, etc.).
{
"mcpServers": {
"changelogai": {
"command": "npx",
"args": ["-y", "-p", "@ura-dev/changelogai", "changelogai-mcp"]
}
}
}
Or if installed globally:
{
"mcpServers": {
"changelogai": {
"command": "changelogai-mcp"
}
}
}
| Tool | Description |
|---|---|
changelogai_generate | Generate a changelog from git history. Returns markdown, JSON, or plain text. |
changelogai_version_bump | Analyze git commits and suggest next semver bump (major/minor/patch). |
Set your Anthropic API key:
export ANTHROPIC_API_KEY=sk-ant-...
Then run with --ai:
changelogai --ai --group --output CHANGELOG.md
AI mode rewrites technical commit messages into clear, user-facing release notes. Uses Claude Haiku by default (fast and cheap — ~$0.001 per changelog).
MIT
ray0907/git-mcp-server
cyanheads/git-mcp-server
io.github.b1ff/atlassian-dc-mcp-bitbucket
io.github.b1ff/atlassian-dc-mcp-jira
com.mcparmory/atlassian-jira
sirlordt/vscode-terminal-mcp