What is code-guardian?
code-guardian is a MCP server by phuongrealmax that code refactoring engine: code analysis, hotspot detection, complexity metrics, persistent memory and automated refactoring plans. It is listed under Data & databases and has 9 GitHub stars.
| Type | Mcp server |
|---|---|
| Author | phuongrealmax |
| Repository | phuongrealmax/code-guardian |
| Popularity | 9 GitHub stars |
| Category | Data & databases |
| Security | Low risk (84/100) |
| Rank | #1,786 of 4,418 MCP servers; #135 in Data & databases |
| Last commit | 2025-12-25 |
| Runs | Locally |
| Language | TypeScript |
Is code-guardian safe to install?
code-guardian scores 84/100 on the MCPMods security check: Low risk. Things to review: can take actions such as send, write or deploy. It passed 4 of 6 checks.
MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.
| Check | Result |
|---|---|
| Community-built server | Note |
| Runs on your machine only | Pass |
| No credentials mentioned | Pass |
| Can take actions such as send, write or deploy | Review |
| No code execution | Pass |
| Source on GitHub | Pass |
How do I install code-guardian?
- Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
https://github.com/phuongrealmax/code-guardian
- Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
claude mcp add code-guardian -- <command from README> claude mcp add --transport http code-guardian <server-url>
- Check it connected. This lists your MCP servers and their status.
claude mcp list
Or ask Claude to set it up
Paste this into Claude Code and it installs code-guardian for you:
Add the "code-guardian" MCP server from https://github.com/phuongrealmax/code-guardian to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.