Skip to main content

Internet radio MCP server + TUI player - 55,000+ stations, Airtune API, mpv playback

Project description

radiomcp

PyPI Python License: MIT

Internet radio for Claude and your terminal. ~25,000 verified live stations, 197 countries.

pip install radiomcp && radiomcp

First run auto-registers with Claude Desktop / Claude Code. Restart Claude and you're done.

한국어 · Powered by Airtune API


Two ways to use it

Command What it does
MCP server radiomcp Connects to Claude — control radio in plain language
TUI player radio Interactive terminal player with search and favorites

MCP — control radio with Claude

pip install radiomcp && radiomcp

Auto-detected and registered on first run. Or manually add to ~/.claude/settings.json:

{
  "mcpServers": {
    "radio": { "command": "radiomcp" }
  }
}

Then just ask Claude:

"Play some late-night jazz" "Find Korean news stations" "What's playing right now?" "Recommend something for focus work" "Play a French station" "Stop the radio"

MCP Tools

Tool Description
play Play by URL or search query
stop Stop playback
now_playing Current station and track
search Search by keyword, genre, country
recommend AI recommendations by mood or context
get_favorites / add_favorite Saved stations
get_history Listening history
set_volume / get_volume Volume control
get_popular Most popular stations
search_by_country Stations by country code
search_by_language Stations by language
recognize_song Identify currently playing song
get_radio_status Player status

TUI Player

radio

Interactive terminal player. Type to search, numbers to play.

Search

> jazz              # keyword
> korea news        # combined
> japan classical   # multilingual
> jazz HQ           # high quality only (192k+)

Supports 50+ languages — Korean, Japanese, Chinese, Russian, Arabic and more are normalized automatically.

Key Function
g Genre browser
c Country browser
p Popular stations
/ Search
! Toggle: local DB ↔ DB + live API

Playback & Volume

Key Function
19 Play station from list
r Resume last station
s Stop
v / v+ / v- / v50 Show / up / down / set volume
q Quit

Favorites

Key Function
f View favorites
+ / - Add / remove current station
< / > Previous / next favorite

AI & Song Info

Key Function
a Personalized recommendations
w Time-based mood recommendations
i Recognize current song (Shazam-like)
n Current song info

DJ Mode

RADIOCLI_DJ=1 radio

AI-voiced DJ commentary between tracks. Supports 10 languages.


Player Backends

Auto-detected: mpv → vlc → ffplay → browser

Backend Install
mpv (recommended) brew install mpv / apt install mpv
vlc brew install vlc / apt install vlc
ffplay brew install ffmpeg / apt install ffmpeg

CLI

radiomcp search jazz
radiomcp play <url> "Station Name"
radiomcp stop
radiomcp now
radiomcp recommend focus
radiomcp update          # Sync latest stations from Airtune API
radiomcp serve           # Start HTTP API server

Environment Variables

Variable Description Default
RADIOCLI_LLM LLM provider: claude, openai, ollama, none none
RADIOCLI_DJ DJ mode 0
RADIOCLI_LANG UI language auto-detect
ANTHROPIC_API_KEY For Claude-powered features
OPENAI_API_KEY For OpenAI-powered features
OLLAMA_URL Ollama server URL http://localhost:11434

Data

Station database (~25,000 verified live stations) stored in ~/.radiocli/ on first run.

radiomcp update    # Pull latest from Airtune API

License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

radiomcp-1.2.7.tar.gz (4.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

radiomcp-1.2.7-py3-none-any.whl (4.1 MB view details)

Uploaded Python 3

File details

Details for the file radiomcp-1.2.7.tar.gz.

File metadata

  • Download URL: radiomcp-1.2.7.tar.gz
  • Upload date:
  • Size: 4.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for radiomcp-1.2.7.tar.gz
Algorithm Hash digest
SHA256 d836f8150a932d232730c229ba7f33d5ef4cbbf0517034ba9849da50d9a7ea52
MD5 c3ef2c6ddde44c2a0602a12518c2043c
BLAKE2b-256 715c6e3ca2db49cfe678f6c304c27ab903abeb7b0d7cc36da703cb22b71ece99

See more details on using hashes here.

File details

Details for the file radiomcp-1.2.7-py3-none-any.whl.

File metadata

  • Download URL: radiomcp-1.2.7-py3-none-any.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for radiomcp-1.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d6b255f8edd2c2eb98dd49bb25d769839a7a0247e4d307e70c362df757fbbbc8
MD5 f90d9c6c67ce2089bfc8506ce4a80e9c
BLAKE2b-256 345feb6fcbb3d4b3c458f054d4ca1ef15d18ff45a1375107123f262574e8e2fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page