Compiler Explorer MCP Server
by compiler-explorerio.github.compiler-explorer/compiler-explorerv1.0.0
Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links
context tax
~2,006 tok/turn7 tools
security
100/100
cold start
hosted
freshness
Active23d ago
Our reading of Compiler Explorer, from the data
Compiler Explorer is an MCP server from compiler-explorer, listed in the official MCP Registry.
Its 7 tools add about 2,006 tokens to every model turn (measured 2026-10-19).
Maintenance is active: the last public signal was 23 days ago (2026-10-19).
It runs as a hosted endpoint, so there is nothing to install.
Install Compiler Explorer MCP server
Install in Claude Code
claude mcp add --transport http compiler-explorer https://godbolt.org/mcpInstall in Cursor
{
"mcpServers": {
"compiler-explorer": {
"url": "https://godbolt.org/mcp"
}
}
}Install in Claude Desktop
{
"mcpServers": {
"compiler-explorer": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://godbolt.org/mcp"
]
}
}
}Or add it as a custom connector under Settings → Connectors. The config above bridges via mcp-remote.
Install in VS Code
{
"servers": {
"compiler-explorer": {
"type": "http",
"url": "https://godbolt.org/mcp"
}
}
}Install in Windsurf
{
"mcpServers": {
"compiler-explorer": {
"serverUrl": "https://godbolt.org/mcp"
}
}
}Remote endpoints
- streamable-http
https://godbolt.org/mcp
Context tax
Connecting this server adds ~2,006 tokens of tool definitions to every model turn (moderate, 7 tools). Measured 2026-10-19 via its hosted endpoint; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $8.02 | $0.401 |
| Claude Sonnet 5.5 | $4.01 | $0.401 |
| Claude Haiku 5.5 | $0.201 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (7)
list_compilers618 tokList available compilers, optionally filtered by language
compile574 tokCompile source code and return assembly output, stdout, and stderr
generate_short_url221 tokCreate a Compiler Explorer short URL for sharing code with compiler settings
list_libraries208 tokList available libraries for a given programming language
lookup_asm_instruction204 tokLook up documentation for an assembly instruction
get_shortlink_info153 tokRetrieve 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_languages37 tokList supported languages. Each entry has `defaultCompiler` and `compilerCount`.
Security signals
100/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 23d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-19 · 23d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-08-18 · 3mo ago · official registry · v1.0.0
FAQ
›How do I install the Compiler Explorer MCP server in Claude Code?
Run: claude mcp add --transport http compiler-explorer https://godbolt.org/mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Compiler Explorer require an API key?
No required environment variables are declared in its published metadata.
›Can I use Compiler Explorer as a remote (hosted) MCP server?
Yes. It is a hosted MCP server; connect to its URL with any client that supports remote MCP.
›Is Compiler Explorer in the official MCP registry?
Yes, as io.github.compiler-explorer/compiler-explorer.
›How many tokens does Compiler Explorer add to my context?
Its tool definitions total about 2,006 tokens, resent on every turn.
Sources and method
- Official MCP Registry entry
- updated 2026-08-18
- GitHub repository
- fetched 2026-10-19
- Tool list (tools/list), measured by us
- 2026-10-19
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.