beatport-mcp
Provides tools for searching the Beatport catalog (with BPM, key, and mix info), listing, creating, and adding tracks to Beatport playlists, and authenticating with a Beatport account.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@beatport-mcpAdd Bicep Glue and Overmono So U Kno to my Sunset Set playlist."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
beatport-mcp
An MCP (Model Context Protocol) server that lets Claude search the Beatport catalog and manage your Beatport playlists. Hand Claude a list of track names and say "add these to my Sunset Set playlist" — it resolves each one to a Beatport track and writes them to the playlist for you.
Beatport has no obtainable official API access, so this server uses the same auth
workaround as the beets-beatport4 plugin:
it borrows the public client_id from Beatport's own /v4/docs/ page and runs a
cookie-session authorization_code OAuth flow against your own account.
Disclaimer: This is an unsanctioned workaround in a ToS grey area. Use it for personal, non-commercial purposes on your own account only. It can break without notice whenever Beatport changes their docs page or API.
Use cases
Tracklist → playlist. Paste a tracklist from 1001Tracklists, a radio show, a festival set, or a screenshot, and have Claude rebuild it as a Beatport playlist ready to buy from.
Migrate playlists from other platforms. Export a Spotify/Apple Music playlist (or a rekordbox collection) as text and let Claude re-match every track on Beatport.
Set prep with BPM/key data. Search results include BPM and musical key, so you can ask for things like "find these tracks and add the ones between 122–126 BPM, prefer extended mixes" — useful for harmonic mixing prep.
Digging assistant. "Search Beatport for the new remixes of X and stage anything interesting in my 'To Review' playlist" — Claude searches, filters, and files them.
Crate building by brief. Describe a vibe ("peak-time melodic techno, 128–132"), let Claude propose tracks it knows, verify each exists on Beatport, and build the playlist in one conversation.
Related MCP server: Spotify MCP Server
Tools
Tool | Description |
| Returns the authenticated account. Auth smoke test. |
| Search the catalog. Returns id, title, mix, artists, BPM, key, release per match. |
| List all your playlists (id, name, track count, visibility). |
| Create a playlist by name. |
| Batch-add tracks (by id) to a playlist (by id). |
Tools are deliberately atomic — the "list of songs → playlist" orchestration happens in the model at runtime: it searches each line, picks the best match, then makes one add call.
Requirements
Bun ≥ 1.0 (
curl -fsSL https://bun.sh/install | bash)A Beatport account (username + password)
Claude Code or Claude Desktop (or any other MCP client)
Install
git clone https://github.com/BadWasabeee/beatport-mcp.git
cd beatport-mcp
bun install
cp .env.example .env # then edit .env with your Beatport credentials.env lives in the project root and is read by the server itself, so your credentials
never need to appear in any MCP client config:
BEATPORT_USERNAME=you@example.com
BEATPORT_PASSWORD=your-passwordVerify it works
bun run smoke "Bicep Glue"Expected output: your account name, then five candidate tracks with BPM and key. This exercises the full auth flow plus catalog search.
Register with Claude
Claude Code:
claude mcp add --scope user beatport -- bun run /ABSOLUTE/PATH/TO/beatport-mcp/src/index.tsClaude Desktop — add to claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"beatport": {
"command": "/ABSOLUTE/PATH/TO/bun",
"args": ["run", "/ABSOLUTE/PATH/TO/beatport-mcp/src/index.ts"]
}
}
}Use the absolute path to bun (which bun) — Claude Desktop doesn't inherit your shell's
PATH. Fully quit and relaunch Claude Desktop afterwards, then start a new conversation.
Local MCP servers only work in clients running on the same machine (Claude Code, Claude Desktop). They are not reachable from claude.ai in a web browser or the mobile apps.
Usage
In a fresh Claude session:
Add these to my Sunset Set playlist: Bicep — Glue, Charlotte de Witte — Doppler, Overmono — So U Kno
Claude will search each track, pick the best match (asking you when it's ambiguous), and batch-add them. If the playlist doesn't exist, ask it to create one first.
How auth works
Scrapes the public
client_idfrom the script bundles onapi.beatport.com/v4/docs/(override withBEATPORT_CLIENT_IDif the scrape breaks).POST /auth/login/with your credentials establishes a cookie session.GET /auth/o/authorize/with those cookies yields an authorization code.POST /auth/o/token/exchanges the code for access + refresh tokens.
Tokens persist to ~/.beatport-mcp/token.json (chmod 600, override the path with
BEATPORT_TOKEN_PATH) and refresh automatically on expiry, falling back to a full
re-login if the refresh is rejected. Credentials and tokens are never logged.
Troubleshooting
"BEATPORT_USERNAME and BEATPORT_PASSWORD must be set" — no
.envin the project root and no env vars passed by the MCP client."Beatport login failed (HTTP 4xx)" — wrong credentials, or Beatport is challenging the login (try logging into the website once, then retry).
"API_CLIENT_ID not found in any /docs/ script bundle" — Beatport changed their docs page. Find the new client id (DevTools → Network on the docs page) and set
BEATPORT_CLIENT_IDin.env.Stale auth weirdness — delete
~/.beatport-mcp/token.json; the next call re-runs the full flow.
Development
bun run start # start the stdio MCP server
bun run smoke [q] # auth smoke test + optional catalog search
bunx tsc --noEmit # typechecksrc/auth.ts— OAuth flow, token persistence/refreshsrc/client.ts— Beatport API client (search, playlists)src/index.ts— MCP server and tool definitionssrc/smoke.ts— standalone CLI check, no MCP client needed
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/BadWasabeee/beatport-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server