Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Search tracks on LRCLIB and fetch plain or time-synced (LRC) lyrics. No API key.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
LRCLIB_USER_AGENT, LRCLIB_MIN_INTERVAL_MS, LRCLIB_LOG_LEVELต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ลิงก์ไปที่ไฟล์ของผู้ทำเอง เราไม่ได้เก็บหรือแพ็กใหม่ เปิดไฟล์แล้ว Claude Desktop จะติดตั้งให้
พิมพ์คำสั่งนี้ใน Terminal
claude mcp add lrclib --env LRCLIB_USER_AGENT='ใส่ค่าของคุณ' --env LRCLIB_MIN_INTERVAL_MS='ใส่ค่าของคุณ' --env LRCLIB_LOG_LEVEL='ใส่ค่าของคุณ' -- npx -y mcp-lrclibเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"lrclib": {
"command": "npx",
"args": [
"-y",
"mcp-lrclib"
],
"env": {
"LRCLIB_USER_AGENT": "ใส่ค่าของคุณ",
"LRCLIB_MIN_INTERVAL_MS": "ใส่ค่าของคุณ",
"LRCLIB_LOG_LEVEL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"lrclib": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-lrclib"
],
"env": {
"LRCLIB_USER_AGENT": "ใส่ค่าของคุณ",
"LRCLIB_MIN_INTERVAL_MS": "ใส่ค่าของคุณ",
"LRCLIB_LOG_LEVEL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
LRCLIB_USER_AGENT envLRCLIB_MIN_INTERVAL_MS envLRCLIB_LOG_LEVEL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub smeet666 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.1.0) เข้า registry 8 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js, MCPB ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
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.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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.
ตัดมาแค่ช่วงต้น อ่านต่อใน repo