{"name":"io.github.compiler-explorer/compiler-explorer","slug":"compiler-explorer","title":"Compiler Explorer","description":"Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links","url":"https://mcp.market/server/compiler-explorer","rating":null,"grade":"B","score":83,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":64,"stars":19089,"forks":2117,"downloads_week":null,"last_push_at":"2026-09-22T14:48:52.000Z","license":"BSD-2-Clause"},"uptime":{"percent":100,"checks":20,"ok":20,"last_checked_at":"2026-09-24T08:02:12.843Z","last_ok_at":"2026-09-24T08:02:12.843Z","latency_ms":150},"claimed":false,"transport":"remote","callable_via_gateway":true,"default_price_micros":0,"repository":"https://github.com/compiler-explorer/compiler-explorer","website":"https://godbolt.org/","version":"1.0.0","remotes":[{"type":"streamable-http","url":"https://godbolt.org/mcp"}],"packages":[],"tools":[{"name":"compile","description":"Compile source code and return assembly output, stdout, and stderr","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"source":{"type":"string","description":"Source code to compile"},"language":{"type":"string","description":"Language ID (e.g. \"c++\", \"c\", \"rust\", \"python\")"},"compiler":{"description":"Compiler ID from list_compilers (e.g. \"g161\"). If omitted, uses the language's `defaultCompiler` from list_languages.","type":"string"},"options":{"description":"Compiler flags (e.g. \"-O2 -std=c++20 -Wall\")","type":"string"},"execute":{"description":"Run the program instead of returning assembly. `asm` becomes empty; runtime output goes to top-level `stdout`/`stderr`; compile diagnostics move to `buildResult.stdout`/`stderr`.","type":"boolean"},"stdin":{"description":"Standard input for execution (requires execute=true)","type":"string"},"filters":{"description":"Output filters","type":"object","properties":{"intel":{"description":"Use Intel assembly syntax (default: true)","type":"boolean"},"demangle":{"description":"Demangle symbol names (default: true)","type":"boolean"},"directives":{"description":"Filter assembler directives (default: true)","type":"boolean"},"commentOnly":{"description":"Filter comment-only lines (default: true)","type":"boolean"},"labels":{"description":"Filter unused labels (default: true)","type":"boolean"},"libraryCode":{"description":"Filter library code (default: false)","type":"boolean"},"trim":{"description":"Trim whitespace (default: false)","type":"boolean"}}},"libraries":{"description":"Libraries to link.","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Library ID from list_libraries (e.g. \"boost\")."},"version":{"type":"string","description":"Version id (\"188\") OR human form (\"1.88.0\") — both accepted."}},"required":["id","version"]}},"maxAsmLines":{"description":"Cap asm output (default 500 lines).","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxStdoutLines":{"description":"Cap each stdout stream — compile and execute separately (default 100).","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxStderrLines":{"description":"Cap each stderr stream — compile and execute separately (default 100).","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["source","language"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"generate_short_url","description":"Create a Compiler Explorer short URL for sharing code with compiler settings","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"source":{"type":"string","description":"Source code"},"language":{"type":"string","description":"Language ID (e.g. \"c++\", \"c\", \"rust\")"},"compiler":{"type":"string","description":"Compiler ID from list_compilers (e.g. \"g161\", \"clang_trunk\")"},"options":{"description":"Compiler flags (e.g. \"-O2 -std=c++20\")","type":"string"},"libraries":{"description":"Libraries to include.","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Library ID from list_libraries."},"version":{"type":"string","description":"Version id (\"188\") OR human form (\"1.88.0\")."}},"required":["id","version"]}}},"required":["source","language","compiler"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_shortlink_info","description":"Retrieve 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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Short link ID or full URL (e.g. \"G38YP7eW4\" or \"https://godbolt.org/z/G38YP7eW4\")"}},"required":["id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"list_compilers","description":"List available compilers, optionally filtered by language","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"language":{"description":"Language ID to filter by (e.g. \"c++\", \"rust\", \"python\")","type":"string"},"instructionSet":{"description":"Target architecture filter. Combine with `latestPerMajor: true` for \"newest X for arch Y\" (e.g. `{language:\"c++\", instructionSet:\"amd64\", latestPerMajor:true}`).","type":"string","enum":["6502","aarch64","amd64","x86","arm32","avr","beam","c6x","dex","ebpf","evm","eravm","ez80","hook","hppa","core","java","kvx","llvm","loongarch","m68k","mips","mos6502","mpy","mrisc32","msp430","perl","powerpc","ptx","python","riscv32","riscv64","s390x","sass","sh","sparc","spirv","vax","wasm32","wasm64","wdc65c816","xtensa","z180","z80"]},"match":{"description":"Case-insensitive AND-of-tokens filter on id and name. Punctuation splits tokens; numeric tokens match whole-word (\"gcc 14.1\" matches \"14.1.0\" not \"14.10\"); alphanumeric tokens substring-match (\"g14\" matches \"g142\"). Literal text only — for \"newest version\" use `latestPerMajor`; for \"newest X on arch Y\" prefer `instructionSet` + `latestPerMajor`.","type":"string"},"maxResults":{"description":"Cap full-detail entries (default 25). Beyond the cap, degrades to lean (id+name only) with a refinement hint.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"lean":{"description":"Force id+name only, regardless of count. Useful to browse the catalog before drilling in.","type":"boolean"},"latestPerMajor":{"description":"\"Newest X\" filter. By release track (stable/nightly/prerelease/experimental): newest stable per (language, instructionSet, semver major); all nightly + prerelease; experimental skipped unless `includeExperimental: true`.","type":"boolean"},"includeExperimental":{"description":"With `latestPerMajor: true`, also include experimental compilers (c++ proposal forks, llvm-mos platform variants). Off by default — bloats \"newest X\" answers.","type":"boolean"}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"list_languages","description":"List supported languages. Each entry has `defaultCompiler` and `compilerCount`.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{}}},{"name":"list_libraries","description":"List available libraries for a given programming language","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"language":{"type":"string","description":"Language ID (e.g. \"c++\", \"rust\")"},"match":{"description":"Case-insensitive AND-of-tokens filter on id, name, and version strings (so \"boost 1.88\" finds Boost when one of its versions matches 1.88.x). Numeric tokens match version-prefix; alphanumeric substring.","type":"string"},"maxResults":{"description":"Cap full-detail entries (default 25). Beyond the cap, degrades to lean (id+name only) with a refinement hint.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"lean":{"description":"Force id+name only, regardless of count. Useful to browse the catalog before drilling in.","type":"boolean"}},"required":["language"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"lookup_asm_instruction","description":"Look up documentation for an assembly instruction","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"instruction_set":{"type":"string","enum":["6502","aarch64","amd64","arm32","avr","evm","java","llvm","perl","powerpc","ptx","python","riscv64","sass","wdc65c816"],"description":"Instruction set architecture (no default — must match the asm dialect being looked up)."},"opcode":{"type":"string","description":"Assembly instruction mnemonic (e.g. \"MOV\", \"ADD\", \"JMP\")"}},"required":["instruction_set","opcode"],"$schema":"http://json-schema.org/draft-07/schema#"}}],"scan":{"score":83,"grade":"B","scanned_at":"2026-09-23T04:55:21.974Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-23T04:55:21.911Z","components":{"code":{"score":-1,"max":25,"notes":["remote-only server, no package to scan"]},"reliability":{"score":20,"max":20,"notes":["remote reachable in 1089ms"]},"poisoning":{"score":15,"max":15,"notes":["7 tool descriptions checked"]},"auth":{"score":3,"max":15,"notes":["open endpoint exposes 1 write-action tools with no auth"]},"maintenance":{"score":15,"max":15,"notes":["last push 1 days ago"]},"identity":{"score":9,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[{"id":"auth.open-write","severity":"high","component":"auth","title":"Write-action tools reachable without authentication"}],"inputs":{"probes":[{"url":"https://godbolt.org/mcp","reachable":true,"authRequired":false,"latencyMs":1089,"serverInfo":{"name":"compiler-explorer","version":"gh-19192"}}],"packages":[],"repo":{"found":true,"owner":"compiler-explorer","repo":"compiler-explorer","archived":false,"pushedAt":"2026-09-22T14:48:52Z","stars":19089,"forks":2117,"openIssues":858,"ownerType":"Organization","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/57653830?v=4","ownerCreatedAt":"2019-11-12T05:11:37Z","license":"BSD-2-Clause"},"icon":{"url":"https://static.ce-cdn.net/site-logo.svg","source":"registry"},"presence":{"stars":19089,"forks":2117,"downloadsWeek":null,"license":"BSD-2-Clause","lastPushAt":"2026-09-22T14:48:52.000Z","score":64}}}},"grade_history":[],"reviews":[]}