Compiler Explorer

by @compiler-explorer · io.github.compiler-explorer/compiler-explorer

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

OnlineRemote
Category
Developer tools
Connection
Remote (HTTP)
Tools
7 reported
Status
Online

Connect it to your AI

Claude Code

claude mcp add --transport http compiler-explorer https://godbolt.org/mcp

Claude, ChatGPT, Cursor and other apps

Add it as a custom connector with this URL (Streamable HTTP):

https://godbolt.org/mcp

Cursor, VS Code and other apps (mcp.json)

{
  "mcpServers": {
    "compiler-explorer": {
      "url": "https://godbolt.org/mcp"
    }
  }
}

Tools it offers

7 tools, as the server itself reported during our check on Oct 31, 2026.

  • compileCompile source code and return assembly output, stdout, and stderr
  • list_compilersList available compilers, optionally filtered by language
  • list_languagesList supported languages. Each entry has `defaultCompiler` and `compilerCount`.
  • list_librariesList available libraries for a given programming language
  • lookup_asm_instructionLook up documentation for an assembly instruction
  • generate_short_urlCreate a Compiler Explorer short URL for sharing code with compiler settings
  • get_shortlink_infoRetrieve 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,

Questions

What is the Compiler Explorer MCP server?

Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links. It is made by @compiler-explorer and listed in the official MCP Registry as io.github.compiler-explorer/compiler-explorer. MCP (Model Context Protocol) is the open standard that lets AI apps like Claude, ChatGPT and Cursor use outside tools.

How do I add Compiler Explorer to Claude?

In the Claude app or claude.ai, open Settings, then Connectors, choose "Add custom connector" and paste https://godbolt.org/mcp. In Claude Code, run: claude mcp add --transport http compiler-explorer https://godbolt.org/mcp

How do I add Compiler Explorer to ChatGPT?

ChatGPT can use remote MCP servers as connectors. In ChatGPT settings, under Apps and Connectors, turn on developer mode if asked, create a new connector and paste https://godbolt.org/mcp.

How do I add Compiler Explorer to Cursor?

Open Cursor settings, go to MCP, choose "Add new MCP server" (or edit ~/.cursor/mcp.json) and add: { "mcpServers": { "compiler-explorer": { "url": "https://godbolt.org/mcp" } } }

Does Compiler Explorer work right now?

Yes. It responded when we last checked on 31 Oct 2026. We check remote MCP servers every day.

What can Compiler Explorer do?

It gives your AI 7 tools, including compile, list_compilers, list_languages, list_libraries, lookup_asm_instruction. The full list is on this page.

Is this your server? Get the badge for your README
chen.media/mcp badge

Markdown (GitHub README)

[![Listed on chen.media/mcp](https://chen.media/mcp/badge/github-compiler-explorer-compiler-explorer.svg)](https://chen.media/mcp/github-compiler-explorer-compiler-explorer)

HTML (switches to dark mode on its own)

<a href="https://chen.media/mcp/github-compiler-explorer-compiler-explorer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://chen.media/mcp/badge/github-compiler-explorer-compiler-explorer.svg?theme=dark"><img src="https://chen.media/mcp/badge/github-compiler-explorer-compiler-explorer.svg" alt="Listed on chen.media/mcp" height="40"></picture></a>

More in Developer tools

See all