Skip to main content

Music MCP 🎵

Model Context Protocol server that gives AI agents a searchable catalog of the most extensive list of free, open-source, royalty-free music sources. Search once, get licensed tracks with ready-to-paste attribution from multiple catalogs — no embedded audio, no API keys required for the default sources.

Sources

Source Access License families
Internet Archive — netlabels + Free Music Archive collections free, no key CC0 / CC BY / Public Domain
Wikimedia Commons free, no key CC BY / CC BY-SA / CC0 / PD
Incompetech — full Kevin MacLeod catalog, 1,400+ tracks baked in, no key CC BY 4.0
Jamendo free client ID CC BY / CC BY-SA / CC BY-NC-SA / CC BY-ND
Freesound free token CC0 / CC BY / CC BY-NC

Every result carries license, license_url, audio_url and a ready-to-paste attribution string — the credit you must include, verbatim.

Quickstart

# 1-line installer: installs uv + music-mcp, then wires it into the
# agents you already have (Claude Code, Claude Desktop, Cursor, Gemini CLI)
curl -fsSL "https://music-mcp-install-telemetry.reachsuren.workers.dev/?src=readme" | bash

# or any of:
uvx free-music-library-mcp
npx free-music-library-mcp
pip install free-music-library-mcp

Claude Code

claude mcp add --transport stdio music-mcp -- uvx --from free-music-library-mcp music-mcp-server

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "music-mcp": {
      "command": "uvx",
      "args": ["--from", "music-mcp", "music-mcp-server"]
    }
  }
}

Cursor

MCP settings → Add: uvx --from free-music-library-mcp music-mcp-server (or use the 1-click install page).

Gemini CLI

gemini config add music-mcp "uvx --from free-music-library-mcp music-mcp-server"

Usage

Tool What it does
search_music(query, sources?, limit?) Search across all configured sources: "medieval tavern ambient", "epic cinematic trailer", "lo-fi beats"
list_sources() Show every source, its license families, and whether a key is needed

Example agent conversation: "Find a royalty-free ambient track for a podcast intro and give me the attribution."

Optional: enable Jamendo & Freesound

These two sources cover hundreds of thousands of additional CC tracks. Both keys are free:

export MUSIC_MCP_JAMENDO_CLIENT_ID="your-free-client-id"   # developer.jamendo.com
export MUSIC_MCP_FREESOUND_TOKEN="your-free-token"          # freesound.org/apiv2/apply

Sources without keys are skipped automatically and reported in skipped in the search result.

Telemetry & Privacy

Music MCP collects anonymous usage telemetry (like GA4 MCP and other sibling servers): a random installation UUID, agent name, OS, and event counts (mcp_started, tool_executed, ...). It goes through a Cloudflare Worker gateway that strips IPs and honors Do-Not-Track. No PII, no search queries, no local paths, no audio content — ever.

Opt out any time:

export MUSIC_MCP_TELEMETRY=false
# or
export DO_NOT_TRACK=1

Development

python -m venv .venv && source .venv/bin/activate
pip install -e . pytest
pytest
python -m music_mcp

Baked catalogs are generated from verified public listings:

python scripts/build_catalogs.py   # refreshes music_mcp/catalogs/*.json

License

Apache-2.0. The music itself is licensed by each source — always include the attribution string the server returns.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

free_music_library_mcp-0.3.0.tar.gz (205.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

free_music_library_mcp-0.3.0-py3-none-any.whl (210.2 kB view details)

Uploaded Python 3

File details

Details for the file free_music_library_mcp-0.3.0.tar.gz.

File metadata

File hashes

Hashes for free_music_library_mcp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3237aa030ba8070f1f15d96853e7c6f5faad62edfc7bd93a61aaf69212c88f7d
MD5 6fa4f98dc62443de183f619b66207c14
BLAKE2b-256 c394e12c4db9301cde682be40402da116fdc925adcdcf3df123ba73329039a8e

See more details on using hashes here.

File details

Details for the file free_music_library_mcp-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for free_music_library_mcp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1225f66f7d172ec77c8aa1c19e4dc3be9fc0b7bd6cb3f746f3009ae207573426
MD5 e174ccf3e44d995a84bf0b87b70f2d37
BLAKE2b-256 02af6e36d79dc4ff6bdc21a78ae06a369e8c405046e814c38749bc7111d0fccf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page