Compiler Explorer MCP server
online · 100% uptimeio.github.compiler-explorer/compiler-explorer·v1.0.0·19k starsCompile 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.10 · 2026-11-03 · same rubric, same numbers if you re-run it
- –Code scanremote-only server, no package to scann/a
- Live reliabilityremote reachable in 760ms20/20
- Tool poisoning7 tool descriptions checked15/15
- Auth qualityopen endpoint exposes 1 write-action tools with no auth3/15
- Maintenancelast push 0 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
How Compiler Explorer compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 65% of 48,114 servers
- Tools
- 7
- the typical server has 7
- Tools that change things
- 14%
- typical: 0%. Fewer write tools means less an agent can break
- Uptime
- 100%
- of our recent checks; the typical remote server answers 100%
- Response time
- 531 ms
- faster than 26% of 30,044 servers
- GitHub stars
- 19,170
- more than 95% of 28,851 servers
What its tools let an agent do: 6 read · 1 create
Install Compiler Explorer in Claude Code, Cursor or VS Code
claude mcp add --transport http compiler-explorer https://godbolt.org/mcp
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.
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, Cursor, VS Code or Claude Desktop 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 12 days ago (2026-11-03). The latest release is v1.0.0.
- Is Compiler Explorer up?
- 100% of our last 28 checks got an answer. We check remote servers about four times a day.
- How does Compiler Explorer compare with other MCP servers?
- safety score 83/100 (higher than 65% of 48,114 servers); tools 7 (the typical server has 7); tools that change things 14% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.