Drop-in, wire-compatible Judge0 code execution engine written in Rust using Linux isolate --cg.
Ships compile-once artifact caching, multi-case batch harnesses across 11 native fast languages,
Prometheus /metrics/prometheus, and a built-in MCP Streamable HTTP endpoint (POST /mcp).
docker run -d --name fastjudge0 --privileged -p 2358:2358 \
-e FASTJUDGE0_WORKERS=16 \
ghcr.io/arbazkhan971/fastjudge0:latest
{
"mcpServers": {
"fastjudge0": {
"type": "streamable-http",
"url": "http://127.0.0.1:2358/mcp"
}
}
}
from fastjudge0 import FastJudge0Client
c = FastJudge0Client("http://localhost:2358")
print(c.grade_test_cases("print(int(input())*2)", 71,
[{"stdin": "21\n", "expected_output": "42\n"}]))
io.github.arbazkhan971/fastjudge0)