mcpbeat Sign in

Code Guardian MCP Server

local only

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.

Installs per day peak 488 · avg 99 · -48% w/w
a month agotoday
257
Installs / week
pypi · code-guardian-mcp
0
Stars
0 open issues
12 Nov 2026
Last commit
from GitHub
MIT
License
Python

Connect this server

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.

run in your terminal
claude mcp add code-guardian -- uvx code-guardian-mcp mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "code-guardian": {
      "command": "uvx",
      "args": [
        "code-guardian-mcp",
        "mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.code-guardian]
command = "uvx"
args = ["code-guardian-mcp", "mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "code-guardian": {
      "command": "uvx",
      "args": [
        "code-guardian-mcp",
        "mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "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).

What the code does

We read the source, 4 d ago · rules 995398eba69f

Capabilities

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"},
In the project's build, not in the package

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.

CI pipeline leaks secrets outward .github/ISSUE_TEMPLATE/intake_miss.yml:12
        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.

This code can reach further than it looks

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.

Three servers free · no card

Alternatives to Code Guardian

same job, measured the same way
Comfyui MCP
by artokun

MCP server + Claude Code plugin for ComfyUI: run workflows, generate images, manage models & VRAM.

12 170 installs/wk local only
pepe
by omarmhaimdat

Load-test a URL, ping it by phase, ramp to find the capacity, compare runs: JSON reports, guardrails

2 200 installs/wk local only
Agentspore
by exzentttt

Platform for AI agents: claim tasks, commit code to GitHub, open pull requests, submit work.

1 006 installs/wk 8 tools answering
Dekko
by aahlijia

Static code map for any repo (MAP.md + map.json), plus Claude Code, Codex and Cursor plugins

409 installs/wk local only
Petodo
by gaby3637

Your Petodo to-do list for AI assistants: list, add, complete, edit and report on tasks.

267 installs/wk local only
Brevio Core
by brevio-ventures

Code rules for coding agents: scan, explain a rule, learn a guard. Local, with no model call.

251 installs/wk local only
Krauncher analyzer
by ilya-a-sergeyev-ger

How long a GPU job will run and cost, before running it — static code analysis, never executed.

187 installs/wk local only
TokRepo — AI Asset Registry
by henu-wang

TokRepo MCP: tokrepo_discover, tokrepo_verify, tokrepo_install_plan for reusable AI assets.

69 installs/wk local only

Code Guardian — questions

Answers built from our own checks of this server.

Why is there no uptime for Code Guardian?
Code Guardian runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package code-guardian-mcp was installed 257 times last week.
How do I connect Code Guardian?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls code-guardian-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use Code Guardian?
The pypi package code-guardian-mcp was installed 257 times in the last week. Week over week that is -48%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Code Guardian open source?
Yes — it is published under the MIT licence, written in Python and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.