Skip to content
Back to search
100
MCP live MCP 2025-06-18 streamable-http

Python Code Validator

ai.statemind/python-code-validator

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

Watch this dependency

Get before/after evidence when observed tools, schemas, authentication access, availability or the endpoint changes.

Inspect evidence and set up a watch Share public evidence report
Uptime
100.0%
5 direct probes · 30d
Response
117ms
last probe
Tools
3
callable
Resources
0
readable
Prompts
0
available
Score: 100/100
Handshake verified by our own probe.
why this score
pass Answers the MCP handshake 50/50
The handshake and the list calls succeeded on the primary URL.
pass Lists tools, resources or prompts 30/30
3 tools, 0 resources, 0 prompts returned.
pass 3 or more catalogue items 10/10
3 items in total; 3 or more earns these points.
pass Describes itself 10/10
96 characters; more than 30 earns these points.

Tools · 3

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,…

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 i…

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 …

How to use

Add to your Claude Desktop / Cursor / Cline MCP config:

{
  "mcpServers": {
    "python_code_validator": {
      "url": "https://api.statemind.ai/mcp",
      "transport": "streamable-http"
    }
  }
}