npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mseep/liquidsoap-mcp-server

v1.0.0

Published

MCP server for LiquidSoap 2.4.0 documentation and script assistance

Readme

MseeP.ai Security Assessment Badge

Verified on MseeP

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

Smart Search

  • 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

Install via npm (recommended)

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

  • https://www.liquidsoap.info/doc-2.4.0/
  • https://modelcontextprotocol.io/
  • https://github.com/modelcontextprotocol/typescript-sdk

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.