# Bankrate API and MCP server for AI agents (/sites/bankrate)

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

- Site: https://bankrate.com
- Functions: 2
- 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.

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

- `getCreditCard`: Reads one card by name or id: annual fee, regular and intro APR, foreign transaction fee, credit needed, intro bonus, rewards rates, highlights and…
- `listCreditCards`: Lists the cards on one Bankrate best-of page (best-credit-cards, cash-back, travel, rewards, no-annual-fee, balance-transfer, zero-interest…

## Call one

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

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

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

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