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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。