mpv_add
Add a file to the playlist by path or search term. Use mode "append-play" to start playing it immediately.
Drive a running mpv by half-remembered track name rather than file path — seek to "1:30", stream a YouTube result straight through the player, and fix a file's tags in the same conversation.
LABSCO SUMMARY
mpv_play, mpv_add, mpv_browse, mpv_info and mpv_tag all take a search term where a media player would want a path, and mpv_seek takes the notation you would speak rather than a raw second count, which is what makes the whole surface usable from a sentence. The trade is that resolution is deliberately fuzzy: the same matching that finds a track for mpv_play picks the file mpv_tag writes to, so a wrong guess rewrites the wrong file's metadata, and mpv_youtube and mpv_download reach outside your library entirely.
A control surface for the mpv media player, 17 tools covering playback and transport, seeking and volume, playlist building and loading, a browser over your Music and Videos folders, YouTube search-and-stream and download, and metadata reading and writing through ffmpeg.
mpv_play takes a query and searches the Music and Videos folders for something like "sultans of swing", and mpv_add puts a match on the playlist with mode "append-play" to start it straight away.mpv_seek accepts seconds as "90", a timestamp as "1:30", or a relative jump as "+10" or "-30"; mpv_volume returns the current level or sets one anywhere in 0-150.mpv_status returns track title, position, duration, volume and pause state, mpv_pause, mpv_resume, mpv_next and mpv_prev move through the playlist, and mpv_stop clears the current file while preserving the playlist.mpv_load_playlist reads a .txt or .m3u file and, called with no path, lists the playlists available; mpv_playlist shows the current one with track numbers and the active track marked.mpv_browse lists music and video files, narrowed by search, directory and limit.mpv_youtube takes a search query or a direct URL and streams the result through mpv, with results setting how many candidates come back; mpv_download pulls the same source down as MP3 audio or as full video through format.mpv_info returns artist, title, album and genre for a file found by search term or for whatever is playing, and mpv_tag writes artist, title, album, genre, date and comment through ffmpeg, inferring artist and title from the filename when you leave them out.A running mpv with a media library under your Music and Videos folders, and ffmpeg present for mpv_tag to write metadata. No account and no key.
One command — npx -y mpv-mcp-server
USE CASES
Give it the fragment of the title you remember, confirm what it actually started, and set the level.
Browse what is in a folder, append the ones you want, and check the order before it starts.
Read where playback currently sits, move to a timestamp or a relative offset, and hold it there.
Search and preview it through the player, download it as audio, then read back what metadata came with it.
See what the file currently claims, write the fields it is missing, and play it back to confirm the change stuck.
List the playlist files available, load the one you meant, and pick playback back up.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
mpv_addAdd a file to the playlist by path or search term. Use mode "append-play" to start playing it immediately.
mpv_browseList available music and video files. Optionally filter by search term or directory.
mpv_downloadDownload audio or video from YouTube. Specify format: "audio" for MP3, "video" for full video.
mpv_infoGet metadata (artist, title, album, genre, etc.) for a file by search term, or the currently playing track if omitted.
mpv_load_playlistLoad a playlist file (.txt, .m3u). Omit path to list available playlists.
mpv_nextSkip to the next track in the playlist.
mpv_pausePause the currently playing track.
mpv_playPlay a file by path or search term. Searches your Music and Videos folders when given a name like "sultans of swing".
mpv_playlistShow the current playlist with track numbers and the active track marked.
mpv_prevGo back to the previous track in the playlist.
mpv_resumeResume playback if paused.
mpv_seekSeek to a position. Accepts seconds ("90"), timestamp ("1:30"), or relative ("+10", "-30").
mpv_statusGet current mpv playback status: track title, position, duration, volume, and pause state.
mpv_stopStop playback and clear the current file. The playlist is preserved.
mpv_tagWrite metadata tags to a media file using ffmpeg. Can target a file by search term. Infers artist/title from the filename if not provided.
mpv_volumeGet or set the playback volume. Provide a level (0-150) to set, or omit to get current volume.
mpv_youtubeSearch YouTube and stream the result through mpv. Accepts a search query or a direct YouTube URL.
BEFORE YOU INSTALL
17 tools when we connected.
CONTEXT COST
Rated by the size of the 17 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"mpv-mcp-server": {
"command": "npx",
"args": [
"-y",
"mpv-mcp-server"
]
}
}
}npx -y mpv-mcp-server