shazam

shazam

3.5

Shazam MCP Server is a backend service for song identification and music discovery.

The Shazam MCP Server provides a comprehensive suite of functionalities designed to enhance your music-related applications. With this server, you can identify songs, discover artists, explore music charts, and get event listings. It offers detailed artist profiles, music charts by cities, countries, and genres, and allows you to explore related songs and albums. The server is designed to provide high performance and reliability, ensuring a seamless experience for your users.

Features

  • Identify Songs: Instantly identify any song playing around you and get detailed information.
  • Discover Artists: Access detailed artist profiles, including their top songs, latest releases, and summaries.
  • Explore Music: Discover music charts by cities, countries, and genres, and explore related songs and albums.
  • Event Listings: Get a list of future music events and concerts by your favorite artists.

MCP Tools

  • List Future Events: Retrieve upcoming events and concerts for specific artists.
  • Search: Search for songs or artists that match your input term.
  • Auto-Complete: Get suggestions for songs or artists based on partial input.
  • Charts List: View all available music charts categorized by cities, countries, and genres.
  • Get Artist Details: Obtain detailed profiles of artists.

Usage with Different Platforms

python

python
import requests

url = 'https://api.shazam.com/v1/songs/detect'
headers = {'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}

response = requests.post(url, headers=headers, data={'audio': 'base64_encoded_audio'})
print(response.json())

nodejs

javascript
const axios = require('axios');

axios.post('https://api.shazam.com/v1/songs/detect', {
  headers: {
    'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
  },
  data: {
    audio: 'base64_encoded_audio'
  }
})
.then(response => console.log(response.data))
.catch(error => console.error(error));