Spotify MCP Server & Link API

All SpotiURL tools (URL ↔ URI conversion, ID extraction, link cleaning, and embed code generation) are available as a free hosted MCP server and a plain REST API. No API key, no sign-up, no rate card. Connect it to Claude, ChatGPT, Cursor, or any MCP-capable client and convert Spotify links without leaving your chat.

MCP Endpoint (Streamable HTTP)
https://spotiurl.com/api/mcp/

Available Tools

Tool What it does
convert_spotify_link Convert any Spotify URL or URI to its counterpart. Returns type, 22-character ID, canonical URI, and canonical URL. Handles locale-prefixed URLs (/intl-de/) and legacy user-playlist formats.
convert_spotify_links_bulk Convert up to 500 mixed URLs/URIs in a single call. Invalid entries return per-item errors instead of failing the batch.
clean_spotify_link Strip tracking parameters (si, utm_*, context, nd) from a Spotify share link and return the canonical clean URL.
generate_spotify_embed Generate ready-to-paste iframe embed HTML for tracks, albums, artists, playlists, shows, and episodes. Configurable size and theme.

Connect From Your Client

Claude Code

Terminal
claude mcp add --transport http spotiurl https://spotiurl.com/api/mcp/

Claude Desktop & claude.ai

Go to Settings → Connectors → Add custom connector, name it SpotiURL, and paste https://spotiurl.com/api/mcp/ as the remote MCP server URL. No authentication needed.

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "spotiurl": {
      "url": "https://spotiurl.com/api/mcp/"
    }
  }
}

Any other MCP client

The server speaks the standard MCP Streamable HTTP transport (stateless, JSON responses). Point any MCP-compatible client (VS Code, Windsurf, ChatGPT developer mode, custom agents) at https://spotiurl.com/api/mcp/.

REST API

Prefer plain HTTP? The same logic is exposed as simple GET endpoints returning JSON:

Endpoint Parameters Returns
GET /api/convert input: a Spotify URL or URI type, id, uri, url
GET /api/clean url: a Spotify URL clean_url, removed_params
GET /api/embed input, optional size (compact | normal | large), theme (dark | light) embed_url, iframe_html
Example
curl 'https://spotiurl.com/api/convert/?input=spotify:track:6rqhFgbbKwnb9MLmUQDhG6'

{
  "type": "track",
  "id": "6rqhFgbbKwnb9MLmUQDhG6",
  "uri": "spotify:track:6rqhFgbbKwnb9MLmUQDhG6",
  "url": "https://open.spotify.com/track/6rqhFgbbKwnb9MLmUQDhG6"
}

FAQ

Is it really free? Are there rate limits?

Yes, free, same as every tool on this site. There are no hard rate limits today; it runs on serverless infrastructure and normal usage (including bulk conversion of hundreds of links) is fine. If you're planning sustained high-volume automated use, the conversion is simple string manipulation you can also implement directly; see the format rules on our FAQ.

Does it call the Spotify API? Can it verify a link exists?

No. All tools are pure string transformations between the two Spotify identifier formats. Nothing is looked up against Spotify, which also means the server can't tell you whether an ID actually exists, only whether it's structurally valid.

What data do you store?

Nothing. Requests are processed in memory and the response is returned; links you convert are not logged, stored, or analyzed beyond standard transient hosting logs.

Which Spotify content types are supported?

Tracks, albums, artists, playlists, shows (podcasts), and episodes, plus legacy user-playlist URL and URI formats, which normalize to the modern playlist format.

Related Tools