Skip to content
LangChain

Unofficial Apple Music for macOS for LangChain

io.github.jaminben/secure-applemusic-mcp-for-osx

Ask for a playlist. Get a real one, playing in Apple Music — no account, nothing stored.

client:LangChain transport:stdio runtime:pypi

Install Unofficial Apple Music for macOS in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "secure-applemusic-mcp-for-osx": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["secure-applemusic-mcp-for-osx"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Unofficial Apple Music for macOS in other clients