Compiler Explorer MCP server
Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links
19k stars
Reviews
Write oneNobody has reviewed Compiler Explorer yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Compiler Explorer tools (7, 1 write)
write = sends, deletes, buys or postscompileFreeCompile source code and return assembly output, stdout, and stderr
generate_short_urlwrite actionFreeCreate a Compiler Explorer short URL for sharing code with compiler settings
get_shortlink_infoFreeRetrieve 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.
list_compilersFreeList available compilers, optionally filtered by language
list_languagesFreeList supported languages. Each entry has `defaultCompiler` and `compilerCount`.
list_librariesFreeList available libraries for a given programming language
lookup_asm_instructionFreeLook up documentation for an assembly instruction
Public scan report
scanner v0.1.9 · 2026-09-23 · same rubric, same numbers if you re-run it
- –Code scanremote-only server, no package to scann/a
- Live reliabilityremote reachable in 1089ms20/20
- Tool poisoning7 tool descriptions checked15/15
- Auth qualityopen endpoint exposes 1 write-action tools with no auth3/15
- Maintenancelast push 1 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
Findings (1)
- highWrite-action tools reachable without authentication
auth.open-write
What the publisher says
From the Compiler Explorer repository's README, as published. We do not edit it. Read it on GitHub
Compiler Explorer
Compiler Explorer is an interactive compiler exploration website. Edit code in C, C++, C#, F#, Rust, Go, D, Haskell, Swift, Pascal, ispc, Python, Java, or any of the other 30+ supported languages, and see how that code looks after being compiled in real time.
Bug Report · Compiler Request · Feature Request · Language Request · Library Request · Report Vulnerability
Overview
Multiple compilers are supported for each language, many different tools and visualizations are available, and the UI layout is configurable (thanks to GoldenLayout).
Try out at godbolt.org, or run your own local instance. An overview of what the site lets you achieve, why it's useful, and how to use it is available here, or in this talk.
Compiler Explorer follows a Code of Conduct which aims to foster an open and welcoming environment.
Compiler Explorer was started in 2012 to show how C++ constructs are translated to assembly code. It started as a tmux session with vi running in one pane and watch gcc -S foo.cc -o - running in the other.
Since then, it has become a public website serving over 3,000,000 compilations per week.
You can financially support this project on Patreon, GitHub, Paypal, or by buying cool gear on the Compiler Explorer store.
Using Compiler Explorer
FAQ
There is now a FAQ section in the repository wiki. If your question is not present, please contact us as described below, so we can help you. If you find that the FAQ is lacking some important point, please feel free to contribute to it and/or ask us to clarify it.
Videos
Several videos showcase some features of Compiler Explorer:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
claude mcp add --transport http compiler-explorer https://godbolt.org/mcp
Compiler Explorer: common questions
- Is Compiler Explorer MCP server safe?
- Mostly: it is graded B (83/100). Read the Compiler Explorer safety report
- How do I install Compiler Explorer?
- It runs remotely at godbolt.org. Add it to Claude Code, Claude Desktop or Cursor with the snippets above, or call it through the mcp.market gateway without installing anything.
- Does Compiler Explorer need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Compiler Explorer maintained?
- The last commit was 2 days ago (2026-09-22). The latest release is v1.0.0.
- Is Compiler Explorer up?
- 100% of our last 19 checks got an answer. We check remote servers about four times a day.
- What can I use instead of Compiler Explorer?
- Servers from other publishers that do the same job: Music Studio MCP server.
Alternatives to Compiler Explorer
Same job from other publishers: the closest match first, then the best rated.
Music StudioABC sheet music + Strudel live coding studio with ext-apps widgets, harmony tools, and share links.not reviewedEstablishedB