Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Search tracks on LRCLIB and fetch plain or time-synced (LRC) lyrics. No API key.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
LRCLIB_USER_AGENT, LRCLIB_MIN_INTERVAL_MS, LRCLIB_LOG_LEVEL你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
claude mcp add lrclib --env LRCLIB_USER_AGENT=your-value --env LRCLIB_MIN_INTERVAL_MS=your-value --env LRCLIB_LOG_LEVEL=your-value -- npx -y mcp-lrclib运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"lrclib": {
"command": "npx",
"args": [
"-y",
"mcp-lrclib"
],
"env": {
"LRCLIB_USER_AGENT": "your-value",
"LRCLIB_MIN_INTERVAL_MS": "your-value",
"LRCLIB_LOG_LEVEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"lrclib": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-lrclib"
],
"env": {
"LRCLIB_USER_AGENT": "your-value",
"LRCLIB_MIN_INTERVAL_MS": "your-value",
"LRCLIB_LOG_LEVEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
LRCLIB_USER_AGENT envLRCLIB_MIN_INTERVAL_MS envLRCLIB_LOG_LEVEL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 smeet666 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(2.1.0)于9天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, MCPB。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
LRCLIB is a free, open database of song lyrics, built by the people who use it and offered to anyone without a key or an account. It holds two forms of the words: the plain text of a song, and the LRC form, where every line carries the moment it is sung, which is what a karaoke display or a lyrics panel follows along with. A track is filed there by its title, its artist, its album and its duration, so the several releases of one song sit side by side.
This server connects a chat client to that database. You can search for a track by title, artist or album, read the plain words of a song, read its time-synced lines with their timestamps, and check the metadata of one release before reading it. It needs no API key and no account.
_Version française_
One-click install
Claude Code
claude mcp add lrclib -- npx -y mcp-lrclib
Claude Desktop, Cursor, and any client using the standard config format
{
"mcpServers": { "lrclib": { "command": "npx", "args": ["-y", "mcp-lrclib"] } } }
Node 24 or later is required, and no environment variable has to be set.
{
"mcpServers": { "lrclib": { "command": "docker", "args": ["run", "-i", "--rm", "ghcr.io/smeet666/mcp-lrclib:2.1.0"] } } }
-i keeps stdin open, which is where the protocol travels, and -t is left out because a TTY rewrites the stream. The container needs outbound HTTPS to lrclib.net, and nothing else: no volume, no port, no credential.
Download mcp-lrclib-2.1.0.mcpb from the latest release and open it. A client that supports MCP bundles installs it on its own, with no npm and no configuration file to edit. The bundle carries its dependencies, so nothing is fetched at install time.
The ordinary path runs from a search to a reading: search_tracks names an id, and get_lyrics takes that id.
| Tool | What it does |
|---|---|
search_tracks | Finds tracks by title, artist or album, with their metadata. |
get_lyrics | Reads the words of one track, plain or with their timestamps. |
get_track | Reads the metadata of one track by its id, without the words. |
LRCLIB files a track by its metadata, so a search reaches a song through its title, its artist or its album. A word remembered from inside a song finds nothing there.
search_tracksFinds the tracks whose metadata matches, in one free-text search or in fields of their own. Several releases of one song come back side by side, and their album and duration tell them apart.
| Argument | Type | Required | What it does |
|---|---|---|---|
query | string, 1 to 200 characters | no | Free-text search, as in nino ferrer le sud. |
track_name | string, up to 200 characters | no | Song title, for a search by field. |
artist_name | string, up to 200 characters | no | Artist name, for a search by field. |
album_name | string, up to 200 characters | no | Album name, to narrow a search by field. |
limit | integer, 1 to 50, default 10 | no | Rows to serve. LRCLIB answers up to 20 per search. |
Pass query, or one of the three fields.
In return: rows carrying id, which get_lyrics and get_track take; track_name and artist_name; album_name and duration_seconds, which tell two releases of one song apart; instrumental; has_plain_lyrics and has_synced_lyrics, so timed lines can be checked for before they are asked for; and source_url. Alongside come result_count and total_available, the tracks LRCLIB served before limit was applied. album_name and duration_seconds are null on a track filed without them, and the rows carry no words at all: get_lyrics reads those.
get_lyricsReads the words of one track, either as plain text or as LRC lines carrying the moment each one is sung. Long lyrics are served a slice at a time, resuming at a line boundary.
| Argument | Type | Required | What it does |
|---|---|---|---|
id | integer, positive | no | The LRCLIB track id, as search_tracks returned it. |
artist_name | string, up to 200 characters | no | Artist name, matched exactly. Needed when id is absent. |
track_name | string, up to 200 characters | no | Song title, matched exactly. Needed when id is absent. |
album_name | string, up to 200 characters | no | Album name, to pick between releases. |
duration_seconds | number, positive | no | Track duration, to pick between versions of differing length. |
format | plain, synced or both, default plain | no | Which form of the words to serve. |
max_chars | integer, 200 to 20000, default 6000 | no | Characters of text to serve in this call. |
offset | integer, 0 or more, default 0 | no | Character offset to resume from. |
In return: status, which reads ok, instrumental for a track with no words to sing, or no_lyrics for one filed without them; track with its id, title, artist, album, duration and source_url; plain_lyrics; synced_lyrics as raw LRC text and synced_lines as a list of { time_seconds, text }, with synced_lines_truncated when the slice cut them. The reading is described by paginated_form, total_chars, returned_chars, offset, next_offset and truncated: pass next_offset back to read on, and null there means the end. attribution is the line to cite when the words are shown. A status of instrumental is a complete answer.
get_trackReads the metadata of one track from its id, leaving the words aside. It confirms a release before the words are asked for, and it resolves an id carried over from earlier in a conversation.
| Argument | Type | Required | What it does |
|---|---|---|---|
id | integer, positive | yes | The LRCLIB track id, as search_tracks returned it. |
In return: track, holding the fields a search row carries, and duration_formatted as m:ss, which is null when the track is filed without a duration. has_plain_lyrics and has_synced_lyrics say which forms get_lyrics can serve for it.
Every variable is optional. Set them in the env block of your client config.
| Variable | Default | What it does |
|---|---|---|
LRCLIB_USER_AGENT | the project identity | Names your application to LRCLIB, with an address where a person can be reached. |
LRCLIB_MIN_INTERVAL_MS | 500 | Gap between two requests, from 200 to 60000. A figure under the floor is refused and this one used. |
LRCLIB_TIMEOUT_MS | 15000 | Deadline for one request, from 1000 to 120000. |
LRCLIB_MAX_RETRIES | 3 | Attempts after a transient failure, from 0 to 10. |
LRCLIB_CACHE_TTL_MS | 900000 | How long an answer stays in memory, from 0 to 86400000. |
LRCLIB_CACHE_MAX_ENTRIES | 200 | Answers held in memory at once, from 0 to 10000. |
LRCLIB_LOG_LEVEL | error | silent, error, info or debug, written to stderr. |
A value outside its range falls back to the default, and the reason is written to stderr.
Every failure carries one of six codes, a message, and where it helps a hint naming the next move.
| Code | What happened | What to do |
|---|---|---|
not_found | LRCLIB answered, and it holds no such track. | Check the spelling with search_tracks. |
| invalid_input | The arguments were refused before any request went out. | Read the message, which names the argument.
只显示了开头部分;其余内容请在仓库中阅读