Skip to main content
Glama

Compiler Explorer MCP

by torshepherd

list_compiler_versions

Retrieve compiler versions matching a specific regex pattern. Filters available compiler data by name, returning details like ID, display name, and version. Use to streamline compiler selection and exploration in the Compiler Explorer environment.

Instructions

Get available compiler versions matching a compiler name regex.

NOTE: This may return a lot of results! Choose a specific regex to narrow down the results and not overflow the MCP client. Args: compiler_regex: Regular expression to match compiler names (case-insensitive) Returns: List of dictionaries containing matching compiler information, each with keys: - id: Unique identifier for the compiler - name: Display name of the compiler - semver: Version string of the compiler Raises: HTTPException: If the API request fails Example: >>> await list_compiler_versions("gcc") [{"id": "gcc-12.2", "name": "GCC 12.2"}, {"id": "gcc-11.3", "name": "GCC 11.3"}] >>> await list_compiler_versions("clang.*trunk") [..., {"id": "irclangtrunk", "name": "clang (trunk)", "lang": "llvm", "compilerType": "", "semver": "(trunk)", "instructionSet": "amd64"}, ...]

Input Schema

NameRequiredDescriptionDefault
compiler_regexYes

Input Schema (JSON Schema)

{ "properties": { "compiler_regex": { "title": "Compiler Regex", "type": "string" } }, "required": [ "compiler_regex" ], "title": "list_compiler_versionsArguments", "type": "object" }
Install Server

Other Tools from Compiler Explorer MCP

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/torshepherd/compiler-explorer-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server