Code Firewall MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 77 installs a week from pypi. Last commit 19 Jan 2026.
Structural similarity-based code filter. Stops malicious code pattern reaching execution tools.
We read the source, 18 h ago · rules 3dff92dd89df
A value the model can set ends up inside a file or shell call. That is not a flaw by itself — for a terminal server it is the job — but it is where things go wrong when it is not.
install_proc = subprocess.run(
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
That is not a flaw by itself — but it is where things go wrong when it is not the job. We re-read this code on every release. Watch it and you hear from us the day another one appears.
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-firewall-mcp -- uvx code-firewall-mcp
{
"mcpServers": {
"code-firewall-mcp": {
"args": [
"code-firewall-mcp"
],
"command": "uvx"
}
}
}
[mcp_servers.code-firewall-mcp]
command = "uvx"
args = ["code-firewall-mcp"]
{
"mcpServers": {
"code-firewall-mcp": {
"args": [
"code-firewall-mcp"
],
"command": "uvx"
}
}
}
{
"mcpServers": {
"code-firewall-mcp": {
"args": [
"code-firewall-mcp"
],
"command": "uvx"
}
}
}
This one needs environment variables set before it will start:
FIREWALL_DATA_DIR (Directory for storing ChromaDB data), OLLAMA_URL (URL for Ollama server (default: http://localhost:11434)), EMBEDDING_MODEL (Ollama embedding model (default: nomic-embed-text)), SIMILARITY_THRESHOLD (Block threshold 0-1 (default: 0.85)).
The author declared them in the registry entry; get the values from the project itself.
Structural code-quality tools for AI coding agents.
Structural codebase indexer with 17 query tools. 87% token reduction. Zero dependencies.
US law MCP: bills, US Code, Federal Register, executive orders, case law (state+federal), eCFR
Wraps Codex CLI as MCP tools: codex, review, query, search, structured, ping, listSessions.
Wraps Claude Code CLI as MCP tools: query, search, structured, ping, listSessions.
Invoke CLI agents (Codex, Claude, OpenCode) as MCP tools with parallel execution
Code review as an MCP server — structured reviews with OWASP security scanning.
Zero-LLM structural code retrieval for AI coding agents, served over MCP.
Answers built from our own checks of this server.