How to Query Live Spotify Data in Perplexity MacOS Desktop

Yazhini G
Yazhini G
Technical Marketing Engineer
Connect to and query live Spotify Data in Perplexity Desktop using CData MCP Server.

Perplexity is an AI-powered research and answer engine that allows users to combine web search, structured data, and connected tools through a unified conversational interface. With Perplexity Desktop for macOS, users can bring local tools and data sources directly into their workflow using MCP, enabling fast, context-aware insights powered by live data.

Model Context Protocol (MCP) is an emerging, open-source standard for connecting LLMs with external services and enterprise data sources. Using MCP Servers, AI clients such as Perplexity Desktop can securely interact with applications and data, performing actions, retrieving live information, and enabling natural language access to data.

CData MCP Server provides schema-aware context to AI tools — whether you're using it for AI-assisted code generation in IDEs like Cursor, or for querying live data through chat interfaces like Perplexity Desktop.

In this article, we guide you through installing CData API Driver for MCP Server, configuring the connection to Spotify, and interacting with your live Spotify data from Perplexity Desktop.

Step 1: Download and install CData API Driver for MCP Server

  1. To begin, download CData API Driver for MCP Server
  2. Find and double-click the installer to begin the installation
  3. Drag the MCP Server app into the Applications folder

When the installation is complete, you are ready to configure MCP Server by connecting to Spotify.

NOTE: Since you downloaded the application from the internet and not the Apple App Store, you may see a warning that the application was not opened because Apple could not verify its security. You may continue with the installation.

Installing a trusted, unverified App

CData's solutions are trusted across the globe by some of the largest software vendors in the world. That said, if you have any concerns about continuing, please consult with your IT and/or security team.

  1. In the warning message that pops up, click "Done"
  2. Open "System Settings" on your machine and navigate to the "Privacy & Security" page
  3. Scroll down to the "Security" section and click "Open Anyway"
  4. Authorize the installation (passkey or password)

Step 2: Configure the Connection to Spotify

  1. After installation, you can open CData API Driver for MCP Server from the Applications folder on your mac
  2. Click the dropdown menu in MCP Configuration > Configuration Name and select "new configuration"
  3. Name the configuration (e.g. "cdata_api") and click "OK"
  4. Enter the appropriate connection properties in the configuration wizard.

    Using OAuth Authentication

    Spotify uses OAuth 2.0 for authentication. You will need to create an application in the Spotify Developer Dashboard to obtain your client credentials.

    Setting Up Your Spotify Application

    1. Visit the Spotify Developer Dashboard.
    2. Log in with your Spotify account and click Create app.
    3. Provide an app name, description, and set a Redirect URI (e.g.,
      http://localhost:33333
      for desktop applications).
    4. Copy your Client ID and Client Secret from the app settings.

    Connection Properties

    After setting the following connection properties, you are ready to connect:

    • AuthScheme: Set this to OAuth.
    • InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to manage the process to obtain the OAuthAccessToken.
    • OAuthClientId: Set this to your Spotify application's Client ID.
    • OAuthClientSecret: Set this to your Spotify application's Client Secret.
    • Scope: Set this to the required OAuth scopes (space-separated). The default includes all read scopes needed for the tables in this profile.
    • CallbackURL: Set this to the Redirect URI configured in your Spotify application (e.g., http://localhost:33333).

    Example Connection String

    Profile=C:\profiles\Spotify.apip;AuthScheme=OAuth;InitiateOAuth=GETANDREFRESH;OAuthClientId=your_client_id;OAuthClientSecret=your_client_secret;CallbackURL=http://localhost:33333;
    

    Available OAuth Scopes

    • user-read-private: Read access to user's subscription details and explicit content settings.
    • user-read-email: Read access to user's email address.
    • user-library-read: Read access to a user's saved tracks, albums, episodes, shows, and audiobooks.
    • playlist-read-private: Read access to user's private playlists.
    • playlist-read-collaborative: Read access to collaborative playlists the user follows.
    • user-follow-read: Read access to the list of artists the current user follows.
    • user-read-playback-state: Read access to a user's player state (device, current track, progress).
    • user-read-currently-playing: Read access to a user's currently playing content.
    • user-read-playback-history: Read access to a user's recently played tracks.
    • user-top-read: Read access to a user's top artists and tracks.
  5. Click "Connect" to authenticate with Spotify through OAuth.
  6. Click "Save Configuration" to save the configuration

With MCP Server configured, you are ready to connect it to Perplexity Desktop.

Step 3: Connect MCP Server to Perplexity Desktop

  1. Download the Perplexity Desktop application for macOS and sign in with your Pro or Premium account
  2. Open Settings > Connectors. If the Perplexity Helper App is not installed, you will be prompted to download it. Install the Helper App, then restart Perplexity Desktop
  3. After restarting, return to Settings > Connectors and click Add Connector
  4. Select the Simple tab and assign a name for the connector (e.g., "CData Spotify"). In the Command box, enter the absolute path to the MCP Server executable.

    For example:

    	/Applications/CData API Driver for MCP Server.app/Contents/Payload/jre/Contents/Home/bin/java \
    	-jar /Applications/CData API Driver for MCP Server.app/Contents/Payload/lib/cdata.mcp.api.jar \
    	cdata_api
    
  5. Click Save. MCP Server should now appear in the connector list with a "Running" status

Step 4: Query Your Live Spotify data in Perplexity Desktop

  1. Open a new chat in Perplexity Desktop. Click the Sources toggle and enable MCP Server
  2. Start asking questions about your Spotify data. For example:

    "List all the tables available in my Spotify data connection."

Build with MCP Server. Deploy with CData Drivers.

Download MCP Server for free and give your AI tools schema-aware access to live Spotify data during development. When you're ready to move to production, CData Spotify Drivers deliver the same SQL-based access with enterprise-grade performance, security, and reliability.

Visit the CData Community to share insights, ask questions, and explore what's possible with MCP-powered AI workflows.

Ready to get started?

Connect to live data from Spotify with the API Driver

Connect to Spotify