# Statemind Python Code Validator MCP server

Source: https://glimind.com/server/mcp-registry%2Fai.statemind%2Fpython-code-validator
Registry id: `mcp-registry/ai.statemind/python-code-validator`
Status: live (checked 2026-10-27T01:41:57.021Z)

## Measurements (30 days)

- Uptime: 100%
- Checks: 4936
- Outages (90 days): 2

## Install

```json
{
  "mcpServers": {
    "statemind-python-code-validator-mcp-serv": {
      "type": "http",
      "url": "https://api.statemind.ai/mcp"
    }
  }
}
```

Claude Code:

```sh
claude mcp add --transport http statemind-python-code-validator-mcp-serv https://api.statemind.ai/mcp
```

## Tools (3)

- `execute_python`: Everything repair does, and then RUNS the code in a throwaway container — no network, read-only filesystem, killed at options.timeout_s — reporting exit code, s
- `repair_python`: Everything validation does, plus deterministic fixes: the corrected source comes back in fixed_code, and the original is kept whenever the fix cannot be proven 
- `validate_python`: Check Python source without running it: parse, lint (ruff), type-check (mypy), AST security policy, credential scan. Safe on code you do not trust. Use it on ev

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
