Radio Browser MCP
A Model Context Protocol (MCP) server that provides access to the Radio Browser API, allowing you to search and discover internet radio stations from around the world.
Features
The Radio Browser MCP provides the following tools:
🔧 Available Tools
get_radio_stats()- Get comprehensive statistics about the Radio Browser database
- Returns information about total stations, countries, languages, and more
get_available_servers()- Get a list of all available Radio Browser API servers
- Useful for checking server availability and load balancing
search_stations_by_country_code(country_code)- Search radio stations by two-letter country code
- Examples: ‘US’, ‘DE’, ‘TR’, ‘GB’, ‘FR’, ‘JP’
search_stations_by_station_name(name)- Search radio stations by name or partial name
- Examples: ‘BBC’, ‘NPR’, ‘Classic’, ‘Rock’
Installation
- Install the required dependencies:
pip install -r requirements.txt
- Run the MCP server:
python server.py
Usage Examples
Getting Radio Browser Statistics
# Returns comprehensive stats about the database
stats = await get_radio_stats()
print(f"Total stations: {stats['stations']}")
print(f"Total countries: {stats['countries']}")
Searching Stations by Country
# Find all radio stations in Turkey
stations = await search_stations_by_country_code('TR')
for station in stations[:5]: # Show first 5
print(f"{station['name']} - {station['url']}")
Searching Stations by Name
# Find BBC radio stations
bbc_stations = await search_stations_by_station_name('BBC')
for station in bbc_stations:
print(f"{station['name']} - {station['country']}")
Testing
Run the test script to verify functionality:
python test_radio_browser.py
API Information
This MCP server uses the Radio Browser API (https://www.radio-browser.info/), which is a free and open-source database of internet radio stations.
Key Features of Radio Browser API:
- Free to use, no API key required
- Comprehensive database with thousands of stations worldwide
- Real-time data with regular updates
- Multiple server endpoints for reliability
- Rich metadata including genres, languages, countries, and more
File Structure
server.py- Main MCP server implementationapp.py- Radio Browser API integration functionstest_radio_browser.py- Test suite for functionality verificationrequirements.txt- Python dependenciessmithery.yaml- MCP configuration for Smithery
Error Handling
The MCP server includes robust error handling:
- Automatic server failover if one Radio Browser server is down
- Graceful error messages for network issues
- Fallback to known servers if DNS lookup fails
Contributing
Feel free to contribute by:
- Adding new search methods (by genre, language, etc.)
- Improving error handling
- Adding more comprehensive tests
- Optimizing performance
License
This project is open source. The Radio Browser API is also free and open source.
Radio Browser
Project Details
- CelalKhalilov/Radio-Browser-MCP
- Last Updated: 5/28/2025
Recomended MCP Servers
MCP server for OpenRouter.ai integration
MCP Gateway - translate MCP tool-callings to HTTP requests
A model context protocol to play Geofs which is a free online flight simulator
An MCP server built on ableton-js that enables AI assistants to control Ableton Live in real-time, providing capabilities...
Claude can perform Web Search | Exa with MCP (Model Context Protocol)
MCP server for interacting with a github repo
Use AI to edit image in Claude Desktop / Cursor (AI P图)
这是一个针对于MySQL开发的MCP,该项目旨在帮助用户快速且精确的查询MySQL数据库中的内容
Playwright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE...





