Skip to content
MCP server

Traktor MCP

MCP server that inspects and repairs a Traktor DJ collection file from an AI client

Runs locally

Traktor MCP is an open-source MCP server for music data. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Windows
Runs
Locally
What it can do
Can delete data (1 tool)
Version
0.1.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add traktor-mcp -- uvx traktor-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "traktor-mcp": {
      "command": "uvx",
      "args": [
        "traktor-mcp"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "traktor-mcp": {
      "command": "uvx",
      "args": [
        "traktor-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "traktor-mcp": {
      "command": "uvx",
      "args": [
        "traktor-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "traktor-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "traktor-mcp"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add traktor-mcp -- uvx traktor-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.traktor-mcp]
command = "uvx"
args = ["traktor-mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "traktor-mcp": {
      "command": "uvx",
      "args": [
        "traktor-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "traktor-mcp": {
          "command": "uvx",
          "args": [
            "traktor-mcp"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user traktor-mcp uvx -- traktor-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "traktor-mcp": {
          "command": "uvx",
          "args": [
            "traktor-mcp"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "traktor-mcp": {
          "command": "uvx",
          "args": [
            "traktor-mcp"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "traktor-mcp": {
          "command": "uvx",
          "args": [
            "traktor-mcp"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "traktor-mcp": {
          "command": "uvx",
          "args": [
            "traktor-mcp"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "traktor-mcp": {
          "command": "uvx",
          "args": [
            "traktor-mcp"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "traktor-mcp": {
          "command": "uvx",
          "args": [
            "traktor-mcp"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "traktor-mcp": {
          "command": "uvx",
          "args": [
            "traktor-mcp"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Traktor MCP

Traktor MCP lets an MCP-compatible client read a Traktor collection and plan updates to it. It reports which entries point to replaced audio files, which new files in the configured music folders could be added, and which tracks have gone missing. Writes are split into separate steps, so a user can review a plan before anything changes.

The server relies on the traktor-nml library to edit collection.nml directly, so entries are repointed or added without hand-editing the XML. Untouched entries keep their original markup, and a backup is made before any write. Removing entries whose files are missing is a separate, preview-first operation.

It suits DJs and music librarians who maintain large Traktor libraries on a single machine and want to tidy them up with an assistant. It does not control playback or decks during a set.

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 4 tools deletes data; 2 names don't say.

From the server's own tool labels and tool names; not verified by us.

statusName suggests: reads
Summarise the collection and configured music directories.
plan
List proposed replacements, additions and missing files.
apply
Repoint replaced files and add new files; remove no entries.
purgeName suggests: deletes
Remove entries whose files are missing; preview by default.

What it does

Collection status summary
Reports the state of the Traktor collection and the configured music directories.
Preview before writing
Lists proposed replacements, additions and missing files without touching the collection file.
Repoint replaced files
Updates entries when audio files have been replaced, keeping the rest of the XML intact.
Import new tracks
Adds files from the lossless and lossy music folders to the collection.
Guarded purge of missing files
Previews removal of entries whose files are gone and only deletes them when explicitly asked.
Automatic backups
Backs up the collection file before any write operation.

Good for

  • Repoint Traktor tracks after re-encoding or replacing audio files
  • Import newly downloaded music into an existing Traktor collection
  • Find and review entries whose audio files are missing before cleaning them up
  • Audit a large DJ library from an AI assistant before making changes

Pricing

Open source

Traktor MCP FAQ

Does Traktor MCP control Traktor during a performance?

No. It is limited to collection maintenance and does not handle playback or live deck control.

Can Traktor MCP change my collection without asking?

Plan and status only read the collection. Apply and purge write to it, and purge only removes entries when apply is set to true.

What should I do before running a write?

Close Traktor first, because it rewrites the collection on exit. Both write operations refuse to run while Traktor is open.

What does Traktor MCP need to run?

Python 3.13 or later and uv, with access to the Traktor collection and music folders on the same machine. It runs locally over stdio.

Is Traktor MCP free?

Yes. Traktor MCP is open source, so you can use and self-host it for free.

How do I add Traktor MCP to Claude Code?

Run this command in your terminal: claude mcp add traktor-mcp -- uvx traktor-mcp

What are the best alternatives to Traktor MCP?

The closest alternatives to Traktor MCP are Serato DJ library, Spotify MCP by UnClick, Spotify Bulk Actions MCP, Tracktag MCP and DropTrack.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers