Compiler Explorer is an MCP server with 7 tools an agent can call, among them compile, generate_short_url, get_shortlink_info. It answers at https://godbolt.org/mcp over streamable HTTP, and it listed its tools to an anonymous client, so no sign-in was needed for that. Our probes reached it 6 of 6 times since 11 September 2026; the last check, on 21 October 2026, succeeded.
Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links
Description as the publisher wrote it.
| Tool | What it does |
|---|---|
compile | Compile source code and return assembly output, stdout, and stderr Inputs: source, language, compiler, options, execute, stdin |
generate_short_url | Create a Compiler Explorer short URL for sharing code with compiler settings Inputs: source, language, compiler, options, libraries |
get_shortlink_info | 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-com Inputs: id |
list_compilers | List available compilers, optionally filtered by language Inputs: language, instructionSet, match, maxResults, lean, latestPerMajor |
list_languages | List supported languages. Each entry has `defaultCompiler` and `compilerCount`. |
list_libraries | List available libraries for a given programming language Inputs: language, match, maxResults, lean |
lookup_asm_instruction | Look up documentation for an assembly instruction Inputs: instruction_set, opcode |
Every block below points at https://godbolt.org/mcp. Pick your client and copy.
claude mcp add --transport http compiler-explorer https://godbolt.org/mcp
{
"mcpServers": {
"compiler-explorer": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://godbolt.org/mcp"]
}
}
}{
"mcpServers": {
"compiler-explorer": {
"url": "https://godbolt.org/mcp"
}
}
}{
"servers": {
"compiler-explorer": {
"type": "http",
"url": "https://godbolt.org/mcp"
}
}
}{
"context_servers": {
"compiler-explorer": {
"url": "https://godbolt.org/mcp"
}
}
}{
"mcpServers": {
"compiler-explorer": {
"serverUrl": "https://godbolt.org/mcp"
}
}
}{
"mcpServers": {
"compiler-explorer": {
"url": "https://godbolt.org/mcp"
}
}
}name: Compiler Explorer
version: 0.0.1
schema: v1
mcpServers:
- name: Compiler Explorer
type: streamable-http
url: https://godbolt.org/mcp{
"mcpServers": {
"compiler-explorer": {
"httpUrl": "https://godbolt.org/mcp"
}
}
}{
"mcpServers": {
"compiler-explorer": {
"type": "http",
"url": "https://godbolt.org/mcp"
}
}
}{
"mcpServers": {
"compiler-explorer": {
"url": "https://godbolt.org/mcp"
}
}
}goose://extension?url=https%3A%2F%2Fgodbolt.org%2Fmcp&type=streamable_http&id=compiler-explorer&name=Compiler%20Explorer
It answered our last check on 21 October 2026 in 146 ms. Over 6 checks since 11 September 2026 it answered 6. Status here comes from Neuronto's own probes, not from the publisher.
7, as returned by the server's own tools/list on 13 September 2026: compile, generate_short_url, get_shortlink_info, list_compilers, list_languages, list_libraries, lookup_asm_instruction.
It answered our last check on 21 October 2026 in 146 ms. Over 6 checks since 11 September 2026 it answered 6.
Put the server under mcpServers in ~/.cursor/mcp.json with the URL https://godbolt.org/mcp. The exact JSON is above, with the same setup for Claude Code, Claude Desktop, VS Code, Windsurf, Zed, Gemini CLI and the rest.
It listed its tools to an anonymous client, so reading the tool list needs no key. Individual tools can still ask for credentials in their own inputs.
Publisher: io.github.compiler-explorer. Endpoint host: godbolt.org. ARD identifier: urn:air:io.github.compiler-explorer:mcp:compiler-explorer.
First indexed 10 September 2026. The tools are exactly what the server returned; nothing on this page
is inferred from its name. Ranking in Neuronto search is never for sale.