Music Genie
Search YouTube for (copyright free!) music, identify songs from microphone recordings, and download them as tagged MP3s
The main features are:
- easily search for (music) videos on YouTube and choose from top 10 results
- extracted music is tagged
- files are placed in your
XDG_MUSIC_DIRor~/music - offline support for recording audio and running the recognition pipeline later


You can try it from anywhere with uv installed:
# Search for a song you know
uvx music-genie search "a song"
# Listen to a song that's playing nearby
uvx music-genie listen
If you really like it, you can install it as a uv tool:
uv tool install music-genie
An upshot of this is that you can now invoke music-genie by just running mg.
I built this project to scratch an itch and to try out the release of Claude Opus 4.6. It glues together a couple of remarkable open source projects into a single, simple to use tool.
Releases: PyPi
Source code: Radicle (Github mirror)
This project uses AI-assisted development tools. See the AI usage policy for details.
- Claude Code (Anthropic) claude-sonnet-4-6 · Agentic
AI agent operated autonomously across multi-step tasks. Human reviewed diffs, resolved conflicts, and approved merges.
The human author(s) are solely responsible for the content, accuracy, and fitness-for-purpose of this project.