# Compiler Explorer [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/compiler-explorer/compiler-explorer  
**GitHub Stars:** 19203  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/compiler-explorer

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

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## What Compiler Explorer MCP server does

The Compiler Explorer MCP server is based on Compiler Explorer, an interactive environment for examining how source code is transformed by compilers. The underlying project supports C, C++, C#, F#, Rust, Go, D, Haskell, Swift, Pascal, ispc, Python, Java, and more than 30 languages in total.

Compiler Explorer MCP server use is most relevant when an agent needs to compile a code sample, compare output from different compilers, or inspect generated assembly. The project also supports shareable godbolt.org links, making it possible to preserve or pass along an exploration. Multiple compilers may be available for a given language, and the interface includes configurable layouts and several tools and visualizations.

The original project began as a way to show how C++ constructs become assembly, but its stated scope now covers many languages and compiler configurations. The public service is available at godbolt.org, and the repository also supports running a local instance.

## How it works

Source code is edited and compiled in the Compiler Explorer interface, with the resulting output shown as part of the same exploration. This makes the project suitable for examining optimization effects, checking the assembly produced by a language construct, and comparing compiler behavior without creating a complete application build.

Compiler Explorer MCP server behavior should be evaluated against the capabilities documented for Compiler Explorer itself. The supplied project material does not specify MCP transport details, a formal MCP tool list, request schemas, authentication, or an agent-specific permission model. It therefore supports describing the compilation and inspection workflow, but not promising particular tool names or invocation formats.

## Setup and configuration

The repository is a TypeScript and Node.js project. On Linux, the documented quick-start path is to run `make`, which installs required third-party libraries and starts a local Explorer on port 10240. Development mode is available through `make dev` or `npm run dev`.

For the underlying local application, the required Node.js version is pinned in `.node-version`; `NODE_DIR` can be used to select a specific Node installation. Language support can be restricted with `make EXTRA_ARGS='--language LANG'`, and multiple language arguments may be supplied.

Compiler and language settings are stored in `etc/config`. A language-specific `.local.properties` file overrides its corresponding defaults file. The repository also documents a properties wizard for detecting and configuring local compilers, while the separate infrastructure project can install compiler collections.

## Tools and capabilities

Documented capabilities include:

- Compile source using multiple compilers for a language.
- View generated assembly and other compiler output.
- Work with more than 30 supported languages.
- Use real-time compilation while editing code.
- Configure layouts and use available visualizations.
- Share explorations through godbolt.org links.

## Limitations and notes

It does not identify supported MCP clients, transport modes, environment variables required by an MCP process, or named MCP tools. Confirm those details in the server's implementation before selecting it for a particular agent runtime.

Local deployments may require separate compiler binaries and language-specific demangling tools. Some additional tools are maintained in the `compiler-explorer-tools` repository. Offline or corporate deployments may also need configuration changes for external services and compiler sources.

_Full upstream README: https://allmcps.com/mcp/compiler-explorer/readme_

