patchwork — Codebase Conventions for AI Agents runs on your own machine — the client starts it, so there is no endpoint to ping. 115 installs a week from pypi. Last commit 25 Jun 2026.
Scan any codebase, generate CONVENTIONS.md, expose conventions as MCP tools for AI agents.
We read the source, 18 h ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
mod = __import__(module_name)
result = subprocess.run( # nosec B603 — list args, no shell=True, cwd is a validated Path
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add patchwork -- uvx patchwork-conventions
{
"mcpServers": {
"patchwork": {
"args": [
"patchwork-conventions"
],
"command": "uvx"
}
}
}
[mcp_servers.patchwork]
command = "uvx"
args = ["patchwork-conventions"]
{
"mcpServers": {
"patchwork": {
"args": [
"patchwork-conventions"
],
"command": "uvx"
}
}
}
{
"mcpServers": {
"patchwork": {
"args": [
"patchwork-conventions"
],
"command": "uvx"
}
}
}
Analyzes codebases with tree-sitter and generates AGENTS.md files for AI coding agents.
Python symbol exploration for codebase onboarding agents.
Codebase intelligence MCP — index any repo into a property graph; 26 tools for agents.
Codebase intelligence MCP server — index any repo into a property graph; 26 tools for agents.
MCP server that exposes Google Gemini as tools for Claude Code
Scan codebases for LLM/AI SDK usage, exposed API tokens, and hardcoded secrets.
Content-addressed code graph with 22 MCP tools for AI agents.
Wraps the AgenticWorkspace CLI as a single generic MCP tool for repo workspace scans.
Answers built from our own checks of this server.