ivan-pasco avatar

Clean Language

ivan-pasco/clean-language-mcp

Type-checking, compiling and running Clean Language code, with its reference and specification on hand.

CCM score
56 of 100
tools
11
transport
STDIO
last updated
Nov 23, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Reads the language with get_quick_reference, get_specification, list_builtins, list_types, and list_functions before writing code
  • Checks and builds with check, compile, and run, which compiles and validates a program but does not execute it
  • Explains compiler errors with explain_error, and looks up framework plugins with list_plugins and get_plugin_examples
  • Runs locally with the compiler bundled, needing only the npm package or MCP bundle, and suits writing Clean Language code in an AI assistant while the language is in preview

Tools

11 tools

Public tool metadata for what this MCP can expose to an agent.

get_quick_referenceSyntax, types and patterns. The assistant calls this first.

Syntax, types and patterns. The assistant calls this first.

No parameter schema in public metadata yet.

get_specificationAny section of the language specification

Any section of the language specification

No parameter schema in public metadata yet.

checkType-check code without compiling

Type-check code without compiling

No parameter schema in public metadata yet.

compileCompile code to WebAssembly

Compile code to WebAssembly

No parameter schema in public metadata yet.

runCompile and run a program, return its output

Compile and run a program, return its output

No parameter schema in public metadata yet.

explain_errorExplain an error code and how to fix it

Explain an error code and how to fix it

No parameter schema in public metadata yet.

list_builtinsBuilt-in names and signatures

Built-in names and signatures

No parameter schema in public metadata yet.

list_typesBuilt-in names and signatures

Built-in names and signatures

No parameter schema in public metadata yet.

list_functionsBuilt-in names and signatures

Built-in names and signatures

No parameter schema in public metadata yet.

list_pluginsFramework plugins and examples

Framework plugins and examples

No parameter schema in public metadata yet.

get_plugin_examplesFramework plugins and examples

Framework plugins and examples

No parameter schema in public metadata yet.

Readme

Clean Language for AI assistants

Clean Language is a type-safe language that compiles to WebAssembly. This MCP server lets your AI assistant write Clean code correctly: it reads the language reference and specification, type-checks code and compiles it to WebAssembly.

The compiler is included. Nothing else needs to be installed.

Preview. Clean Language is still young and some syntax will change in the next release. The bundle updates automatically when it does.

Install

As a plugin (assistants that support plugin marketplaces):

/plugin marketplace add Ivan-Pasco/clean-language-mcp
/plugin install clean-language@clean-language

As an MCP bundle (apps that open .mcpb files): download clean-language-mcp.mcpb and open it.

With npm (any MCP client):

{
  "mcpServers": {
    "clean-language": {
      "command": "npx",
      "args": ["-y", "@cleanlanguage/mcp"]
    }
  }
}

From the MCP Registry: search for Clean Language, or use the name dev.cleanlanguage/clean-language.


View the full README on GitHub

Details

Repository
github.com/ivan-pasco/clean-language-mcp
Website
cleanlanguage.dev
Category
Developer Tools
Package
https://github.com/Ivan-Pasco/clean-language-mcp/releases/download/v0.33.188/clean-language-mcp.mcpb
Transport
STDIO
Registry
MCP registry, active

Similar to Clean Language

More Developer Tools