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?
| Integration | Works with | Status |
|---|---|---|
| WordPress plugin | WordPress 6.3 or later, PHP 7.4 or later | In review |
| Docusaurus plugin | Docusaurus 3 with the classic theme | Live |
| MkDocs plugin | MkDocs 1.5 or later and Material for MkDocs, Python 3.10 or later | Live |
| Moodle plugin for CodeRunner | Moodle 4.3 to 5.3 with the CodeRunner question type | In review |
| Node.js client | Node.js 22.13 or later, Deno, Bun and Cloudflare Workers, with TypeScript types | Live |
| Python client | Python 3.10 or later | Live |
| MCP server | claude.ai, Claude Desktop, Claude Code, ChatGPT, Codex, VS Code and other MCP clients | Live |
| Claude Code plugin | Claude Code | Live |
| Gemini CLI extension | Gemini CLI | Live |
| Vercel AI SDK tools | Vercel AI SDK 5 or later, in Node.js | Live |
| React code editor | React or Next.js | Live |
| Online judge starter | Next.js (App Router, TypeScript) | Live |
| Classroom autograder | GitHub Actions | Live |
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 reviewOnlineCompiler.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.
- How to add an online compiler to WordPress
- Source on GitHub
- Licence: GPL-2.0-or-later
Docusaurus plugin
Livedocusaurus-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.
npm install docusaurus-plugin-onlinecompilerMkDocs plugin
Livemkdocs-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.
pip install mkdocs-onlinecompilerLearning platforms
Programming quizzes and exams in your LMS, with the code run in a hosted sandbox.
Moodle plugin for CodeRunner
In reviewOnlineCompiler.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.
- Moodle CodeRunner setup
- Source on GitHub
- Licence: GPL-3.0-or-later
API clients
Run code and judge it against tests from your own server, in a few lines.
Node.js client
Liveonlinecompiler
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.
npm install onlinecompiler- Node.js client docs
- npm
- Source on GitHub
- Licence: MIT
Python client
Liveonlinecompiler
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.
pip install onlinecompiler- Python client docs
- PyPI
- Source on GitHub
- Licence: MIT
AI assistants and agents
Let an AI model run the code it writes and check it against tests, in a sandbox.
MCP server
LiveA 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.
https://api.onlinecompiler.io/mcp- MCP code execution
- Source on GitHub
- Licence: MIT
Claude Code plugin
LiveInstalls the MCP server in Claude Code from our plugin marketplace.
Works with Claude Code. Live in our Claude Code plugin marketplace.
/plugin marketplace add onlinecompiler-io/onlinecompiler-mcp
/plugin install onlinecompiler@onlinecompiler- MCP code execution
- Source on GitHub
- Licence: MIT
Gemini CLI extension
LiveInstalls the MCP server in Gemini CLI with one command.
Works with Gemini CLI. Live: installs from GitHub.
gemini extensions install https://github.com/onlinecompiler-io/onlinecompiler-mcp- MCP code execution
- Source on GitHub
- Licence: MIT
Vercel AI SDK tools
Liveonlinecompiler/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.
npm install onlinecompiler ai- Vercel AI SDK tools docs
- npm
- Source on GitHub
- Licence: MIT
Starter templates
Working projects to fork, each calling the API the way a real app should.
React code editor
LiveA 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
LiveA 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.
- How to build an online judge
- Source on GitHub
- Licence: MIT
Classroom autograder
LiveAn 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.
- Auto-grading without GitHub Classroom
- Source on GitHub
- Licence: MIT
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:
- Judge0 clients: see migrating from Judge0 and the Judge0-compatible API.
- Piston clients: see the Piston API alternative and the Piston-compatible API.
- Moodle CodeRunner: see the hosted Jobe server and the Jobe API.
Which one should I use?
- Code examples readers can run in a blog or docs: the WordPress, Docusaurus or MkDocs plugin. On any other site, the embeddable code editor is one script tag.
- Programming quizzes and exams in Moodle: the Moodle plugin for CodeRunner.
- Your own app, judge or grader: the Node.js or Python client, or a starter template to fork.
- An AI assistant or agent that runs code: the MCP server, or the Vercel AI SDK tools in your own agent.
- A platform that isn't listed: ask us for an integration, and we'll build it free.
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.