Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links
Run one of the commands below, then add the client config underneath.
Streamable HTTPhttps://godbolt.org/mcp
Paste into Claude Desktop, Cursor (mcp.json), VS Code or any MCP client, then restart the client.
mcpServers{
"mcpServers": {
"compiler-explorer": {
"url": "https://godbolt.org/mcp"
}
}
}
Compiler Explorer is listed in the Developer Tools category of the MCPNav directory. It is distributed as Streamable HTTP and can be loaded by any client that speaks the Model Context Protocol.
Typical uses include giving your assistant scoped access to the corresponding service so it can answer questions and take actions with real data instead of guessing. Always review what a server can access before you enable it — see our MCP security guide.
Compiler Explorer is an MCP server by compiler-explorer. Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links
Install it with: https://godbolt.org/mcp. Then add the JSON config to your client's MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/compiler-explorer/compiler-explorer. Any third-party API it calls (such as a search or maps API) may require its own key and billing.
Any MCP-compatible client can use it, including Claude Desktop, Cursor, VS Code, Windsurf and custom agents.