M3U8 Player
v1.0.0Free stateless HLS/M3U8 manifest parser, CORS & stream URL checker, and M3U playlist cleaner MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
parse_hls_manifest Parse HLS / M3U8 Manifest
Parse an HLS .m3u8 Master or Media Playlist from raw #EXTM3U text or an authorized public HTTP/HTTPS URL. Extracts bandwidth variants, resolutions, codecs, audio/subtitle renditions, total duration, segment count, encryption (#EXT-X-KEY), and common playback diagnostics. Read-only, no login required.
| Parameter | Type | Description |
|---|---|---|
base_url | string | Optional base URL used to resolve relative variant/segment URIs when passing raw `manifest` text. |
manifest | string | Raw #EXTM3U / .m3u8 manifest text (up to 500,000 characters). Provide either `manifest` or `url`. |
max_segments | integer | Maximum number of sample resolved segment entries to include for Media Playlists (default 20, max 100). |
url | string | Authorized public HTTP/HTTPS .m3u8 manifest URL to fetch and parse (SSRF-protected, max 256 KB). |
check_stream_url Check Stream URL & CORS Headers
Check whether an authorized public HTTP/HTTPS .m3u8 or stream URL is reachable, measuring HTTP status, latency, redirects, Content-Type, #EXTM3U signature, and Access-Control-Allow-Origin browser CORS playability. Does not download or proxy video.
| Parameter | Type | Description |
|---|---|---|
url * | string | Authorized public HTTP/HTTPS stream or .m3u8 URL to check. |
parse_m3u_playlist Parse & Filter M3U Playlist
Parse raw #EXTM3U playlist text into structured channels (name, URL, group, tvg-id, tvg-logo), report group counts, duplicate URLs, and invalid entries, and optionally filter by group or keyword. Read-only, no login required.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | Raw #EXTM3U playlist text (up to 500,000 characters). |
group | string | Optional case-insensitive group-title filter. |
limit | integer | Maximum channels to return in the preview array (default 50, max 200). |
query | string | Optional case-insensitive keyword filter matching channel name, group, or URL. |
clean_m3u_playlist Clean, Deduplicate & Export M3U Playlist
Deduplicate channels, remove invalid/non-HTTP URLs, filter by group, sort, and export clean M3U8, JSON, or CSV playlist text. Read-only stateless transform, no login required.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | Raw #EXTM3U playlist text to clean (up to 500,000 characters). |
dedupe_by | string | Deduplication strategy. Defaults to "url". |
exclude_groups | array | Optional list of group-title values to remove (case-insensitive). |
include_groups | array | Optional list of group-title values to keep (case-insensitive). |
output_format | string | Export format. Defaults to "m3u". |
remove_invalid_urls | boolean | Drop entries whose URL is not a valid http:// or https:// URL. Defaults to true. |
sort_by | string | Sort order for cleaned channels. Defaults to "none". |