Audius MCP Server

Audius MCP Server

Model Context Protocol server for Audius. Contribute to glassBead-tc/audius-mcp development by creating an account on GitHub.

glassBead-tc

Entertainment & Media
Visit Server

README

Audius MCP Server

An MCP (Model Context Protocol) server that provides access to the Audius music platform via LLMs (Large Language Models).

Features

  • Tools: Query tracks, users, playlists, albums, and perform searches on Audius
  • Resources: Access track, user, playlist, and album data as resources
  • Prompts: Use prompt templates for music discovery and track analysis

Prerequisites

  • Node.js 16 or higher
  • An Audius API key (optional, but recommended for production use)

Installation

  1. Clone this repository:
git clone https://github.com/yourusername/audius-mcp.git
cd audius-mcp
  1. Install dependencies:
npm install
  1. Build the TypeScript code:
npm run build

Configuration

Create a .env file in the root directory based on the provided .env.example:

# Audius API Configuration
AUDIUS_API_KEY=your_api_key_here
AUDIUS_API_SECRET=your_api_secret_here
AUDIUS_ENVIRONMENT=production # or staging, development

# MCP Server Configuration
SERVER_NAME=audius-mcp
SERVER_VERSION=1.0.0

Usage

Running the Server

Start the server:

npm start

For development with automatic rebuilding:

npm run dev

Connecting to Claude for Desktop

To use this server with Claude for Desktop:

  1. Install Claude for Desktop
  2. Open Claude's configuration: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
  3. Add the following configuration:
{
  "mcpServers": {
    "audius": {
      "command": "node",
      "args": [
        "/path/to/audius-mcp/build/index.js"
      ],
      "env": {
        "AUDIUS_API_KEY": "your_api_key_here",
        "AUDIUS_API_SECRET": "your_api_secret_here"
      }
    }
  }
}
  1. Restart Claude for Desktop

Available Tools

The server provides the following tools:

Track Tools

  • get-track: Get detailed track information by ID
  • search-tracks: Search for tracks with various filters
  • get-trending-tracks: Get trending tracks
  • get-track-comments: Get comments for a track

User Tools

  • get-user: Get user profile by ID
  • search-users: Search for users
  • get-user-tracks: Get tracks uploaded by a user

Playlist & Album Tools

  • get-playlist: Get playlist details
  • get-album: Get album details

Search Tools

  • search-all: Search across tracks, users, playlists, and albums

Resources

Access Audius data using these URI templates:

  • audius://track/{id}: Track details by ID
  • audius://user/{id}: User profile by ID
  • audius://playlist/{id}: Playlist details by ID
  • audius://album/{id}: Album details by ID

Prompts

Use these prompt templates for common music-related tasks:

  • discover-music: Get music recommendations based on genre, artist, and mood preferences
  • track-analysis: Analyze a track's characteristics and get insights

Development

Project Structure

├── src/
│   ├── index.ts          # Entry point
│   ├── server.ts         # MCP server setup
│   ├── config.ts         # Configuration handling
│   ├── sdk-client.ts     # Audius SDK client wrapper
│   ├── tools/            # MCP tool implementations
│   │   ├── tracks.ts     # Track-related tools
│   │   ├── users.ts      # User-related tools
│   │   ├── playlists.ts  # Playlist-related tools
│   │   └── search.ts     # Search-related tools
│   ├── resources/        # MCP resource implementations
│   │   ├── tracks.ts     # Track-related resources
│   │   ├── users.ts      # User-related resources
│   │   └── playlists.ts  # Playlist-related resources
│   └── prompts/          # MCP prompt implementations
│       ├── music-search.ts  # Music search prompts
│       └── track-info.ts    # Track info prompts

Testing

For local development testing:

  1. Install the MCP Inspector:
npm install -g @modelcontextprotocol/inspector
  1. Run the inspector with your server:
npx @modelcontextprotocol/inspector node ./build/index.js

License

MIT

Recommended Servers

YouTube Transcript MCP Server

YouTube Transcript MCP Server

This server retrieves transcripts for given YouTube video URLs, enabling integration with Goose CLI or Goose Desktop for transcript extraction and processing.

Featured
Python
The Verge News MCP Server

The Verge News MCP Server

Provides tools to fetch and search news from The Verge's RSS feed, allowing users to get today's news, retrieve random articles from the past week, and search for specific keywords in recent Verge content.

Featured
TypeScript
MCP Spotify Server

MCP Spotify Server

Enables interaction with Spotify's music catalog via the Spotify Web API, supporting searches, artist information retrieval, playlist management, and automatic token handling.

Featured
TypeScript
mcp-server-youtube-transcript

mcp-server-youtube-transcript

A Model Context Protocol server that enables retrieval of transcripts from YouTube videos. This server provides direct access to video captions and subtitles through a simple interface.

Featured
JavaScript
MCP-AppleMusic

MCP-AppleMusic

Facilitates controlling Apple Music on macOS via AppleScript through MCP commands, allowing users to manage playback, search for tracks, and create playlists.

Local
Python
YouTube MCP Server

YouTube MCP Server

Uses yt-dlp to download subtitles from YouTube and connects it to claude.ai via Model Context Protocol.

Local
JavaScript
@kazuph/mcp-youtube

@kazuph/mcp-youtube

A Model-Context Protocol Server for YouTube in Jp

Local
TypeScript
YouTube Music MCP Server

YouTube Music MCP Server

An MCP server that allows AI models to control YouTube Music playback through Google Chrome by searching and playing songs using song and artist names.

Local
JavaScript
Youtube MCP Server

Youtube MCP Server

Bridges YouTube API and AI assistants, enabling video analysis by downloading and processing closed captions to create summaries of YouTube videos.

Local
Python
Spotify MCP Server

Spotify MCP Server

A server that connects Claude with Spotify, allowing users to control playback, search content, get information about tracks/albums/artists/playlists, and manage the Spotify queue.

Local
Python