Skip to content
LangChain

Spotify Audio Features for LangChain

io.musicae/spotify-audio-features

Spotify audio features (tempo, key, energy, danceability, valence) for any track. No API key.

client:LangChain transport:streamable-http

Install Spotify Audio Features in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "spotify-audio-features": {
            "transport": "streamable_http",
            "url": "https://mcp.apify.com?tools=musicae/spotify-audio-features-scraper",
        }
})

tools = await client.get_tools()

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

Spotify Audio Features in other clients