MCP server for the Mixcloud API: search, browse, upload and edit shows
pip install mixcloud-mcp-server Copy PIP instructions
An MCP server for the Mixcloud API. Any MCP client can drive it: search and browse shows, follow/favourite/repost, and upload or edit your own shows — including scheduled publishing.
Talk to it in plain language: "find me a 90-minute Chicago house set from last year" or "upload set.mp3 as an unlisted show, chapters at 0:00 and 10:00".
uv tool install git+https://github.com/djornii/mixcloud-mcp-server # or, from a clone: uv tool install . Requires Python 3.10+. The only runtime dependencies are mcp, httpx and python-dotenv.
mixcloud-mcp-server --print-config # resolved paths and which credentials exist, no secrets mixcloud-mcp-server --version Client setup The server speaks stdio, so every client config is just "run this command".
{ "mcpServers": { "mixcloud": { "command": "mixcloud-mcp-server", "env": { "MIXCLOUD_ENV_FILE": "/home/you/.config/mixcloud-mcp-server/.env" } } } } Claude Code
claude mcp add mixcloud -- mixcloud-mcp-server OpenCode — opencode.json (V2 puts local servers under mcp.servers):
{ "$schema": "https://opencode.ai/config.json", "mcp": { "servers": { "mixcloud": { "type": "local", "command": ["mixcloud-mcp-server"] } } } } Or from the CLI, which writes the same entry:
opencode mcp add mixcloud -- mixcloud-mcp-server Any other client: run mixcloud-mcp-server and pass MIXCLOUD_ENV_FILE in its environment.
Running it by hand is normal and silent — it is waiting for JSON-RPC on stdin.
Copy .env.example to the path mixcloud-mcp-server --print-config reports and fill it in.
Create the OAuth app at https://www.mixcloud.com/settings/applications/. The redirect URI only matters if you use one; the default flow shows the code on screen.
check_token() verifies the token; clear_token() forgets it locally. Mixcloud exposes no revoke endpoint, so revoking access has to be done on mixcloud.com itself.
Read (no token): search, get_object, get_show, get_user, get_tag, list_connection, user_shows, browse, genre_shows, embed_html, oembed
Account (token): me, follow_user, favorite_show, repost_show, listen_later, upload_show, edit_show
OAuth: auth_url, exchange_code, check_token, clear_token
Objects are addressed by Mixcloud key: shows /username/show-name/, users /username/, tags /genres/funk/, cities /genres/city:athens/. Full URLs are accepted everywhere a key is.
See AGENTS.md for the commands and the invariants this codebase holds to.
uv sync uv run pytest uv run ruff check . License MIT
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




