Python Code Validator
by statemind.ai in Developer tools
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
Reliability
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
| When | Result | HTTP | Time |
|---|---|---|---|
| 10 h ago | Passed | 200 | 213 ms |
| 19 h ago | Passed | 200 | 105 ms |
| 29 h ago | Passed | 200 | 106 ms |
| 39 h ago | Passed | 200 | 100 ms |
| 2 days ago | Passed | 200 | 158 ms |
Show 10 older checks
| 2 days ago | Passed | 200 | 106 ms |
| 3 days ago | Passed | 200 | 135 ms |
| 3 days ago | Passed | 200 | 186 ms |
| 4 days ago | Passed | 200 | 117 ms |
| 4 days ago | Passed | 200 | 161 ms |
| 4 days ago | Passed | 200 | 319 ms |
| 5 days ago | Passed | 200 | 164 ms |
| 5 days ago | Passed | 200 | 113 ms |
| 6 days ago | Passed | 200 | 168 ms |
| 6 days ago | Passed | 200 | 111 ms |