MixCraft
Give Claude access to your music library. MixCraft is a hosted MCP server that connects Claude to Apple Music, letting Claude search your library, build playlists, and learn your taste over time.
README
MixCraft
Give Claude access to your music library. MixCraft is a hosted MCP server that connects Claude to Apple Music, letting Claude search your library, build playlists, and learn your taste over time.
mixcraft.app — set up in 60 seconds.
Spotify support: Spotify's developer program restricts apps to a manually-managed allowlist that cannot be expanded for public distribution, so the hosted
mixcraft.appdeploy is Apple Music only. The full Spotify integration (adapter, OAuth, refresh logic) lives in this repo behind a single deploy-time flag — fork it, register your own Spotify dev app, and self-host for yourself and a few friends. See docs/SELF-HOSTING.md.

Quick Start
1. Connect your music
Visit mixcraft.app, sign in, and connect Apple Music. (Self-hosted forks with enableSpotify flipped on can also connect Spotify here.)
2. Add MixCraft to Claude
claude.ai / Desktop
Connector (recommended for claude.ai) — no API key needed:
- Go to Customize > Connectors > + > Add custom connector
- Fill in:
- Name:
Mixcraft - Remote MCP server URL:
https://mcp.mixcraft.app/mcp
- Name:
- Expand Advanced settings and add:
- OAuth Client ID:
FLECRN3FqkNiXtGI
- OAuth Client ID:
- Click Add, then sign in with your MixCraft account to authorize

Once connected, MixCraft appears in your connectors with all available tools:

Plugin — includes the playlist assistant skill for smarter curation:
- Click the + button next to the prompt box and select Plugins
- Select Add plugin to open the plugin browser
- Find MixCraft and install it (choose User, Project, or Local scope)
If the marketplace isn't listed, add it first: run /plugin, go to the Marketplaces tab, and add schuettc/mixcraft-app.
Set your API key in your shell profile (.bashrc, .zshrc, etc.):
export MIXCRAFT_API_KEY="mx_your_key_here"
Claude Code CLI
Plugin (recommended) — includes the playlist assistant skill:
/plugin marketplace add schuettc/mixcraft-app
/plugin install mixcraft@mixcraft-app
/reload-plugins
Set your API key in your shell profile (.bashrc, .zshrc, etc.):
export MIXCRAFT_API_KEY="mx_your_key_here"
MCP only — tools without the playlist assistant skill:
Add to your project's .mcp.json (replace mx_your_key_here with your API key from mixcraft.app):
{
"mcpServers": {
"mixcraft": {
"command": "npx",
"args": ["-y", "mixcraft-app@latest"],
"env": {
"MIXCRAFT_API_KEY": "mx_your_key_here"
}
}
}
}
Claude Desktop
Add to your config file (replace mx_your_key_here with your API key):
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"mixcraft": {
"command": "npx",
"args": ["-y", "mixcraft-app@latest"],
"env": {
"MIXCRAFT_API_KEY": "mx_your_key_here"
}
}
}
}
3. Use it
Just ask Claude about music:
- "Make me a playlist for a long drive"
- "What have I been listening to lately?"
- "Add some new songs to my workout playlist"
- "Find me something like Radiohead but more electronic"
- "I need focus music for coding"
What You Get
MCP Tools
Tools are registered based on which services you've connected. When both Apple Music and Spotify are connected, tools are prefixed (apple_music_*, spotify_*) so Claude knows which service to use.
Shared tools (available for both services):
| Tool | Description |
|---|---|
search_catalog |
Search songs, albums, and artists |
list_playlists |
List your library playlists |
get_playlist_tracks |
Get tracks in a playlist |
create_playlist |
Create a new playlist |
add_tracks |
Add tracks to a playlist |
get_recently_played |
Recent listening history |
get_library_songs |
Songs in your library |
add_to_library |
Add songs or albums to your library |
Spotify-only tools (registered only when Spotify is connected; requires a self-hosted deploy with enableSpotify=true):
| Tool | Description |
|---|---|
remove_playlist |
Remove (unfollow) a playlist |
remove_tracks_from_playlist |
Remove specific tracks from a playlist |
reorder_playlist_tracks |
Reorder tracks in a playlist |
update_playlist |
Rename, update description, or change visibility |
remove_from_library |
Remove songs or albums from your library |
get_top_items |
Your top artists or tracks by listening history |
Playlist Assistant Skill
The plugin includes a skill that teaches Claude to be a thoughtful music companion:
- Knows your taste — checks your recently played and library before recommending anything
- Curates intentionally — builds playlists with energy arcs, genre bridges, and a mix of familiar favorites and new discoveries
- Remembers preferences — stores your likes, dislikes, and listening contexts in
.claude/mixcraft.local.mdso future sessions build on past ones - Service-aware — knows the differences between Apple Music and Spotify (e.g., Apple Music playlists can't be deleted via API, Spotify's can) and adjusts behavior accordingly
How It Works
MixCraft runs as a hosted service so you don't need to manage developer credentials or run any servers.
claude.ai <--HTTPS--> MixCraft API <--REST--> Apple Music / Spotify
Claude Code / Desktop <--stdio--> CLI (npx mixcraft-app) <--HTTPS--> MixCraft API
- You connect your music service at mixcraft.app — Apple Music via MusicKit OAuth, Spotify via direct OAuth
- Your music service tokens are encrypted with AWS KMS and stored in DynamoDB — MixCraft never sees or stores tokens in plaintext
- claude.ai authenticates via OAuth 2.0 with PKCE — sign in once and the connector handles the rest
- Claude Code / Desktop authenticate via API key — create one at mixcraft.app and set it as
MIXCRAFT_API_KEY - When Claude calls a tool, the request hits the MixCraft API which decrypts your token, calls the appropriate music service, and returns the results
- Spotify tokens are automatically refreshed when they expire — no re-authorization needed
For more details on security and data handling, see SECURITY.md.
Self-hosting
Want Spotify support, or want to run the whole stack on your own AWS account? See docs/SELF-HOSTING.md for the full walkthrough — Spotify dev app registration, allowlist management, secret seeding, and the single CDK context flag (-c enableSpotify=true) that turns it all on.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.