Code Guardian runs on your own machine — the client starts it, so there is no endpoint to ping. 257 installs a week from pypi. Last commit 12 Nov 2026.
Safe to run? Will it work? Complete? An A-F grade for any repo, plus a verify loop. Never runs it.
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 code-guardian -- uvx code-guardian-mcp mcp
{
"mcpServers": {
"code-guardian": {
"command": "uvx",
"args": [
"code-guardian-mcp",
"mcp"
]
}
}
}
[mcp_servers.code-guardian]
command = "uvx"
args = ["code-guardian-mcp", "mcp"]
{
"mcpServers": {
"code-guardian": {
"command": "uvx",
"args": [
"code-guardian-mcp",
"mcp"
]
}
}
}
{
"servers": {
"code-guardian": {
"type": "stdio",
"command": "uvx",
"args": [
"code-guardian-mcp",
"mcp"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
CODE_GUARDIAN_LLM_URL (Optional: local model for the explain tool (Ollama /api/chat or an OpenAI-compatible /v1/chat/completions URL)), CODE_GUARDIAN_LLM_MODEL (Optional: model name for the explain tool).
We read the source, 4 d ago · rules 995398eba69f
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.
subprocess.run(["git", "init", "-q", str(dest)], check=True)
path = posixpath.normpath(posixpath.join(folder, spec))
{"code": "injection.credential_path", "kind": "regex", "value": "(?i)~/\\.ssh|\\bid_(rsa|ed25519|ecdsa|dsa)\\b|(?<![\\w])\\.env\\b|\\.aws/credentials|\\.netrc\\b|\\.npmrc\\b", "note": "points at private keys or credential files"},
Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.
paste secrets. For a security problem use [private reporting](https://github.com/LuminariSoftwares/code-guardian/security/advisories/new).
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.
MCP server + Claude Code plugin for ComfyUI: run workflows, generate images, manage models & VRAM.
Load-test a URL, ping it by phase, ramp to find the capacity, compare runs: JSON reports, guardrails
Platform for AI agents: claim tasks, commit code to GitHub, open pull requests, submit work.
Static code map for any repo (MAP.md + map.json), plus Claude Code, Codex and Cursor plugins
Your Petodo to-do list for AI assistants: list, add, complete, edit and report on tasks.
Code rules for coding agents: scan, explain a rule, learn a guard. Local, with no model call.
How long a GPU job will run and cost, before running it — static code analysis, never executed.
TokRepo MCP: tokrepo_discover, tokrepo_verify, tokrepo_install_plan for reusable AI assets.
Answers built from our own checks of this server.