# Discover API and MCP server for AI agents (/sites/discover)

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

- Site: https://discover.com
- Functions: 3
- 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.

- Discover only, one tool per function: `https://api.bowmark.ai/mcp/site/discover` (name it `bowmark-discover`)
- 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-discover https://api.bowmark.ai/mcp/site/discover`
- Codex: `codex mcp add bowmark-discover --url https://api.bowmark.ai/mcp/site/discover`
- Cursor, VS Code and other clients: add `{ "url": "https://api.bowmark.ai/mcp/site/discover" }` under the name `bowmark-discover` 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

- `getCashbackCalendar`: This year's Discover 5% Cashback Bonus calendar: each quarter's categories, dates, $1,500 spend cap, when activation opens, which quarter is current…
- `getCreditCard`: One Discover card by the id listCreditCards returned (or its name or URL): the listing row plus the card page's own reward terms.
- `listCreditCards`: Every credit card Discover markets (Discover it Cash Back, Student, Secured, Balance Transfer, Chrome, Miles, NHL and the 'for Good Credit'…

## Call one

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

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

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

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