chantey
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
chantey
Control your listening from Claude: "list the recent stuff", "play the second one", "pause", "back thirty seconds", "next", "faster". chantey is an MCP server (and a CLI) whose tools steer a web player you are signed in to. The player plays; Claude never gets a link to the audio.
pip install 'chantey[mcp]'
chantey audio-list --limit 5
chantey audio-play 2
chantey audio-seek --by-s -30
chantey audio-next
chantey audio-statusEvery verb prints {"ok": ..., "say": "...", ...}; say is one sentence written to be read aloud.
How it works
Claude cannot play audio from a tool result, and a phone cannot start audio from the background while a voice call holds the sound. So chantey keeps a desired player state on the server (which item, playing or not, speed, a one-time seek), and each tool edits it. Your player page follows that state over Server-Sent Events, applies what changed since it last looked (also when it comes back to the front after a call), and reports back what it actually does. "Where am I" is computed from the last report. Details and the research behind them: docs/adr/0001.
Piece | Module |
The verbs (the one list every surface uses) |
|
Items, sources, finding "the second one" or "the one about rates" |
|
The desired state, each player's reports, the last list |
|
The player's routes ( |
|
MCP: |
|
Related MCP server: Spotify MCP Server
Plugging it into your player
Mount the routes behind your app's login, with one channel folder per user:
from chantey.channel import Channel from chantey.router import mk_router app.include_router(mk_router(lambda request: Channel(folder_of(request.user))), prefix="/remote")In the page, keep a random
device_id(inlocalStorage) and openEventSource('/remote/events?device_id=…&device=iPhone'). On eachdesiredevent (checkprotocolis 1), apply the aspects whose version (item_version,playing_version,rate_version,seek_version) is newer than the version you applied last, thenPOST /remote/statewithdevice_id,applied_version,item_id,title,position_s,duration_s,playing,rate, and anerrorcode when something failed (autoplay_blocked,not_in_library,load_failed). Re-readGET /remote/desiredonvisibilitychange,onlineandpageshow.Tell chantey where your items are and whose channel to use: a source is any callable returning records with
idand, ideally,title,source,created,duration_s;channelis a callable returning the current user's channel folder (the same function the routes use). Settings come fromchantey.tools.configure(...), environment variables (CHANTEY_SOURCES=mypkg.items:all,CHANTEY_CHANNEL=mypkg.remote:folder,CHANTEY_DATA_DIR,CHANTEY_PLAYER,CHANTEY_PLAYER_URL,CHANTEY_WAIT_S), or~/.config/chantey/config.jsonwith the same keys in lower case. With nothing set, the source is the audio files in$CHANTEY_FOLDER(default~/Music) and the channel is~/.local/share/chantey.
Serving it to claude.ai
python -m chantey.mcp runs the server over stdio. For claude.ai, serve it over Streamable HTTP behind OAuth: chantey.mcp.mk_server(auth=..., middleware=...) returns the FastMCP server with the tools, the instructions and the annotations (read-only, never destructive), so a host adds only its auth. Add its URL as a custom connector, and set the tools to "Always allow", or voice mode stops for a tap on each call.
Limits worth knowing
On an iPhone, start playing with one tap; after that, voice can pause, resume, seek, go to the next item and change speed. Android web players can usually start on their own.
The answer to "play" says whether the player confirmed; "No player is open" means open your player and it will do it.
Every open player follows the same orders (choosing one is the next feature).
Titles are other people's text: chantey drops invisible characters and links from them and from what a player reports, quotes them in its answers, and tells the model they are names, not instructions. Errors are codes chantey words itself.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Spotify MCP server for ChatGPT, Claude and any AI agent: search songs and artists, list playlists, read playlist songs, create playlist, add songs to playlist, remove songs from playlist, set playlist public or private and save to Liked Songs in your own Spotify account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Spotify yourself; Cotlet does not store your password and you need no Spotify API key. About the official Spotify API: Spotify has a full Web API and, since 23 Apr 2026, an official connector for Claude (checked 5 Nov 2026). The API needs an app you register, and in development mode the app owner must have Premium and the app allows 5 users; unlimited users need a registered business with at least 250,000 monthly users. Setup and FAQ: https://cotlet.dev/integrations/spotify-api-mcp-server
Manage a Discord server from Claude, ChatGPT or any MCP client. Sign in with Discord, no bot token.
Hosted X (Twitter) MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
MCP server for RiverScript, an AI transcription platform - fetches transcripts shared via a link.
Related MCP Servers
- AlicenseBqualityDmaintenanceA server that connects Claude with Spotify, allowing users to control playback, search content, get information about tracks/albums/artists/playlists, and manage the Spotify queue.5615MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables controlling Spotify playback through natural language commands in MCP clients like Cursor or Claude for Desktop.1-
- AlicenseAqualityBmaintenanceMCP server for the Spotify Web API — gives Claude and other AI assistants tools to search music, control playback, manage playlists, library, and podcasts.475MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives Claude access to your SoundCloud library, allowing you to manage playlists and tracks through natural language.3AGPL 3.0