LibreTime MCP Server — connect Claude AI to your station

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.

https://www.npmjs.com/package/@powerfm/libretime-mcp

1 Like

Nice, I also started working on a similar project, but due to lack of time I never managed to get it fully working.

Do you plan to make the repository public (github.com/nelsonra/libretime-mcp)? I’d love to take a look and possibly contribute if that’s something you’re open to.

1 Like

Hi Jee, I will do very soon. I wanted to see what I could do with making the hosted (http server) version more secure before I opened it up.

1 Like

Hi Jee,

I changed the repo to public and added the steps for the hosted mcp server:

1 Like