Skip to main content
Glama

LiquidSoap MCP Server

Version-accurate Liquidsoap scripting using the official 2.4.0 docs.

LLMs get Liquidsoap wrong a lot. Mixing 1.x docs, outdated blog posts, and half-remembered API examples.

This MCP server fixes that.

It gives your AI assistant (Claude, ChatGPT, Cursor, Windsurf, etc.) real Liquidsoap 2.4.0 documentation, examples, and API references, making it finally possible to:

  • Understand .liq scripts

  • Generate correct 2.4.0 code

  • Fix errors and deprecated usage

  • Explore operators, functions, transitions, and patterns

  • Build web radio pipelines with confidence

No hallucinations. No version drift. No mystery errors.


Why this exists

Liquidsoap is incredibly powerful, but:

  • Documentation varies heavily between versions

  • 1.x and 2.x syntax differs in subtle ways

  • LLMs blend outdated examples into their answers

  • Even the official docs are spread across sections, pages, and changelogs

This MCP server gives your AI one job:
Stick to Liquidsoap 2.4.0 exactly.

It exposes a clean, structured API around the official docs so your assistant becomes a reliable Liquidsoap expert.


Features

Version-Pinned Documentation (2.4.0)

  • Full language reference

  • Core API functions & operators

  • Protocols (Icecast, HLS, HTTP, SRT, etc.)

  • Encoder/decoder options

  • Runtime settings

Related MCP server: PineScript Docs

  • Search functions/operators by name or keyword

  • Search through examples, patterns, and cookbook items

  • Search 2.4.0 changelog & migration notes

Script Assistance

  • Detect deprecated functions (e.g. null(), insert_metadata)

  • Warn about 1.x syntax

  • Highlight common design pitfalls

Example Library

Ready-to-use snippets:

  • Crossfading

  • Fallback chains

  • Harbor live input

  • HLS output

  • Cron scheduling (cron.add, cron.parse)

  • Metadata rewriting

  • LUFS normalization

  • Blank detection

  • Multi-output pipelines

Fast & Local

  • Docs cached and indexed for instant responses

  • No web requests needed once running


Demo (example)

Ask:

  • “Explain what this Liquidsoap script does.”

  • “Add a fallback before the HLS output.”

  • “Show the docs for crossfade.”

  • “Fix deprecated functions in this script.”

  • “Rewrite this using Liquidsoap 2.4.0-style null.”

Your AI responds using only the pinned 2.4.0 docs.


Installation

Prerequisites

  • Node.js ≥ 18

  • Any MCP-compatible client

npm install -g liquidsoap-mcp-server

Or run from source

git clone https://github.com/splinesreticulating/LiquidSoapMCP.git
cd LiquidSoapMCP
npm install
npm run build

Usage

Claude Desktop Example

macOS:
~/Library/Application Support/Claude/claude_desktop_config.json

Windows:
%APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "liquidsoap": {
      "command": "npx",
      "args": ["-y", "liquidsoap-mcp-server"]
    }
  }
}

From source:

{
  "mcpServers": {
    "liquidsoap": {
      "command": "node",
      "args": ["/absolute/path/to/LiquidSoapMCP/build/index.js"]
    }
  }
}

Docker:

{
  "mcpServers": {
    "liquidsoap": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "liquidsoap-mcp-server"]
    }
  }
}

Build the image:

docker build -t liquidsoap-mcp-server .

Supported Tools

Core Tools

  • get_version

  • list_sections

  • get_documentation(section)

  • search_functions(query)

  • get_changelog

  • get_examples(topic)

  • validate_script_syntax(script)

Documentation Sections

  • language

  • reference

  • protocols

  • settings

  • encoding_formats

  • ffmpeg

  • quickstart

  • cookbook


Roadmap

  • Liquidsoap script graph visualization

  • Integrate liquidsoap --check for full type validation

  • Multi-version switching (2.2.x, 2.3.x, etc.)

  • Fuzzy search & semantic function lookup

  • “Explain this error log” tool

  • Pattern/snippet library


Contributing

PRs welcome. Especially:

  • More examples

  • Better search

  • Doc parsing improvements

  • Additional validation rules

  • MCP integration templates


Resources


Acknowledgments

Built for the Liquidsoap community, and for the DJs, webradio operators, self-hosters, and audio nerds who want Liquidsoap to be easier, safer, and more fun with AI assistance.


Want to support the project?

Please star the repo!
It helps others discover it and tells me this niche was worth carving out.

Available Tools

7 tools
get_changelogA

Get the changelog and breaking changes for LiquidSoap 2.4.0

Inputs: no named parameters.

get_documentationB

Fetch a specific section of the LiquidSoap 2.4.0 documentation

Inputs: section (required), max_length.

get_examplesA

Get code examples for common LiquidSoap tasks

Inputs: task (required).

get_versionA

Get the LiquidSoap version this server supports (2.4.0)

Inputs: no named parameters.

list_sectionsA

List all available documentation sections with descriptions

Inputs: no named parameters.

search_functionsA

Search for functions or operators in the LiquidSoap API reference

Inputs: query (required).

validate_script_syntaxA

Provide basic syntax validation and best practices for a LiquidSoap script

Inputs: script (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: version info, changelog, documentation sections, function search, examples, section listing, and script validation. Even list_sections and get_documentation have a natural complementary relationship without overlap.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun snake_case pattern (get, list, search, validate), with no mixing of conventions or vague verbs. The naming is predictable and readable.

    Tool Count5/5

    7 tools is well-scoped for a documentation and validation server. Each tool earns its place, covering the core use cases without redundancy or bloat.

    Completeness5/5

    The tool surface covers the domain comprehensively: version, changelog, documentation access, function lookup, examples, section navigation, and script validation. There are no obvious dead ends or missing operations for the stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides structured access to RealTest backtesting documentation and example scripts to help LLM agents generate accurate RealScript code. It offers tools for semantic search, authoritative function references, and verified script retrieval to prevent hallucinations.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Provides comprehensive Pine Script v6 documentation and tools to help AI assistants look up functions, validate syntax, and generate accurate code. It enables linting, version conversion from v5 to v6, and deep conceptual analysis to prevent code hallucinations.
      12
      362 PyPI
      11
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides Strudel reference documentation as MCP tools for AI coding assistants, enabling function lookup, search, and syntax reference.
      6 npm
      AGPL 3.0