music-digger-mcp
Control Apple Music via natural language from Claude Code, with the ability to mark tracks and accumulate reactions in an Obsidian Vault.
README
music-digger-mcp
Apple Music を Claude Code から自然言語で扱える MCP サーバー。聴いた曲のうち「反応した曲」だけを Obsidian Vault に蓄積する。
Tools
play_station(seed)— Music.app のステーションを seed(アーティスト/ジャンル)で起動play_album(artist, album)— アルバム再生current_track()— 現在曲取得playback_control(action)— play / pause / next / previous / repeat_track / repeat_offmark_current(reaction, note?)— 現在曲を love / like / meh / skip でマーク。日記追記+昇格判定でアルバムカード生成
動作環境
- macOS(AppleScript で Music.app を操作)
- Node.js LTS
- Apple Music サブスクリプション
- Obsidian Vault
セットアップ
npm install
npm run build
Claude Code への接続
examples/mcp.json を参考に、Claude Code の .mcp.json に music-digger エントリを追加して再起動する。
開発
npm run dev # tsx watch でホットリロード
npm test # vitest
npm run test:watch # vitest watch
環境変数
| 変数 | デフォルト |
|---|---|
OBSIDIAN_VAULT_PATH |
必須 |
MUSIC_DIARY_SUBDIR |
music/diary |
MUSIC_ALBUMS_SUBDIR |
music/albums |
仕様書 / 実装計画
docs/superpowers/specs/2026-06-12-music-digger-mcp-design.mddocs/superpowers/plans/2026-06-12-music-digger-mcp.md
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
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
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.