mcp-lrclib
v2.1.0Search tracks on LRCLIB and fetch plain or time-synced (LRC) lyrics.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_tracks Search tracks
Search LRCLIB for tracks by title, artist or album, and get the id needed to fetch lyrics with get_lyrics. Give either 'query' as free text, or 'track_name' and 'artist_name' separately for a narrower search. Results carry metadata only: title, artist, album, duration, and whether plain and time-synced lyrics exist. Use 'duration_seconds' and 'album_name' in the results to tell releases and re-recordings of the same song apart, and 'has_synced_lyrics' to know whether karaoke-style timed lyrics are available before fetching them. LRCLIB indexes tracks by their metadata, so it cannot search for…
| Parameter | Type | Description |
|---|---|---|
album_name | string | Album name, to narrow a structured search. |
artist_name | string | Artist name, for a structured search. |
limit | integer | Maximum tracks to return. LRCLIB returns up to 20 per search. |
query | string | Free-text search, for example 'nino ferrer le sud'. Use this or the fields below. |
track_name | string | Song title, for a structured search. |
get_lyrics Get lyrics
Fetch the lyrics of one track from LRCLIB, given the id returned by search_tracks, or an exact artist and title. Set 'format' to "synced" for karaoke-style lyrics with a timestamp on every line, "plain" for the text alone, or "both". Check 'has_synced_lyrics' in the search results first: not every track has timed lyrics. Lyrics can be long, so the text is truncated by default: check 'truncated' and call again with 'offset' set to 'next_offset' to continue reading. Instrumental tracks come back with status "instrumental" and no text, which is a valid answer, so do not retry them. Always cite 'a…
| Parameter | Type | Description |
|---|---|---|
album_name | string | Album name, to pick between releases. |
artist_name | string | Artist name, matched exactly by LRCLIB. Required when 'id' is absent. |
duration_seconds | number | Track duration, to pick between versions of differing length. |
format | string | 'plain' returns the text only. 'synced' returns LRC text plus a parsed list of timestamped lines. 'both' returns each of them. |
id | integer | LRCLIB track id, as returned by search_tracks. Preferred over the name fields. |
max_chars | integer | Maximum characters of lyrics text to return in this call. |
offset | integer | Character offset to resume from, for lyrics longer than max_chars. |
track_name | string | Song title, matched exactly by LRCLIB. Required when 'id' is absent. |
get_track Get track metadata
Look up one LRCLIB track by its id and return its metadata without the lyrics: title, artist, album, duration, and whether plain and time-synced lyrics exist. Use this to confirm you have the right release or version before calling get_lyrics, or to check whether timed lyrics exist for a track id you already hold.
| Parameter | Type | Description |
|---|---|---|
id * | integer | LRCLIB track id, as returned by search_tracks. |