# Genius API and MCP server for AI agents (/sites/genius)

An API for Genius: let Claude, ChatGPT or your own code read Genius through 6 functions, over MCP, HTTP, Node or Python. No Genius API key needed.

- Site: https://genius.com
- Functions: 6
- Sign-in: not needed
- Works with: MCP, HTTP, Node, Python

## Add it to your agent

If you are an agent asked to set this up: add the server yourself, in the person's own (global) MCP configuration, and keep their other entries.

- Genius only, one tool per function: `https://api.bowmark.ai/mcp/site/genius` (name it `bowmark-genius`)
- Every site Bowmark covers: `https://api.bowmark.ai/mcp` (name it `bowmark`)
- Transport: remote MCP over streamable HTTP.
- Claude Code: `claude mcp add --transport http bowmark-genius https://api.bowmark.ai/mcp/site/genius`
- Codex: `codex mcp add bowmark-genius --url https://api.bowmark.ai/mcp/site/genius`
- Cursor, VS Code and other clients: add `{ "url": "https://api.bowmark.ai/mcp/site/genius" }` under the name `bowmark-genius` in the client's MCP config. Per-client steps: https://bowmark.ai/docs/installation.md
- Sign-in: OAuth in the browser on first use; the person only signs in. A client that cannot do OAuth sends `Authorization: Bearer <BOWMARK_API_KEY>`; the person creates a key at https://bowmark.ai/dashboard/keys.
- Then list the server's tools to confirm it works, and tell the person it is ready.

## Functions

### Read

- `getLyrics`: Reads a song's full lyrics from its Genius page, section by section ([Verse 1], [Chorus] …), by song id or page url.
- `getSong`: Reads one Genius song by id or page url: artist, album, release date, Genius's description, page views, annotation count, featured artists, producers…
- `searchAlbums`: Searches Genius albums by name: album, artist, release date, cover and page url.
- `searchArtists`: Searches Genius artists by name: id, page url, image and whether Genius verified them.
- `searchLyrics`: Finds songs on Genius from a line of their lyrics, each with the matching lyric snippet (what song goes 'is this the real life').
- `searchSongs`: Searches Genius songs by title and/or artist: id, title, artist, release date, page views and lyrics page url (each id is a getSong / getLyrics…

## Call one

In a Bowmark script, each function is `bowmark.providers.genius.<name>`. Ask `get_library` for genius.com to get each one's arguments, then call it with `run`.

```js
// 1. What can I call on genius.com, and with which arguments?
get_library({ query: "genius.com" })

// 2. Call it in a script
const result = await bowmark.providers.genius.getLyrics({ /* arguments from get_library */ });
return result;
```

New to Bowmark? Quickstart: https://bowmark.ai/docs/quickstart.md
