Genius API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read Genius. No Genius API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/genius.md and add Bowmark's Genius MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-genius https://api.bowmark.ai/mcp/site/geniusPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-genius": {
"url": "https://api.bowmark.ai/mcp/site/genius"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-genius","type":"http","url":"https://api.bowmark.ai/mcp/site/genius"}'Run this in a terminal.
codex mcp add bowmark-genius --url https://api.bowmark.ai/mcp/site/geniusIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/geniusIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/geniusAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/geniusFunctions
Open a function to see its parameters and run it with your own API key.
getLyricsReads a song's full lyrics from its Genius page, section by section ([Verse 1], [Chorus] …), by song id or page url.POST /v1/sites/genius/getLyrics
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/genius/getLyrics \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"song":1063}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.genius.getLyrics(1063);import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.genius.getLyrics(1063))Responsereturns GeniusLyricsinterface GeniusLyricSection { header: string | null; // The section label, e.g. "[Verse 1]", or null before the first one. lines: string[]; } interface GeniusLyrics { url: string; title: string; sections: GeniusLyricSection[]; text: string; }getSongReads one Genius song by id or page url: artist, album, release date, Genius's description, page views, annotation count, featured artists, producers…POST /v1/sites/genius/getSong
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/genius/getSong \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"song":1063}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.genius.getSong(1063);import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.genius.getSong(1063))Responsereturns GeniusSonginterface GeniusSong { id: number; title: string; artist: string; fullTitle: string; url: string; releaseDate: string | null; album: string | null; description: string | null; pageviews: number | null; annotationCount: number; featuredArtists: string[]; producers: string[]; writers: string[]; imageUrl: string | null; }searchAlbumsSearches Genius albums by name: album, artist, release date, cover and page url.POST /v1/sites/genius/searchAlbums
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/genius/searchAlbums \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"To Pimp a Butterfly"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.genius.searchAlbums("To Pimp a Butterfly");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.genius.searchAlbums("To Pimp a Butterfly"))Responsereturns GeniusAlbumSearchinterface GeniusAlbumHit { id: number; name: string; artist: string; fullTitle: string; url: string; releaseDate: string | null; coverUrl: string | null; } interface GeniusAlbumSearch { query: string; albums: GeniusAlbumHit[]; }searchArtistsSearches Genius artists by name: id, page url, image and whether Genius verified them.POST /v1/sites/genius/searchArtists
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/genius/searchArtists \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"Kendrick Lamar"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.genius.searchArtists("Kendrick Lamar");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.genius.searchArtists("Kendrick Lamar"))Responsereturns GeniusArtistSearchinterface GeniusArtistHit { id: number; name: string; url: string; imageUrl: string | null; isVerified: boolean; } interface GeniusArtistSearch { query: string; artists: GeniusArtistHit[]; }searchLyricsFinds songs on Genius from a line of their lyrics, each with the matching lyric snippet (what song goes 'is this the real life').POST /v1/sites/genius/searchLyrics
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/genius/searchLyrics \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"lyric":"is this the real life"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.genius.searchLyrics("is this the real life");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.genius.searchLyrics("is this the real life"))Responsereturns GeniusLyricSearchinterface GeniusSongHit { id: number; title: string; artist: string; fullTitle: string; url: string; releaseDate: string | null; pageviews: number | null; imageUrl: string | null; } interface GeniusLyricMatch { song: GeniusSongHit; snippet: string; // The lyric lines around the match, from Genius's own highlight. } interface GeniusLyricSearch { query: string; matches: GeniusLyricMatch[]; }searchSongsSearches Genius songs by title and/or artist: id, title, artist, release date, page views and lyrics page url (each id is a getSong / getLyrics…POST /v1/sites/genius/searchSongs
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/genius/searchSongs \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"bohemian rhapsody"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.genius.searchSongs("bohemian rhapsody");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.genius.searchSongs("bohemian rhapsody"))Responsereturns GeniusSongSearchinterface GeniusSongHit { id: number; title: string; artist: string; fullTitle: string; url: string; releaseDate: string | null; pageviews: number | null; imageUrl: string | null; } interface GeniusSongSearch { query: string; songs: GeniusSongHit[]; }