MCP.Market

patchwork — Codebase Conventions for AI Agents MCP server

by SaiNarayana-B·io.github.SaiNarayana-B/patchwork·v0.1.7

Scan any codebase, generate CONVENTIONS.md, expose conventions as MCP tools for AI agents.

B74/100grade B
What users say
No reviews yet
Be the first
Safety scan
B74/100

full report

Adoption
New

0 stars18 downloads/wk

Reviews

Write one

Nobody has reviewed patchwork — Codebase Conventions for AI Agents yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

patchwork — Codebase Conventions for AI Agents tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it

1 medium
  • Code scan18 source files scanned20/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 93 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10

Findings (1)

  • mediumsubprocess with shell=Trueexec.shell-true
    patchwork_conventions-0.1.7/src/patchwork/miners/git_patterns.py: …for 'git' with a hardcoded arg list, no shell=True from collections import Counter, defaul…
Overall 74/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How patchwork — Codebase Conventions for AI Agents compares

Against every graded Security MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
74/100
higher than 39% of 915 Security servers
Downloads a week
18
more than 4% of 248 Security servers with a package

Install patchwork — Codebase Conventions for AI Agents in Claude Code, Cursor or VS Code

claude mcp add patchwork -- uvx patchwork-conventions
Add to Cursor

What the publisher says

From the patchwork — Codebase Conventions for AI Agents repository's README, as published. We do not edit it. Read it on GitHub

patchwork

<!-- mcp-name: io.github.SaiNarayana-B/patchwork -->

Mine your codebase. Generate CONVENTIONS.md. Stop AI agents from making up your style.

Every team that uses AI coding assistants hits the same wall: Claude writes getUserById in a codebase that uses getuserbyid. Cursor creates components/userCard.tsx in a project that uses user-card.tsx. The agent invented a response shape that doesn't match the rest of the API.**

You write a CLAUDE.md manually. It goes stale in two weeks. You write it again.

patchwork automates this. It scans your actual source code using AST analysis and detects what your team really does — not what you think you do.

What it detects

Quick start

pip install patchwork-conventions
cd your-project
patchwork scan

That's it. You'll get a CONVENTIONS.md like this:

# CONVENTIONS.md
> Auto-generated by patchwork on 2026-06-25

## Tech Stack
**Language:** python
**Runtime:** Python >=3.11
**Package Manager:** uv
**Frameworks:** fastapi, sqlalchemy
**Linters:** ruff
**Formatters:** ruff, black

## Naming Conventions

### Python
- **Functions:** `snake_case` (97% consistent)
  - Examples: `get_user`, `parse_response`, `create_session`
- **Classes:** `PascalCase` (100% consistent)
  - Examples: `UserService`, `AuthHandler`, `DatabaseClient`
- **Constants:** `SCREAMING_SNAKE`
  - Examples: `MAX_RETRIES`, `API_BASE_URL`
- **Files:** `snake_case`
- **Private prefix:** `_`
- **Test functions:** prefix `test_`

## Project Structure
**Source root:** `src/`
**Organisation:** layer-based
**Tests:** separate (`tests/`)

**Key directories:**
  - `src/` — source root
  - `tests/` — test suite
  - `migrations/` — database migrations

## Error Handling

### Python
- **Pattern:** try/except
- **Propagation:** raise
- **Logging:** `structlog`
- **Custom exception naming:** Error suffix
  - `ValidationError`, `AuthError`, `NotFoundError`

## Testing Conventions

### Python
- **Framework:** pytest
- **Coverage:** 34 test files / 89 source files (38% ratio)
- **Ass

Why not argus or sourcebook?

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

patchwork — Codebase Conventions for AI Agents: common questions

Is patchwork — Codebase Conventions for AI Agents MCP server safe?
Mostly: it is graded B (74/100). Read the patchwork — Codebase Conventions for AI Agents safety report
How do I install patchwork — Codebase Conventions for AI Agents?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does patchwork — Codebase Conventions for AI Agents need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is patchwork — Codebase Conventions for AI Agents maintained?
The last commit was 132 days ago (2026-06-25). The latest release is v0.1.7.
What can I use instead of patchwork — Codebase Conventions for AI Agents?
Servers from other publishers that do the same job: OpenQR MCP server, Barcode Scanner MCP server and PyMemoryEditor MCP server.
How does patchwork — Codebase Conventions for AI Agents compare with other Security MCP servers?
safety score 74/100 (higher than 39% of 915 Security servers); downloads a week 18 (more than 4% of 248 Security servers with a package). Full comparison.

Alternatives to patchwork — Codebase Conventions for AI Agents

Same job from other publishers: the closest match first, then the best rated.

  • OpenQR
    Generate, edit and track dynamic (editable) QR codes with scan analytics. Hosted MCP and REST API.
    B
  • Barcode Scanner
    Scan and generate barcodes and QR codes.
    A
  • PyMemoryEditor
    Read, write and scan process memory, Cheat Engine style, on Windows, Linux and macOS.
    A
  • Autopilot Jobhunt
    Agentic job hunt: scan careers pages, score against your resume, draft applications. Never applies.
    A
  • Solana Security Standard
    Scan Solana/Anchor code against the Solana Security Standard and serve the ruleset to MCP clients.
    A