Hey everyone — I’ve been learning the Model Context Protocol (MCP) as a side project, and LibreTime felt like the perfect use case to build something real with it.
The result is libretime-mcp — an MCP server that lets Claude (and any MCP-compatible AI client) talk directly to your LibreTime instance. You can ask it things like “what’s on air tonight?”, “find me all jazz tracks uploaded this month”, or “show me listener stats for last week” and get answers without leaving your AI client.
What’s working today:
Read-only (client & admin):
-
get_shows— list all shows -
get_schedule— broadcast schedule -
get_stream_state— current on-air state
Analytics (admin):
-
get_listener_counts— listener stats by mount point -
get_playout_history— recent playout history with track metadata
Users (admin):
-
get_users— list station users -
get_hosts— list show hosts
Available on npm: npx @powerfm/libretime-mcp
If you play with it let me know what you think. I’ll be adding more features as i get some free time.