Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

MCP Code Sanitizer

by notasandyversion 0.1.0i★ –iRuns on your computer
Registry nameio.github.notasandy/mcp-code-sanitizer

Install

Overview

Description from the maker (original English)

Strict AI code reviewer powered by Groq. Finds bugs and vulnerabilities.

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Other
  • You need to fill in: GROQ_API_KEY

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: GROQ_API_KEY

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • PyPIPython’s uv installed (for the uvx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "code-sanitizer": {
      "command": "uvx",
      "args": [
        "mcp-code-sanitizer"
      ],
      "env": {
        "GROQ_API_KEY": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add code-sanitizer --env GROQ_API_KEY=your-value -- uvx mcp-code-sanitizer

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "code-sanitizer": {
      "command": "uvx",
      "args": [
        "mcp-code-sanitizer"
      ],
      "env": {
        "GROQ_API_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "code-sanitizer": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-code-sanitizer"
      ],
      "env": {
        "GROQ_API_KEY": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • GROQ_API_KEY secret required env
    Groq API key from console.groq.com/keys

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account notasandy, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Otheri

  • More stars than 0% of the other 32509 servers in this category
  • Published to the registry more recently than 8% of the other 32509 servers in this category
  • Basic checks equal to or better than 100% of the other 32509 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is MCP Code Sanitizer safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: GROQ_API_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.1.0) reached the registry 6 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: Spec Driven Development, Remote Desktop Commander, Fomu MCP

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Spec Driven Development

by formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Runs on your computer★ 440MITUpdated 14 months ago
Install

Remote Desktop Commander

by desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Runs in the cloud★ 211Updated yesterday
Install

Fomu MCP

by gabrielmahia

Kenya government form guides: checklists, draft letters, eCitizen, Huduma, timelines. Sample data.

Runs on your computerUpdated today
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

mcp-code-sanitizer

Strict AI-powered code reviewer for Claude Desktop, Cursor, VS Code, and Claude Code CLI.

Finds bugs, vulnerabilities, and security issues — powered by Groq (free API).

Claude / Cursor / VS Code  ──MCP──►  code-sanitizer  ──REST──►  Groq API

(server.py) (llama-3.3-70b)


Features

ToolWhat it does
analyze_codeStrict review — bugs, security issues, score 0–100
compare_codeCompares two versions, detects regressions, recommends merge/request_changes
explain_codeStep-by-step explanation for junior / middle / senior audience
generate_testsGenerates pytest / jest / go test — happy path, edge cases, security
analyze_fileAnalyzes a whole file from disk with parallel chunking
generate_reportBuilds an HTML report from any analysis result
cache_infoCache statistics and clearing
Example output
{

"summary": "Critical SQL injection and secret exposed in logs", "score": 23, "issues": [ { "severity": "critical", "line": 2, "title": "SQL Injection", "description": "f-string directly interpolates user_id into query", "fix": "cursor.execute('SELECT * FROM users WHERE id = %s', (user_id,))" } ], "warnings": [{"title": "No exception handling", "description": "..."}], "suggestions": ["Consider using an ORM instead of raw SQL"] }


Installation

Prerequisite: Get a free Groq API key at console.groq.com/keys — no credit card required.

Claude Code CLI
claude mcp add code-sanitizer -e GROQ_API_KEY=gsk_your_key -- uvx mcp-code-sanitizer
Claude Desktop
OSConfig file
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json
Linux~/.config/Claude/claude_desktop_config.json
{

"mcpServers": { "code-sanitizer": { "command": "uvx", "args": ["mcp-code-sanitizer"], "env": { "GROQ_API_KEY": "gsk_your_key_here" } } } }

Cursor

Create .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):

{

"mcpServers": { "code-sanitizer": { "command": "uvx", "args": ["mcp-code-sanitizer"], "env": { "GROQ_API_KEY": "gsk_your_key_here" } } } }

VS Code

Requires VS Code 1.99+ with GitHub Copilot. Create .vscode/mcp.json in your project:

{

"servers": { "code-sanitizer": { "command": "uvx", "args": ["mcp-code-sanitizer"], "env": { "GROQ_API_KEY": "gsk_your_key_here" } } } }

Or add globally via Ctrl+Shift+P → "MCP: Add Server".

Don't have `uvx`? Install it with pip install uv, then use the commands above.


Manual install (alternative)

If you prefer cloning the repo:

git clone https://github.com/notasandy/mcp-code-sanitizer

cd mcp-code-sanitizer pip install -r requirements.txt cp .env.example .env # add your GROQ_API_KEY python server.py

Then point the client config to:

{

"command": "python", "args": ["/full/path/to/server.py"], "env": { "GROQ_API_KEY": "gsk_your_key_here" } }


GitHub Action — automatic PR review

Add AI code review to any repository in 5 lines. The action posts a structured comment on every PR with score, issues, and fix suggestions.

# .github/workflows/ai-review.yml

name: AI Code Review on: pull_request: types: [opened, synchronize]

permissions: contents: read pull-requests: write

jobs: review: runs-on: ubuntu-latest steps:

  • uses: notasandy/mcp-code-sanitizer@v1 with: groq_api_key: ${{ secrets.GROQ_API_KEY }}

Add GROQ_API_KEY to your repository secrets → Settings → Secrets → Actions.

The action automatically:

  • Reviews only changed files (up to 10 per PR)
  • Posts a score and structured issue list as a PR comment
  • Fails the check if critical issues are found

Usage in chat

After connecting, just write naturally:

Review this code for vulnerabilities:

def get_user(user_id): query = f"SELECT * FROM users WHERE id = {user_id}" return db.execute(query)

Or call tools explicitly:

analyze_file /path/to/my_script.py

generate_tests for this function: ... compare_code — before vs after refactor, did it get better? generate_report and save to /tmp/report.html


Architecture

mcp-code-sanitizer/

├── server.py # FastMCP entry point ├── config.py # Constants — keys, limits, extension map ├── groq_client.py # Async Groq client with auto-retry on 429 ├── cache.py # In-memory LRU cache with TTL ├── prompts.py # System prompts for all tools └── tools/ ├── analyze.py # analyze_code ├── compare.py # compare_code ├── explain.py # explain_code ├── tests.py # generate_tests ├── file_tool.py # analyze_file — chunking + parallel analysis ├── cache_tool.py # cache_info └── report.py # generate_report — HTML output


Configuration

All settings via .env or environment variables:

VariableDefaultDescription
GROQ_API_KEY—Required. Get at console.groq.com
GROQ_MODELllama-3.3-70b-versatileGroq model to use
CACHE_TTL3600Cache TTL in seconds
CACHE_MAX200Max cached entries
Available Groq models
ModelSpeedQuality
llama-3.3-70b-versatileFastBest (default)
llama-3.1-8b-instantFastestGood
mixtral-8x7b-32768FastGreat

Contributing

PRs and Issues are welcome. Most wanted:

  • Support for other LLM providers (OpenAI, Anthropic)
  • New tools: dependency audit, complexity score, docstring generator
  • Prompt improvements and new language support

License

MIT — do whatever you want. A star would be appreciated.


Links

Ask PopNx