lyrics-search
bởi hone1983
Search & ResearchTóm tắt
Search song lyrics by title and artist using the LrcApi public API.
Mô tả
Kỹ năng này làm gì
Fetches song lyrics from the LrcApi public API by title and artist. Returns LRC-formatted text with timestamps that can be stripped for clean display or printing.
LrcApi provides timestamped LRC format natively, so no parsing library or scraping is needed to get structured lyrics.
Khi nào nên dùng
- Find lyrics for a song you can't remember fully
- Print formatted lyrics sheet for a performance
- Look up lyrics for a Chinese or foreign-language song
- Display lyrics alongside music player output
- Retrieve credits and metadata from a song's LRC file
Quy trình ví dụ
User asks: Find the lyrics for 'Bohemian Rhapsody' by Queen
- 1
Construct API URL: https://api.lrc.cx/lyrics?title=Bohemian+Rhapsody&artist=Queen
- 2
Fetch the URL using web_fetch
- 3
Receive LRC-formatted response with timestamps and metadata lines
- 4
Strip timestamp brackets and metadata lines from lines 00:00–00:24
- 5
Return clean, readable lyrics text to the user
Full plain-text lyrics with song title and artist header
Cài đặt
clawhub install hone1983/lyrics-searchChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.