OnlineCompiler.io
Server Details
Run Python, Java, C, C++, C#, Go, Rust and 39 more languages, each run in a fresh, offline sandbox.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- onlinecompiler-io/onlinecompiler-mcp
- GitHub Stars
- 0
- Server Listing
- OnlineCompiler MCP Server
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 4 tools
run_code, run_tests, and judge_problem all execute code, so their boundaries are close, but the descriptions clearly distinguish raw execution, arbitrary test-case checking, and stored-problem judging. list_compilers is fully distinct.
All tools follow a consistent snake_case verb_noun pattern: judge_problem, list_compilers, run_code, run_tests. The verbs (judge, list, run) are appropriate and predictable.
Four tools is well-scoped for an online compiler/judge service: list languages, run a program, run tests, and judge against a stored problem. Each tool earns its place without redundancy.
Core execution and judging are covered, but there is no tool to list or inspect the user's stored problems, which judge_problem depends on, and no submission retrieval/history operation. These gaps create dead ends for discovery and follow-up.
Publisher details
- Operator
- MicroPyramid
- Operator website
- https://onlinecompiler.io
- Vendor relationship
- First-party
- Documentation
- https://onlinecompiler.io/docs#mcp
- Privacy policy
- Not provided
- Trust center
- https://onlinecompiler.io/security
- Restrictions
- Free API key required; 100,000 runs a month free
Available Tools
4 toolsjudge_problemJudge a stored problemARead-onlyInspect
Judge code against one of your stored problems.
Runs the problem's tests and returns a verdict, a score, a summary, a submission id, a signed receipt, and the problem id and version. Hidden tests return only their verdict, never their input or expected output. It never invents results: if the problem is missing or the run fails, you get an error.
Inputs: code (required), problem (required), compiler (required), mode. Returns: object
list_compilersList compilersARead-onlyInspect
List all available compilers/languages supported by OnlineCompiler.io.
Returns a list of compiler objects with id and name. Use the id value as the compiler argument when calling run_code.
Inputs: no named parameters. Returns: result
run_codeRun codeARead-onlyInspect
Run one program in a sandbox and return its output.
Returns output, error, status, exit_code, time (wall-clock seconds), memory and truncated. Limited to 30 seconds (or time_limit) and 512 MB RAM. To check a solution against expected outputs, use run_tests instead.
python-3.14 includes numpy, pandas, scipy, scikit-learn, matplotlib, seaborn, statsmodels,
sympy, openpyxl, pillow, duckdb, polars, wordcloud, pgmpy and nltk (with WordNet, VADER and the
English POS tagger data) (no network, so nothing else can be installed).
Files a program writes to the directory in $OUTPUT_DIR come back in files (png, svg, csv,
json and txt; up to 8 files and 2 MB): PNG charts are returned as images, and SVG, CSV, JSON
and text files with their text. plt.show() saves each open figure as figure-N.png, so
tutorial code returns its chart. Pass files to give the program input data or helper source files.
Inputs: code (required), compiler (required), files, input, +1 more.
run_testsRun testsARead-onlyInspect
Check a program against test cases and judge it like an online judge.
Takes at most 10 tests, each counting as one run. Every test runs unless the code fails
to compile or the request runs out of time. Returns an overall verdict, a score from 0
to 100 and a verdict per test. time_limit is seconds per test; compiling before the run
does not count against it, and Java, Groovy and F#, which compile as they start, get a
start-up allowance on top of it. python-3.14 includes numpy, pandas, scipy, scikit-learn,
matplotlib, seaborn, statsmodels, sympy, openpyxl, pillow, duckdb, polars, wordcloud, pgmpy
and nltk, and duckdb-1.5 works
like sqlite-3, so data questions can be judged with checker "rows" and shared files.
Files a program writes to $OUTPUT_DIR come back on visible tests only, as metadata.
Inputs: code (required), tests (required), compiler (required), files, +2 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Execute code in 8 languages (Python, JS, TS, Go, Java, C++, C, Bash) in gVisor sandboxes.
Build Apps and run code in 30 languages — sandboxed, with persistent sessions for agent loops.
Run Python code in a secure sandbox without local setup. Declare inline dependencies and execute s…
Run SQL on 30+ real database engines: MySQL, PostgreSQL, SQL Server, Oracle, SQLite and more.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceExecute code in 8 programming languages via gVisor-sandboxed Docker containers. Supports Python, JS, TS, Go, Java, C++, C, and Bash.2MIT- AlicenseNot gradedqualityDmaintenanceEnables secure cloud-based execution of code across 14+ programming languages within a sandboxed environment. It supports file management, standard input/output handling, and automatic generation of visual artifacts like plots and charts.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to run code in 24 programming languages on HackerEarth's sandboxed servers and read the printed output or errors, without installing local toolchains. It also lists supported languages with exact identifiers for use when submitting code.2MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to securely execute Python and C++ code snippets inside disposable, isolated Docker containers and receive structured results.31MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.