Skip to main content
ClaudeWave

MCP server that validates & formats git commit messages per the Udacity style guide

MCP ServersOfficial Registry0 stars0 forksJavaScriptMITUpdated today
Install in Claude Code / Claude Desktop
Method: NPX · mcp-udacity-commit
Claude Code CLI
claude mcp add mcp-udacity-commit -- npx -y mcp-udacity-commit
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "mcp-udacity-commit": {
      "command": "npx",
      "args": ["-y", "mcp-udacity-commit"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Use cases

MCP Servers overview

# mcp-udacity-commit

[![npm version](https://img.shields.io/npm/v/mcp-udacity-commit)](https://www.npmjs.com/package/mcp-udacity-commit)
[![npm downloads](https://img.shields.io/npm/dm/mcp-udacity-commit)](https://www.npmjs.com/package/mcp-udacity-commit)
[![License: MIT](https://img.shields.io/npm/l/mcp-udacity-commit)](./LICENSE)
[![MCP](https://img.shields.io/badge/MCP-server-blue)](https://modelcontextprotocol.io)

An [MCP](https://modelcontextprotocol.io) server that validates and formats git
commit messages according to the
[Udacity Git Commit Message Style Guide](https://udacity.github.io/git-styleguide/).

## Install

One line — paste it into your terminal:

```bash
claude mcp add udacity-commit -- npx -y mcp-udacity-commit
```

For Claude Desktop, add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "udacity-commit": {
      "command": "npx",
      "args": ["-y", "mcp-udacity-commit"]
    }
  }
}
```

<details>
<summary>Install from source</summary>

```bash
git clone https://github.com/qwertymuzaffar/mcp-udacity-commit
cd mcp-udacity-commit
npm install
npm run build
claude mcp add udacity-commit -- node "$(pwd)/build/index.js"
```

</details>

## What it exposes

| Primitive | Name | Purpose |
| --- | --- | --- |
| Resource | `udacity://commit-styleguide` | The style-guide rules, as markdown |
| Resource | `udacity://branch-naming` | The companion `type/kebab-case` branch-naming rules, as markdown |
| Tool | `validate_commit_message` | Checks a message against every rule (type, ≤50-char subject, capitalization, no trailing period, blank line, ≤72-char body wrap) |
| Tool | `format_commit_message` | Builds a compliant message from `type` + `subject` + optional `body`/`footer` |
| Tool | `validate_branch_name` | Checks a branch name against the companion `type/kebab-case` convention (e.g. `feat/add-dark-mode`); `release/*` is a typed branch with a version-style description (`release/1.2.0`), and base branches like `main` are exempt |

## Example

`format_commit_message` turns loose parts into a compliant commit:

```text
in:  type=fix  subject="prevent duplicate auth token refresh."
     body="The refresh timer could fire twice under load, minting two tokens…"
     footer="Resolves: #142"

out:
fix: Prevent duplicate auth token refresh

The refresh timer could fire twice under load, minting two tokens and
logging the user out. Serialize refreshes behind a single in-flight
promise so concurrent callers await the same request.

Resolves: #142
```

`validate_commit_message` flags every violation:

```text
"Fixed the login bug."  →  ❌ Not compliant.
  • Subject must follow "type: Subject".
  • Subject must not end with a period.
```

`validate_branch_name` enforces the companion `type/kebab-case` convention:

```text
"feat/add-dark-mode"     →  ✅ Compliant branch name.
"release/1.2.0"          →  ✅ Compliant branch name.
"Feature/Add_Dark_Mode"  →  ❌ Not compliant.
  • Unknown type "Feature". Use one of: feat, fix, docs, style, refactor, test, chore, release.
  • Description must be lowercase kebab-case. Got: "Add_Dark_Mode".
"main"                   →  ✅ (base branch — feature-branch rules don't apply)
```

## Develop

```bash
npm install
npm run build          # → build/index.js
npm run test:client    # spawns the server and exercises the tools
```

## License

MIT
claudecommit-messagedeveloper-toolsgitmcpmcp-servermodel-context-protocoludacity

What people ask about mcp-udacity-commit

What is qwertymuzaffar/mcp-udacity-commit?

+

qwertymuzaffar/mcp-udacity-commit is mcp servers for the Claude AI ecosystem. MCP server that validates & formats git commit messages per the Udacity style guide It has 0 GitHub stars and was last updated today.

How do I install mcp-udacity-commit?

+

You can install mcp-udacity-commit by cloning the repository (https://github.com/qwertymuzaffar/mcp-udacity-commit) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is qwertymuzaffar/mcp-udacity-commit safe to use?

+

qwertymuzaffar/mcp-udacity-commit has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.

Who maintains qwertymuzaffar/mcp-udacity-commit?

+

qwertymuzaffar/mcp-udacity-commit is maintained by qwertymuzaffar. The last recorded GitHub activity is from today, with 0 open issues.

Are there alternatives to mcp-udacity-commit?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy mcp-udacity-commit to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: qwertymuzaffar/mcp-udacity-commit
[![Featured on ClaudeWave](https://claudewave.com/api/badge/qwertymuzaffar-mcp-udacity-commit)](https://claudewave.com/repo/qwertymuzaffar-mcp-udacity-commit)
<a href="https://claudewave.com/repo/qwertymuzaffar-mcp-udacity-commit"><img src="https://claudewave.com/api/badge/qwertymuzaffar-mcp-udacity-commit" alt="Featured on ClaudeWave: qwertymuzaffar/mcp-udacity-commit" width="320" height="64" /></a>

More MCP Servers

mcp-udacity-commit alternatives