# Compiler Explorer

> Use this tool when you need to compile code, explore compiler features, or analyze optimizations across different programming languages and compilers. It solves problems such as comparing compiler behaviors, investigating optimization differences, and exploring language feature support. The tool takes in source code and compilation parameters as input and outputs compiled code and optimization analysis, making it ideal for developers and educators seeking to understand compiler differences and language capabilities.

Canonical page: https://skillsregistry.net/skills/anthropic-compiler-explorer  
JSON: https://api.skillsregistry.net/v1/skills/anthropic-compiler-explorer

## Description

Compiler Explorer MCP is a server that connects LLMs to the Compiler Explorer API, enabling them to compile code, explore compiler features, and analyze optimizations across different compilers and languages. The implementation provides three main tools: listing supported programming languages, retrieving available compilers for a specific language, and compiling source code with customizable options and filters. Built with FastMCP and asynchronous HTTP requests, it handles error cases gracefully and supports various compilation parameters, making it particularly valuable for developers and educators who want to compare compiler behaviors, investigate optimization differences, or explore language feature support without leaving their AI assistant conversation.

## Trust

- **Trust score (0–1):** 0.97
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/anthropic-compiler-explorer)
- **Repository:** <https://github.com/torshepherd/compiler-explorer-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "anthropic-compiler-explorer"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/anthropic-compiler-explorer` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/anthropic-compiler-explorer/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
