onlinecompiler.io

OnlineCompiler.io plugins and integrations

Free plugins put runnable code into WordPress posts, Moodle quizzes and Docusaurus or MkDocs docs. Clients for Node.js and Python, an MCP server for AI assistants, and starter templates cover your own apps. Each one runs code on OnlineCompiler.io in a sandbox, in any of 46 languages, and its source code is public on GitHub. Need one for another platform? Ask, and we build it free.

Which plugins and integrations are there?

IntegrationWorks withStatus
WordPress pluginWordPress 6.3 or later, PHP 7.4 or laterIn review
Docusaurus pluginDocusaurus 3 with the classic themeLive
MkDocs pluginMkDocs 1.5 or later and Material for MkDocs, Python 3.10 or laterLive
Moodle plugin for CodeRunnerMoodle 4.3 to 5.3 with the CodeRunner question typeIn review
Node.js clientNode.js 22.13 or later, Deno, Bun and Cloudflare Workers, with TypeScript typesLive
Python clientPython 3.10 or laterLive
MCP serverclaude.ai, Claude Desktop, Claude Code, ChatGPT, Codex, VS Code and other MCP clientsLive
Claude Code pluginClaude CodeLive
Gemini CLI extensionGemini CLILive
Vercel AI SDK toolsVercel AI SDK 5 or later, in Node.jsLive
React code editorReact or Next.jsLive
Online judge starterNext.js (App Router, TypeScript)Live
Classroom autograderGitHub ActionsLive

All of them are free and open source, in the onlinecompiler-io organization on GitHub, so you can read exactly what each one sends. The website and docs plugins use a free widget key, made to sit in public pages. The clients use an API key kept on your server, and the MCP server takes a sign-in or an API key.

Need an integration that isn't here?

These are the integrations we have today, and the list grows with what people ask for. If you need OnlineCompiler.io in a platform we don't cover yet, such as another learning platform, docs tool, website builder, CMS or AI agent framework, tell us and we'll build the integration for you, free of charge. We publish it as open source in our GitHub organization and list it on this page, so everyone on that platform can use it too.

To ask, write to hello@onlinecompiler.io or use the contact page, with:

  • the platform, and the version you use;
  • what your readers, students or users should be able to do: run code examples, solve graded exercises, take an exam, or let an AI agent run the code it writes;
  • a link to your site or course, if it is public.

We reply to every request and tell you what we can build. The integration costs nothing; the code it runs uses your OnlineCompiler.io account, whose free plan has 100,000 runs a month with no credit card.

Some platforms need no new plugin. Sphinx, Mintlify and other docs tools already work with the widget, as runnable code examples in docs shows, and any site that can add a script tag can use the embeddable code editor today.

Plugins for websites and docs

Runnable code examples in your posts and docs: readers edit the code and run it in the page, with no account.

WordPress plugin

In review

OnlineCompiler.io Code Runner

Adds a Code runner block and an [onlinecompiler] shortcode, so readers can edit and run code examples in a post.

Works with WordPress 6.3 or later, PHP 7.4 or later. In review for the WordPress.org plugin directory. Install the ZIP from GitHub today.

Docusaurus plugin

Live

docusaurus-plugin-onlinecompiler

Write runnable after a code block's language (```python runnable) and the block becomes an editor readers can run.

Works with Docusaurus 3 with the classic theme. Live on npm.

Terminal
npm install docusaurus-plugin-onlinecompiler

MkDocs plugin

Live

mkdocs-onlinecompiler

The same runnable word on a code block, also inside admonitions, content tabs and snippets.

Works with MkDocs 1.5 or later and Material for MkDocs, Python 3.10 or later. Live on PyPI.

Terminal
pip install mkdocs-onlinecompiler

Learning platforms

Programming quizzes and exams in your LMS, with the code run in a hosted sandbox.

Moodle plugin for CodeRunner

In review

OnlineCompiler.io for CodeRunner

Paste an API key and it points CodeRunner at our hosted Jobe server, tests the connection, and can switch back to your own server.

Works with Moodle 4.3 to 5.3 with the CodeRunner question type. Submitted to the Moodle Marketplace. Install the ZIP from GitHub today.

API clients

Run code and judge it against tests from your own server, in a few lines.

Node.js client

Live

onlinecompiler

Run code, judge it against test cases, and verify webhooks and signed receipts, with no dependencies.

Works with Node.js 22.13 or later, Deno, Bun and Cloudflare Workers, with TypeScript types. Live on npm.

Terminal
npm install onlinecompiler

Python client

Live

onlinecompiler

The same methods from Python: run code, judge it against test cases, and verify webhooks and signed receipts.

Works with Python 3.10 or later. Live on PyPI.

Terminal
pip install onlinecompiler

AI assistants and agents

Let an AI model run the code it writes and check it against tests, in a sandbox.

MCP server

Live

A hosted Model Context Protocol server: point your MCP client at the URL and sign in, or send an API key.

Works with claude.ai, Claude Desktop, Claude Code, ChatGPT, Codex, VS Code and other MCP clients. Hosted: nothing to install.

MCP server URL
https://api.onlinecompiler.io/mcp

Claude Code plugin

Live

Installs the MCP server in Claude Code from our plugin marketplace.

Works with Claude Code. Live in our Claude Code plugin marketplace.

In Claude Code
/plugin marketplace add onlinecompiler-io/onlinecompiler-mcp
/plugin install onlinecompiler@onlinecompiler

Gemini CLI extension

Live

Installs the MCP server in Gemini CLI with one command.

Works with Gemini CLI. Live: installs from GitHub.

Terminal
gemini extensions install https://github.com/onlinecompiler-io/onlinecompiler-mcp

Vercel AI SDK tools

Live

onlinecompiler/ai-sdk

Ready-made code execution tools for generateText and streamText, from the Node.js client.

Works with Vercel AI SDK 5 or later, in Node.js. Live on npm, in the Node.js client.

Terminal
npm install onlinecompiler ai

Starter templates

Working projects to fork, each calling the API the way a real app should.

React code editor

Live

A code editor with a language menu, an input box and a Run button; the API key stays on your server.

Works with React or Next.js. On GitHub.

Online judge starter

Live

A small LeetCode-style practice site: Run on the sample tests, Submit on samples plus hidden tests, and a verdict for each test.

Works with Next.js (App Router, TypeScript). On GitHub.

Classroom autograder

Live

An assignment template that grades student code on every push and puts the score in the job summary, without GitHub Classroom.

Works with GitHub Actions. On GitHub.

Does it work with code written for Judge0, Piston or Jobe?

Yes, without a plugin. The API also answers in the shapes those three use, so existing code keeps working with a new base URL and key:

Which one should I use?

Frequently asked questions

Does OnlineCompiler.io have a WordPress plugin?

Yes. OnlineCompiler.io Code Runner adds a Code runner block and an [onlinecompiler] shortcode, so readers can edit and run code examples in a post. It is in review for the WordPress.org plugin directory; until it is listed, install the ZIP from GitHub.

How do I make code examples runnable in Docusaurus or MkDocs?

Install docusaurus-plugin-onlinecompiler from npm or mkdocs-onlinecompiler from PyPI, add your widget key to the config, and write runnable after a code block's language (```python runnable). Readers can then edit the code and run it in the page.

Is there a Moodle plugin for CodeRunner?

Yes. OnlineCompiler.io for CodeRunner is a Moodle admin tool: paste an API key and it sets CodeRunner's Jobe server and Jobe API key, tests the connection, and can put your own Jobe settings back. Without the plugin, the same two settings can be typed in by hand.

Is there an MCP server for running code?

Yes, a hosted one at https://api.onlinecompiler.io/mcp. Claude, ChatGPT, Codex, VS Code and other MCP clients connect to it by URL, with a sign-in or an API key. There is also a Claude Code plugin and a Gemini CLI extension that install it.

Are the plugins and clients free?

Yes, all of them, and their code is public on GitHub. Running code uses your OnlineCompiler.io account, whose free plan has 100,000 runs a month with no credit card.

Which languages do they run?

All 46: Python, C, C++, Java, C#, F#, Go, Rust, PHP, Ruby, Haskell, TypeScript, JavaScript, SQL, DuckDB, Bash, Fortran, Visual Basic, Kotlin, R, Swift, COBOL, Perl, Julia, Pascal, Octave, Assembly, Lua, OCaml, Common Lisp, Erlang, Elixir, Prolog, D, FreeBASIC, Dart, Clojure, Groovy, Scala, Zig, Nim, Crystal, Ada, PowerShell, Racket, Objective-C.

Can you build an integration for my platform?

Yes, free of charge. Write to hello@onlinecompiler.io with the platform, the version you use and what your users should be able to do. We publish each new integration as open source and list it on this page. Running code through it uses your OnlineCompiler.io account, whose free plan has 100,000 runs a month.