mcpbeat Sign in

Context Guardian MCP Server

local only

Context Guardian runs on your own machine — the client starts it, so there is no endpoint to ping. 224 installs a week from pypi. Last commit 12 Nov 2026.

40 turns: 1,130,722 tokens upstream -> 161,141. A fail-open compaction proxy for local models.

Installs per day peak 388 · avg 80 · -51% w/w
a month agotoday
224
Installs / week
pypi · context-guardian
2
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 context-guardian -- uvx context-guardian mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "context-guardian": {
      "command": "uvx",
      "args": [
        "context-guardian",
        "mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.context-guardian]
command = "uvx"
args = ["context-guardian", "mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "context-guardian": {
      "command": "uvx",
      "args": [
        "context-guardian",
        "mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "context-guardian": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "context-guardian",
        "mcp"
      ]
    }
  }
}

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.

        proc = subprocess.run(argv, input=stdin_text, capture_output=True,  # nosec B603
Runs an external command index.js:138, launch.mjs:30
    const child = spawn(this.options.python, [BRIDGE_SCRIPT], {
        env = dict(os.environ)

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 Context Guardian

same job, measured the same way
Nx MCP
by nrwl

A Model Context Protocol server implementation for Nx

79 863 installs/wk local only
Kubernetes MCP Server
by containers

A Model Context Protocol (MCP) server for Kubernetes and OpenShift

55 383 installs/wk local only
MCP Server Tauri
by hypothesi

A Model Context Protocol server for use with Tauri v2 applications

28 351 installs/wk local only
Maskera MCP
by joelhagvall

Local Swedish PII redaction MCP server, LLM proxy, and guard CLI for AI agents.

3 008 installs/wk local only
Token Context MCP
by mck564

On-demand, local code-context MCP server for AI coding agents with Tree-sitter AST.

1 258 installs/wk local only
prompt-protection
by mughalhere

Scan prompts, tool definitions and model output for injection, and guard agent tool calls.

1 033 installs/wk local only
ctx-profiler
by cuhawk

MECE token waste profiler and compaction simulator for Claude Code, Codex, Cline & OpenClaw logs.

696 installs/wk local only
mcp-broker
by doricstack

Local MCP broker that exposes one compact entry for many upstream servers.

352 installs/wk local only

Context Guardian — questions

Answers built from our own checks of this server.

Why is there no uptime for Context Guardian?
Context 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 context-guardian was installed 224 times last week.
How do I connect Context 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 context-guardian straight from pypi; nothing to host, nothing to sign up for.
How many people use Context Guardian?
The pypi package context-guardian was installed 224 times in the last week. Week over week that is -51%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Context Guardian open source?
Yes — it is published under the MIT licence, written in Python and 2 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.