
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server built with FastMCP that offers tools and read-only resources for querying the Godbolt Compiler Explorer REST API.
Godbolt Compiler Explorer MCP server is cataloged as an MCP server attributed to benestar. An MCP server built with FastMCP that offers tools and read-only resources for querying the Godbolt Compiler Explorer REST API. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Godbolt Compiler Explorer MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The compile_cmake tool compiles a CMake project using a specified compiler_id, with optional user arguments, files, and libraries.
Yes, the format_code tool formats source code using a specified formatter.
README.md · 87bf7a44490c · Fetched 2026-11-13 11:43:27 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Model Context Protocol (MCP) server that provides access to the Godbolt Compiler Explorer REST API endpoints. Built with the FastMCP Python library.
git clone <repository-url>
cd godbolt-mcp
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Run the MCP server directly:
python godbolt_mcp.py
Add the server to your MCP configuration (using virtual environment Python):
{
"mcpServers": {
"godbolt-compiler-explorer": {
"command": "/absolute/path/to/godbolt-mcp/venv/bin/python",
"args": ["/absolute/path/to/godbolt-mcp/godbolt_mcp.py"]
}
}
}
Note: Replace /absolute/path/to/godbolt-mcp with the actual absolute path to your installation directory.
resource://languages - List all supported programming languagesresource://compilers/{language_id} - Get available compilers for a specific languageresource://libraries/{language_id} - Get available libraries for a specific languageresource://formats - List available code formattersresource://asm/{instruction_set}/{opcode} - Get assembly instruction documentationresource://version - Get Compiler Explorer version informationcompile_code(compiler_id, source, user_arguments=None, files=None, libraries=None) - Compile source codecompile_cmake(compiler_id, source, user_arguments=None, files=None, libraries=None) - Compile CMake projectformat_code(formatter, source) - Format source codeThe examples/ folder contains sample source files you can use to test the MCP server:
hello.cpp - Simple C++ "Hello World" programhello.rs - Simple Rust "Hello World" programTry these prompts with MCP-compatible agents to generate assembly code for the example files:
For C++ example:
Compile the hello.cpp file from the examples folder with GCC and show me the exact generated assembly code with optimization level -O2.
For Rust example:
Compile the hello.rs file from the examples folder with the latest Rust compiler and show me the exact generated assembly code with release optimizations.
fastmcp>=0.2.0 - MCP server frameworkhttpx>=0.25.0 - HTTP client for API requestsClaim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Godbolt Compiler Explorer MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/godbolt-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.