Skip to main content
Glama

Server Details

Run Python, Java, C, C++, C#, Go, Rust and 39 more languages, each run in a fresh, offline sandbox.

Ownership verified
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

A4.2/5.0

Scored across 4 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness3/5

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
Vendor relationship
First-party
Privacy policy
Not provided
Restrictions
Free API key required; 100,000 runs a month free

Available Tools

4 tools
judge_problemJudge a stored problemA
Read-only
Inspect

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 compilersA
Read-only
Inspect

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 codeA
Read-only
Inspect

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 testsA
Read-only
Inspect

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

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Execute code in 8 programming languages via gVisor-sandboxed Docker containers. Supports Python, JS, TS, Go, Java, C++, C, and Bash.
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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
    • A
      license
      A
      quality
      B
      maintenance
      Enables 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.
      2
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.