# Capital One API and MCP server for AI agents (/sites/capitalone)

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

- Site: https://capitalone.com
- Functions: 6
- 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.

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

- `activateOffer`: SIGNED IN, Capital One Offers has no activate step, so this finds the offer by offerId in the caller's feed and returns its shop link with…
- `getCreditCard`: One Capital One card by its listCreditCards id ("VENTUREX"), page slug or URL: everything listCreditCards returns plus the card page's full earn-rate…
- `listAccounts`: SIGNED IN, the caller's own Capital One accounts: account id, product name, last four, current balance; statement balance, due date, minimum payment…
- `listCreditCards`: Every Capital One credit card on its compare page (consumer, student, secured, business and partner cards), in the site's order: brand-code id, name…
- `listOffers`: SIGNED IN, the caller's Capital One Offers (capitaloneoffers.com): merchant, merchant domain, reward in the site's words ("Up to 5% back", "Earn…
- `listTransactions`: SIGNED IN, one credit card account's posted transactions from Capital One's own CSV export, newest first: dates, card last four, description, Capital…

## Call one

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

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

// 2. Call it in a script
const result = await bowmark.providers.capitalone.activateOffer({ /* 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
