This repo is a major work in progress, including the docs. Improvements to come!
Essentially ChatGPT with unrestricted access to the Spotify API
I made this for two reasons:
- Spotify's native AI playlist creator sucks (doesn't listen to specifications properly)
- Giving ChatGPT/Cursor access to a Spotify MCP server was very restricting
- Only had access to a subset of the Spotify API
- Limited context window
- Restricted by system prompts which I do not know
Also I am addicted enough to music to the point where I am pretty much cost insensitive for a tool like this
Note that the bash script is not portable, for the moment it is for my own convenience
I use uv as my package manager, and I encourage you to do the same
git clone https://github.com/jzbouri/spautofy.git
cd spautofy
uv venv
source .venv/bin/activate
uv pip install -e .This repo uses postgres, ensure you have this installed as well.
After running the above commands, create your .env with cp .env.example .env and fill out accordingly
Run the CLI python main.py
And chat!
Creating a playlist with a prompt


