Patchwork — Codebase Conventions for AI Agents
Scans codebases, generates convention files, and exposes detected patterns through eight MCP tools for AI coding agents.
Install Patchwork — Codebase Conventions for AI Agents
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"patchwork-codebase-conventions-for-ai-agents": {
"command": "uvx",
"args": [
"patchwork-conventions"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
uvx patchwork-conventionsProcess exited before answering initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Generate a CONVENTIONS.md file from an existing repository
- Check proposed identifiers against observed naming patterns
- Query project structure before creating files or directories
- Review testing and error-handling practices before writing code
- Keep convention documentation updated while a codebase changes
Key features
- AST-based convention mining with confidence scores
- Naming, import, structure, testing, API, and error-pattern detection
- Git commit, branch, and co-change analysis
- CONVENTIONS.md, AGENTS.md, and CLAUDE.md output
- Eight MCP tools over stdio or HTTP
- Language filtering and optional full AST support
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 11d ago via OSV.dev · patchwork-conventions (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Patchwork — Codebase Conventions for AI Agents works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Patchwork — Codebase Conventions for AI Agents
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/patchwork-codebase-conventions-for-ai-agents)<a href="https://allmcps.com/mcp/patchwork-codebase-conventions-for-ai-agents"><img src="https://allmcps.com/api/badge/patchwork-codebase-conventions-for-ai-agents?style=directory" alt="Patchwork — Codebase Conventions for AI Agents on AllMCPs" /></a>