Tag-per-Track MCP Server is a local Model Context Protocol (MCP) server designed to enable AI agents (such as Claude) to perform music analysis, lyrics transcription, and Spotify A&R tracking on audio files through the Tag-per-Track API. It supports two authentication methods: Studio API key (prepaid credits, no cryptocurrency required) or Web3 wallet (automatically handles USDC micropayments via the x402 protocol on the Base network).
Main capabilities include:
- analyze_audio: extracts BPM, genre, mood, key, instruments, production metrics, optional lyrics and structured lyrics analysis, AI-generated music detection (Suno, Udio, etc.), and server-side A&R assessment.
- analyze_audio_with_lyrics: extracts full music metadata, transcribes full vocal lyrics, returns structured lyrics analysis (local metrics + semantic analysis) and AI-origin integrity metrics.
- analyze_audio_batch: analyzes multiple tracks in parallel, with AI-origin detection performed for each track, greatly reducing processing time for albums and playlists.
- triage_demo_folder: one-click organization of a local demo folder, including analysis, extraction of artist/title from filenames or audio tags, Spotify popularity, A&R score v2 recalculation, and generation of a compact ranked report with categories (priority, listen, pass, ai_flagged, error).
- lookup_artist_stats: retrieves public Spotify streaming popularity (monthly listeners, followers, popularity score, genres) for hybrid A&R eligibility assessment.
Usage: add the server to Claude Desktop, Cursor, Windsurf, or other MCP clients via a configuration file (such as claude_desktop_config.json). Supports selective audio compression (automatically compresses large files to 128 kbps AAC), dual authentication (Studio API key takes precedence over Web3 wallet), automated x402 payments, client-side financial protection (default maximum 0.50 USDC per call), and strict audio format validation.
Use cases: music A&R screening, batch demo triage, audio metadata extraction, AI-generated music detection, lyrics analysis, etc.
Limitations: requires credits or wallet payment for the Tag-per-Track API; some features depend on external services (such as Spotify queries); x402 payment mode does not persist data by default, while Studio API key mode saves history records (unless environment variables are set).