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.5.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.5-py3-none-any.whl (4.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: radiomcp-1.2.5.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.5.tar.gz
Algorithm Hash digest
SHA256 018dd1cae3591e4c0c9d91d237cfa7cd7e0caa19dc2e84226d761d6557550956
MD5 2cddf4ced1262e5b3f2b5501f2296540
BLAKE2b-256 0c7f16d2e37d4b38d7b087078e34e6a1deada7993fc7918d9464fee5b39de6b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: radiomcp-1.2.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7d1a038fb44a67f1a67b3844529ba16ddb0e739aa0a57d53d1325f4edef1ed7b
MD5 1a8ff3550a33a581a66a2eaa50d7e96f
BLAKE2b-256 0a04356142643df38d84d941b6f760bc9876412e361feff38677717fbb329dab

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