OnChain Music
Server Details
Search and license 5,000+ fully cleared music tracks via MCP. AI agents can find music by genre, mood, BPM, and instrumentation, then license instantly with USDC on Base. No human in the loop. Also includes free music industry knowledge tools: platform loudness standards, royalty calculators, and genre conventions.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.1/5 across 6 of 6 tools scored.
Most tools have distinct purposes: search vs. track details vs. industry utilities. However, ai_search and search_catalog both search the catalog, which could cause confusion despite differing input methods.
Tool names follow a consistent snake_case verb_noun pattern (e.g., search_catalog, get_track, calculate_royalty_split). The prefix 'ai_' in ai_search is a minor deviation but still readable.
Six tools is a well-scoped set for a music catalog server with utility functions. Each tool serves a clear purpose without unnecessary bloat or missing essentials.
Covers search, track details, and valuable music industry calculations. Missing a direct licensing/purchase action, but the workflow is hinted at (search → get_track → off-platform license).
Available Tools
6 toolsai_searchInspect
Search the OnChain Music catalog using a plain English description. Send a natural language phrase and the API automatically extracts genre, mood, tempo, and other parameters. Best for open-ended requests like "I need something cinematic and tense for a thriller scene" or "upbeat summer pop for a travel vlog". Returns tracks with metadata and license pricing, plus the translated search parameters for transparency.
| Name | Required | Description | Default |
|---|---|---|---|
| phrase | Yes | Plain English music description. Be as descriptive as you like. Examples: "I need an upbeat indie rock track for a TV commercial", "dark ambient music for a horror game", "romantic acoustic guitar for a wedding video". | |
| per_page | No | Number of results to return. Default 10, maximum 50. |
calculate_royalty_splitInspect
Calculates royalty splits and estimated earnings for music rights deals. Handles songwriter/publisher splits, producer points, co-writer splits, sync fee splits, and streaming payout estimates. Works for any music — not limited to the OnChain Music catalog. Useful for artists, managers, agents, and label tools that need to model deal economics.
| Name | Required | Description | Default |
|---|---|---|---|
| streams | No | Number of streams. Used for streaming_estimate. | |
| writers | No | Array of co-writers with their percentage splits. Used for co_writer_split. Each item: { name: string, percentage: number }. Percentages must sum to 100. | |
| platform | No | Streaming platform for payout estimate. Use "average" for a blended estimate across platforms. | |
| sync_fee | No | Total sync licensing fee in USD. Used for sync_fee_split. | |
| units_sold | No | Number of units sold. Used for producer_points calculation. | |
| gross_royalties | No | Total gross royalties collected (in USD). Used for songwriter_publisher_split and co_writer_split. | |
| producer_points | No | Number of producer points (percentage of master royalties). Used for producer_points calculation. Example: 3 for 3 points. | |
| calculation_type | Yes | The type of royalty calculation to perform. | |
| artist_royalty_rate | No | Artist royalty rate as a percentage of label revenue (0-100). Used for streaming_estimate. Example: 18 for a standard 18% royalty deal. Use 100 for independent artists keeping all revenue. | |
| master_royalty_rate | No | Master royalty rate as a percentage (0-100). Used for producer_points. Example: 18 for an 18-point deal. | |
| publisher_percentage | No | Publisher's percentage of the songwriter share (0-100). Used for songwriter_publisher_split. Example: 50 for a 50/50 co-publishing deal. | |
| suggested_retail_price | No | Suggested retail price of the album in USD. Used for producer_points calculation. Example: 9.99. | |
| master_owner_percentage | No | Master rights owner's share of the sync fee as a percentage (0-100). Used for sync_fee_split. Typically 50% goes to master, 50% to publishing. | |
| publisher_sync_percentage | No | Publisher's share of the sync fee as a percentage (0-100). Used for sync_fee_split. The remainder goes to the songwriter. |
get_genre_conventionsInspect
Returns music industry conventions for a given genre including typical BPM ranges, song structure, instrumentation, key tendencies, production characteristics, and common sync use cases. Useful for songwriting, production decisions, A&R research, playlist curation, and sync licensing briefs. Works for any music — not limited to the OnChain Music catalog.
| Name | Required | Description | Default |
|---|---|---|---|
| genre | Yes | The genre to look up. Examples: Pop, Rock, Hip-Hop, Electronic, Jazz, Country, R&B, Classical, Indie, Metal, Folk, Latin, Reggae, Blues, Soul, Funk, Ambient, House, Techno, Drum and Bass, Trap, Lo-Fi. | |
| include_sync_uses | No | If true, includes common sync licensing use cases for the genre (TV, film, advertising contexts). Default true. |
get_loudness_standardsInspect
Returns the official loudness normalization standards for major music and video platforms. Includes integrated LUFS target, true peak limit, and short-term LUFS where applicable. Useful for mastering decisions, mix prep, and ensuring tracks meet platform requirements before distribution or licensing. Works for any music — not limited to the OnChain Music catalog.
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | Optional. Filter to a specific platform. Examples: Spotify, Apple Music, YouTube, TikTok, Netflix, Amazon Music, Tidal, SoundCloud, Podcast. Leave empty to return all platforms. |
get_trackInspect
Retrieve full metadata for a specific track from the OnChain Music catalog, including license pricing, available download formats (MP3, WAV, AIF), artist information, BPM, key, mood, and complete license terms. Use this after search_catalog or ai_search to get full details before purchasing a license.
| Name | Required | Description | Default |
|---|---|---|---|
| track_id | Yes | The track ID returned from search_catalog or ai_search results. |
search_catalogInspect
Search the OnChain Music catalog of 5,000+ independently owned, fully cleared tracks, plus partner catalogs. Filter by genre, mood, tempo, BPM, key, and instrumentation. All results are available for immediate licensing with USDC on Base. Use the description parameter as your primary search field — pass style, mood, energy, and use-case words. Returns track IDs, metadata, license pricing, and a results_url in meta that links to a preview page where users can listen to tracks before licensing.
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Musical key. Examples: C Minor, G Maj, A Minor, F Maj. | |
| page | No | Page number for pagination. Vary this for different results. | |
| genre | No | Genre filter. Examples: Rock, Hip-Hop, Electronica, Orchestral, Jazz, Country, R&B, Pop. | |
| bpm_max | No | Maximum BPM. Use with bpm_min to filter by tempo range. | |
| bpm_min | No | Minimum BPM. Use with bpm_max to filter by tempo range. | |
| keywords | No | Additional keyword search across track titles, artist names, and tags. | |
| per_page | No | Results per page. Default 20, maximum 50. | |
| subgenre | No | Subgenre filter. Examples: Indie, Deep House, Trap, Classical. | |
| description | No | PRIMARY search field. Pass style, mood, energy, instrumentation, or use-case words. Each word is searched individually across multiple fields. Example: "epic orchestral trailer" or "upbeat summer pop". | |
| instrumental | No | Yes = instrumental only (no vocals). No = has vocals. | |
| license_type | No | Filter by intended license type. social_media = $5 USDC. all_digital = $35 USDC. |
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!