Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

Compiler Explorer

REMOTE · GODBOLT.ORG · SCANNED AUG 20

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

Available components

63 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically against the live server, and we only credit what we can confirm. How we score →

Endpoint Security57
Transport & Reachability100
Schema Quality & AI Usability73
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 1081 tokens (~154/item across 7 items; 7 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management7
  • Stability observed for 2 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

remote · godbolt.org

# add to Claude Code
claude mcp add --transport http compiler-explorer-compiler-explorer https://godbolt.org/mcp
# ~/.codex/config.toml
[mcp_servers.compiler-explorer-compiler-explorer]
url = "https://godbolt.org/mcp"
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "compiler-explorer-compiler-explorer": {
      "type": "remote",
      "url": "https://godbolt.org/mcp",
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add compiler-explorer-compiler-explorer --url https://godbolt.org/mcp --transport streamable-http
# ~/.hermes/config.yaml
mcp_servers:
  compiler-explorer-compiler-explorer:
    url: "https://godbolt.org/mcp"
// mcp.json
{
  "mcpServers": {
    "compiler-explorer-compiler-explorer": {
      "type": "http",
      "url": "https://godbolt.org/mcp"
    }
  }
}

The mcpServers block is a cross-client convention. Remote transports vary, so check your client's docs.

Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 19 Aug 26 +1
    • Stability: unverified → 0.03 functional
  • 18 Aug 26 62

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 20 Aug 2026 · Probed https://godbolt.org/mcp

TLS valid

Negotiated TLS 1.3 with TLS_AES_128_GCM_SHA256 .

Subject Issuer Valid from Valid until Key Signature Serial
CN=godbolt.org CN=Amazon RSA 2048 M04,O=Amazon,C=US 23 Jun 2026 6 Jan 2027 RSA 2048 SHA256-RSA 49c41206ff97537c9e6d5d263f83d0d
SANs: godbolt.org, *.godbo.lt, *.compiler-explorer.com, godbo.lt, compiler-explorer.com, *.godbolt.org
CN=Amazon RSA 2048 M04,O=Amazon,C=US (CA) CN=Amazon Root CA 1,O=Amazon,C=US 23 Aug 2022 23 Aug 2030 RSA 2048 SHA256-RSA 773124f2a952e3ed18a58bdb85d1bc0ce5f27
CN=Amazon Root CA 1,O=Amazon,C=US (CA) CN=Starfield Services Root Certificate Authority - G2,O=Starfield Technologies\, Inc.,L=Scottsdale,ST=Arizona,C=US 25 May 2015 31 Dec 2037 RSA 2048 SHA256-RSA 67f944a2a27cdf3fac2ae2b01f908eeb9c4c6
DNSSEC insecure

Validation of godbolt.org. Not signed

Zone DS Keys Algorithms Outcome
. trust_anchor 20326, 38696 8, 8 Verified
org. present 26974 8 Verified
godbolt.org. absent Unsigned (proven) parent-signed NSEC/NSEC3 proves an unsigned delegation
Authentication No authorisation required

The endpoint answered without asking for a token. Anyone who knows the URL can reach it.

Result No authorisation required
HTTP status 200
Transports 2 probes
Transport URL Outcome Status Location
streamable-http https://godbolt.org/mcp Verified 200
http (plaintext) http://godbolt.org/mcp HTTPS enforced 301 https://godbolt.org/mcp
MCP tools · 7 exposed · ~1,081 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
compile ~257

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

NameTypeReqDescription
compilerstringCompiler ID from list_compilers (e.g. "g161"). If omitted, uses the language's `defaultCompiler` from list_languages.
executebooleanRun the program instead of returning assembly. `asm` becomes empty; runtime output goes to top-level `stdout`/`stderr`; compile diagnostics move to `buildResult.stdout`/`stderr`.
filtersobjectOutput filters
languagestringyesLanguage ID (e.g. "c++", "c", "rust", "python")
librariesarrayLibraries to link.
maxAsmLinesintegerCap asm output (default 500 lines).
maxStderrLinesintegerCap each stderr stream — compile and execute separately (default 100).
maxStdoutLinesintegerCap each stdout stream — compile and execute separately (default 100).
optionsstringCompiler flags (e.g. "-O2 -std=c++20 -Wall")
sourcestringyesSource code to compile
stdinstringStandard input for execution (requires execute=true)

No output schema declared.

No examples provided.

generate_short_url ~109

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

NameTypeReqDescription
compilerstringyesCompiler ID from list_compilers (e.g. "g161", "clang_trunk")
languagestringyesLanguage ID (e.g. "c++", "c", "rust")
librariesarrayLibraries to include.
optionsstringCompiler flags (e.g. "-O2 -std=c++20")
sourcestringyesSource code

No output schema declared.

No examples provided.

get_shortlink_info ~120

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.

NameTypeReqDescription
idstringyesShort link ID or full URL (e.g. "G38YP7eW4" or "https://godbolt.org/z/G38YP7eW4")

No output schema declared.

No examples provided.

list_compilers ~355

List available compilers, optionally filtered by language

NameTypeReqDescription
includeExperimentalbooleanWith `latestPerMajor: true`, also include experimental compilers (c++ proposal forks, llvm-mos platform variants). Off by default — bloats "newest X" answers.
instructionSetstringTarget architecture filter. Combine with `latestPerMajor: true` for "newest X for arch Y" (e.g. `{language:"c++", instructionSet:"amd64", latestPerMajor:true}`).
languagestringLanguage ID to filter by (e.g. "c++", "rust", "python")
latestPerMajorboolean"Newest X" filter. By release track (stable/nightly/prerelease/experimental): newest stable per (language, instructionSet, semver major); all nightly + prerelease; experimental skipped unless `includ…
leanbooleanForce id+name only, regardless of count. Useful to browse the catalog before drilling in.
matchstringCase-insensitive AND-of-tokens filter on id and name. Punctuation splits tokens; numeric tokens match whole-word ("gcc 14.1" matches "14.1.0" not "14.10"); alphanumeric tokens substring-match ("g14"…
maxResultsintegerCap full-detail entries (default 25). Beyond the cap, degrades to lean (id+name only) with a refinement hint.

No output schema declared.

No examples provided.

list_languages ~24

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

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

list_libraries ~152

List available libraries for a given programming language

NameTypeReqDescription
languagestringyesLanguage ID (e.g. "c++", "rust")
leanbooleanForce id+name only, regardless of count. Useful to browse the catalog before drilling in.
matchstringCase-insensitive AND-of-tokens filter on id, name, and version strings (so "boost 1.88" finds Boost when one of its versions matches 1.88.x). Numeric tokens match version-prefix; alphanumeric substri…
maxResultsintegerCap full-detail entries (default 25). Beyond the cap, degrades to lean (id+name only) with a refinement hint.

No output schema declared.

No examples provided.

lookup_asm_instruction ~64

Look up documentation for an assembly instruction

NameTypeReqDescription
instruction_setstringyesInstruction set architecture (no default — must match the asm dialect being looked up).
opcodestringyesAssembly instruction mnemonic (e.g. "MOV", "ADD", "JMP")

No output schema declared.

No examples provided.