apple music.com
apple music.com logo

Apple Music

Integrates with Apple Music on macOS using Python and AppleScript to enable music playback control, library searching, p...

Created byApr 22, 2025

MCP-AppleMusic

A FastMCP server implementation for controlling Apple Music (formerly iTunes) on macOS through AppleScript commands.

Requirements

  • Python 3.13+
  • macOS with Apple Music app installed
  • MCP library 1.2.1

Installation

First, ensure you have uv installed:
Then, with Claude Desktop, add the following to claude_desktop_config.json:

Available Commands

The following commands are available through the MCP server:

Usage

Start the server:
Example interactions:

Development

  1. Clone the repository:
  1. Install development dependencies:

Contributing

  1. Fork the repository
  1. Create your feature branch (git checkout -b feature/amazing-feature)
  1. Commit your changes (git commit -m 'Add amazing feature')
  1. Push to the branch (git push origin feature/amazing-feature)
  1. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Notes

  • This tool only works on macOS systems due to its AppleScript dependency
  • Requires Apple Music (formerly iTunes) to be installed

MCP-AppleMusic

A FastMCP server implementation for controlling Apple Music (formerly iTunes) on macOS through AppleScript commands.

Requirements

  • Python 3.13+
  • macOS with Apple Music app installed
  • MCP library 1.2.1

Installation

First, ensure you have uv installed:
Then, with Claude Desktop, add the following to claude_desktop_config.json:

Available Commands

The following commands are available through the MCP server:

Usage

Start the server:
Example interactions:

Development

  1. Clone the repository:
  1. Install development dependencies:

Contributing

  1. Fork the repository
  1. Create your feature branch (git checkout -b feature/amazing-feature)
  1. Commit your changes (git commit -m 'Add amazing feature')
  1. Push to the branch (git push origin feature/amazing-feature)
  1. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Notes

  • This tool only works on macOS systems due to its AppleScript dependency
  • Requires Apple Music (formerly iTunes) to be installed