# LibreTime MCP Server — connect Claude AI to your station

**URL:** <https://discourse.libretime.org/t/libretime-mcp-server-connect-claude-ai-to-your-station/1972>\
**Category:** Dev Talk\
**Created:** [March 26, 2026, 3:38am UTC](https://discourse.libretime.org/t/libretime-mcp-server-connect-claude-ai-to-your-station/1972 "2026-03-26T03:38:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nelsonra](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/nelsonra/32/694_2.png) [@nelsonra](https://discourse.libretime.org/u/nelsonra)\
**Post date:** [March 26, 2026, 3:38am UTC](https://discourse.libretime.org/t/libretime-mcp-server-connect-claude-ai-to-your-station/1972/1 "2026-03-26T03:38:42Z")

</div>

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](https://www.npmjs.com/package/@powerfm/libretime-mcp)

---

<div class="post-metadata">

**Author:** ![Jee](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/jee/32/869_2.png) [@Jee](https://discourse.libretime.org/u/Jee)\
**Post date:** [March 26, 2026, 8:49am UTC](https://discourse.libretime.org/t/libretime-mcp-server-connect-claude-ai-to-your-station/1972/2 "2026-03-26T08:49:58Z")

</div>

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](http://github.com/nelsonra/libretime-mcp))? I’d love to take a look and possibly contribute if that’s something you’re open to.

---

<div class="post-metadata">

**Author:** ![nelsonra](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/nelsonra/32/694_2.png) [@nelsonra](https://discourse.libretime.org/u/nelsonra)\
**Post date:** [March 26, 2026, 9:11am UTC](https://discourse.libretime.org/t/libretime-mcp-server-connect-claude-ai-to-your-station/1972/3 "2026-03-26T09:11:55Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nelsonra](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/nelsonra/32/694_2.png) [@nelsonra](https://discourse.libretime.org/u/nelsonra)\
**Post date:** [March 28, 2026, 9:27am UTC](https://discourse.libretime.org/t/libretime-mcp-server-connect-claude-ai-to-your-station/1972/4 "2026-03-28T09:27:25Z")

</div>

Hi Jee,

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

> **[GitHub - nelsonra/libretime-mcp: Small Project to explore creating MCP server using...](https://github.com/nelsonra/libretime-mcp)**
>
> Small Project to explore creating MCP server using MCP SDK. Exposes Libratime APIs via MCP.
