Compiler Explorer

io.github.compiler-explorer/compiler-explorer

Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links

Yes, your AI can use this right now.Answered a live MCP handshake in 321 ms with no sign-in needed and exposes 7 tools.

Connect it

Settings → Connectors → Add custom connector
URL: https://godbolt.org/mcp

7 tools, verified live

Pulled straight from the server with tools/list on 2026-10-17.
compileread-only

Compile source code and return assembly output, stdout, and stderr

list_compilersread-only

List available compilers, optionally filtered by language

list_languagesread-only

List supported languages. Each entry has `defaultCompiler` and `compilerCount`.

list_librariesread-only

List available libraries for a given programming language

lookup_asm_instructionread-only

Look up documentation for an assembly instruction

generate_short_url

Create a Compiler Explorer short URL for sharing code with compiler settings

get_shortlink_inforead-only

Retrieve source and compiler config from a CE short URL. Compiler entries are returned in the `compile` tool's shape ({compiler, options, libraries:[{id, version}]}). Multi-pane shortlinks (executors, conformance views, CMake trees, per-compiler filters/tools) are flattened — only the basic compile inputs survive.

Alternatives in Developer Tools

Compare →
Try “Notion”, “Stripe”, “create invoice”, “browser”