applemusic-mcp

v0.12.1 safe
3.0
Low Risk

MCP server for Apple Music - playlist management, playback control (macOS), and library access

🤖 AI Analysis

Final verdict: SAFE

The package is assessed as safe with a low risk score due to the absence of obfuscation and credential harvesting patterns, along with no immediate signs of malicious intent.

  • No obfuscation detected
  • No credential harvesting patterns
Per-check LLM notes
  • Obfuscation: No obfuscation patterns detected, indicating low risk.
  • Credentials: No credential harvesting patterns detected, indicating low risk.
  • Metadata: The maintainer has only one package, which may indicate a new or less active account, but there are no other red flags.

📦 Package Quality Overall: Medium (6.6/10)

✦ High Test Suite 9.0

Test suite present — 9 test file(s) found

  • Test runner config found: conftest.py
  • Test runner config found: pyproject.toml
  • 9 test file(s) detected (e.g. integration_test.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (19805 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 106 type-annotated function signatures detected in source
✦ High Multiple Contributors 10.0

Active multi-contributor project

  • 5 unique contributor(s) across 100 commits in epheterson/applemusic-mcp
  • Active community — 5 or more distinct contributors

🔬 Heuristic Checks

Outbound Network Calls score 1.5

Found 1 network call pattern(s)

  • } response = requests.get( "https://api.music.apple.com/v1/me/library/play
Code Obfuscation

No obfuscation patterns detected

Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • - Scripts are executed via subprocess.run() with capture_output=True and a 30-second timeout to
  • """ try: result = subprocess.run( ["osascript", "-e", script], capture_output=Tru
  • in Music app try: subprocess.run(["open", music_url], check=True, capture_output=True)
  • cts to Music try: subprocess.run(["open", https_url], check=True, capture_output=True)
  • f"). """ try: subprocess.run(["open", "-a", "Music"], check=False, timeout=5) except
  • try: r = subprocess.run( [ "osascript",
Credential Harvesting

No credential harvesting patterns detected

Typosquatting

No typosquatting candidates detected

Registered Email Domain

No author email provided

Suspicious Page Links

All external links appear legitimate

Git Repository History

Repository epheterson/applemusic-mcp appears legitimate

Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Eric Pheterson" appears to have only 1 package on PyPI (new or inactive account)
Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with applemusic-mcp
Create a Python-based mini-application named 'AppleTuneMaster' that leverages the 'applemusic-mcp' package to manage playlists and control playback on macOS systems. This application should allow users to perform various actions such as adding songs to playlists, removing songs from playlists, pausing/resuming playback, skipping to the next song, and retrieving details about their music library.

The application should have a simple command-line interface (CLI) for ease of use. Here are the core functionalities:
1. List all available playlists.
2. Create new playlists.
3. Add songs to existing playlists.
4. Remove songs from playlists.
5. Pause/Resume playback.
6. Skip to the next song.
7. Retrieve information about the current track playing.
8. Display the user's entire music library with basic details (artist, album, track name).

Additionally, consider implementing these advanced features:
- Search functionality within the music library.
- Sort playlists by creation date or alphabetical order.
- Provide statistics about the music library (e.g., number of tracks, total duration).
- Allow users to set their favorite playlists as default for quick access.

For each feature, ensure you're using the 'applemusic-mcp' package effectively to interact with Apple Music's API and control the playback on macOS. The application should handle errors gracefully and provide meaningful feedback to the user.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!