wherever.audio

Connect an agent to Wherever

Wherever can be driven by an AI agent running on your computer, such as Claude Code. The app registers its actions as WebMCP tools: the agent can search for shows, read your library and listening history, sort follows into Lists, build a queue, and play it. The agent talks to the app in your browser through Chrome’s remote debugging. Nothing sits in between: no Wherever server, no account.

This is experimental. WebMCP is a Chrome preview, and the setup below gives the agent control of a browser. Read Before you start first.

Contents

Before you start

Use at your own risk.

On a computer

Tested with Chrome 158 and Claude Code. Any MCP client that can run chrome-devtools-mcp works the same way.

  1. Add the browser to your agent:

    claude mcp add wherever-browser -- npx chrome-devtools-mcp@latest --categoryExperimentalWebmcp
    

    When the agent first uses it, chrome-devtools-mcp opens a separate Chrome window with its own data folder (~/.cache/chrome-devtools-mcp/chrome-profile). Everything below happens in that window, which keeps its settings between sessions.

  2. In that window, open chrome://flags/#enable-webmcp-testing, set it to Enabled, and relaunch it (ask the agent to open a page again if the window closes).
  3. Open wherever.audio there, then turn on Settings › Advanced › WebMCP tools. Import or follow your shows in this window; it doesn’t share data with your everyday Chrome.
  4. Ask the agent to list Wherever’s tools.

Settings are per device and per browser, so turn on WebMCP tools wherever you use it.

On an Android phone

The agent runs on your computer and drives Chrome, or the installed Wherever app, on the phone over USB. It can see every Chrome tab on the phone, so close the ones you don’t want it to see, and turn USB debugging off when you’re done.

  1. On the phone, turn on USB debugging (Settings › Developer options) and connect it.
  2. In Chrome on the phone, enable chrome://flags/#enable-webmcp-testing, then turn on Settings › Advanced › WebMCP tools in Wherever.
  3. On the computer, forward the phone’s debugging port:

    adb forward tcp:9222 localabstract:chrome_devtools_remote
    
  4. Add the phone to your agent:

    claude mcp add chrome-devtools-phone -- npx chrome-devtools-mcp@latest --wsEndpoint=ws://127.0.0.1:9222/devtools/browser/ --categoryExperimentalWebmcp
    
  5. Close other Chrome tabs on the phone, leaving Wherever open. Android pauses background tabs, and the connection waits on every one of them.

What the agent can do

The tools, grouped the way the app is:

Area Tools
Playback play, pause, resume, seek, skip, playback rate, what’s playing
Queue list, add, remove, move, clear; create, rename, switch and delete named queues
Shows search, read episodes, search a show’s episodes, follow, unfollow
Library your follows, progress, listening history, unfollow several at once
Lists list, read, create, add and remove shows, share, delete
Episodes download, delete a download, mark done
App open a show page or Now Playing

Tool names use underscores (playback_play, library_follows). Each tool describes its own arguments, and the agent reads them when it connects.

When Wherever asks first

There are two layers of consent:

  1. Chrome asks whether a tool may connect to the browser.
  2. Wherever asks before an agent changes your library (follows, Lists, downloads, queues), and always before anything destructive or outbound: unfollowing several shows, deleting a List, sharing, creating a link. It also asks before the agent opens a feed you haven’t seen, showing the full URL, since a crafted feed URL could carry your data to another host. Reads, navigation and playback don’t ask.

Activity out: webhooks

Agents can also learn from what you do. Wherever can send your listening activity (plays, follows, queue changes) as signed webhooks to a receiver you choose: