# Citi API and MCP server for AI agents (/sites/citi)

An API for Citi: let Claude, ChatGPT or your own code read and act on Citi through 7 functions, over MCP, HTTP, Node or Python. No Citi API key needed.

- Site: https://citi.com
- Functions: 7
- Sign-in: for account actions, with the person's own account
- 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.

- Citi only, one tool per function: `https://api.bowmark.ai/mcp/site/citi` (name it `bowmark-citi`)
- 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-citi https://api.bowmark.ai/mcp/site/citi`
- Codex: `codex mcp add bowmark-citi --url https://api.bowmark.ai/mcp/site/citi`
- Cursor, VS Code and other clients: add `{ "url": "https://api.bowmark.ai/mcp/site/citi" }` under the name `bowmark-citi` 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`: One Citi card in full: the listCreditCards row plus the card page's feature sections and rates-and-fees table, by page slug, page URL or product id.
- `getRewardsBalance`: The cardholder's ThankYou points total and each card's rewards balance and program.
- `listAccounts`: The signed-in cardholder's Citi credit card accounts: accountId, last four, product, current and statement balance, minimum payment, due date…
- `listCreditCards`: Every credit card on citi.com with its annual fee, earn rates by spend category, welcome offer (bonus, spend, months), APRs and fees, page URL and…
- `listOffers`: Citi Merchant Offers on one card: merchant, reward, category, expiry, enrolled or not, and the offer id; plus every card the offers page can switch…
- `listTransactions`: Pending and posted transactions on one Citi account, by date range, paged through Citi's own cursor: date, description, merchant, amount, Citi's…

### Act

- `activateOffer`: Enrolls one Citi Merchant Offer on a card and returns the offer's new enrolled state read from Citi's answer.

## Call one

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

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

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

New to Bowmark? Quickstart: https://bowmark.ai/docs/quickstart.md. How sign-in works: https://bowmark.ai/docs/signed-in-sites.md
