MCP server that validates & formats git commit messages per the Udacity style guide
claude mcp add mcp-udacity-commit -- npx -y mcp-udacity-commit{
"mcpServers": {
"mcp-udacity-commit": {
"command": "npx",
"args": ["-y", "mcp-udacity-commit"]
}
}
}MCP Servers overview
# mcp-udacity-commit
[](https://www.npmjs.com/package/mcp-udacity-commit)
[](https://www.npmjs.com/package/mcp-udacity-commit)
[](./LICENSE)
[](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
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.
[](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
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!