83trust / 100

Python Code Validator

by statemind.ai in Developer tools

MCP serverPassing, checked 10 h ago

Proves AI-generated Python does what you asked: lint, types, security, sandbox run, exact fixes.

https://api.statemind.ai/mcp
Tools
3
open to any client
Uptime
100%
last 30 days
Response time
136 ms
319 ms slowest 5%
Last check
Passed
10 h ago, next any minute now

Scan it nowHow to connect

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to connect

Add it to any MCP client that supports remote servers.

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

3 tools

  • 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 every Python file you generated or edited, before writing it to disk. Alternatives: repair_python to get the corrected…

  • 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 safe. The code is still never run. Use it when validation failed and you want the fix rather than the diagnosis…

  • 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, stdout and stderr. Any '>>>' examples in the code are run too, and one that does not print what it says is an error the…

Security scan

1 finding

  • Unusually long description in tool:execute_python
    execute_python (execute python) Everything repair does, and then RUNS the code i…

Recent checks

WhenResultHTTPTime
10 h agoPassed200213 ms
19 h agoPassed200105 ms
29 h agoPassed200106 ms
39 h agoPassed200100 ms
2 days agoPassed200158 ms
Show 10 older checks
2 days agoPassed200106 ms
3 days agoPassed200135 ms
3 days agoPassed200186 ms
4 days agoPassed200117 ms
4 days agoPassed200161 ms
4 days agoPassed200319 ms
5 days agoPassed200164 ms
5 days agoPassed200113 ms
6 days agoPassed200168 ms
6 days agoPassed200111 ms