Barclays API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read Barclays. No Barclays API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/barclays.md and add Bowmark's Barclays MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-barclays https://api.bowmark.ai/mcp/site/barclaysPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-barclays": {
"url": "https://api.bowmark.ai/mcp/site/barclays"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-barclays","type":"http","url":"https://api.bowmark.ai/mcp/site/barclays"}'Run this in a terminal.
codex mcp add bowmark-barclays --url https://api.bowmark.ai/mcp/site/barclaysIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/barclaysIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/barclaysAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/barclaysFunctions
Open a function to see its parameters and run it with your own API key.
getCreditCardOne Barclays card by the id listCreditCards returned (or its name or URL): the listing row plus the card page's own reward terms, including the full…POST /v1/sites/barclays/getCreditCard
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/barclays/getCreditCard \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"card":"jetblue-plus-card"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.barclays.getCreditCard("jetblue-plus-card");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.barclays.getCreditCard("jetblue-plus-card"))Responsereturns BarclaysCreditCardDetailinterface BarclaysEarnRate { rate: number; // 5 for 5%, 3 for 3X unit: "percent" | "multiplier"; // percent = cash back %, multiplier = points or miles per $1 currency: string | null; // what is earned, in the issuer's word: cash back, points, miles category: string; // the spend the rate applies to, in the issuer's words cap: string | null; // the cap or condition clause, e.g. on up to $1,000 in combined purchases each quarter rotating: boolean; // the category changes by quarter, or must be chosen or activated base: boolean; // the everything-else rate text: string; // the issuer's sentence the rate was read from } interface BarclaysCreditCardDetail { id: string; // pass to getCreditCard name: string; url: string; // the card's page on the issuer's site imageUrl: string | null; applyUrl: string | null; annualFee: number | null; // USD; 0 = no annual fee; for an intro-waived fee, the fee from year two annualFeeText: string | null; welcomeOffer: string | null; // the new-account bonus as written introApr: string | null; regularApr: string | null; earnRates: BarclaysEarnRate[]; currentRotatingCategories: { quarter: string; categories: string[]; activationRequired: boolean } | null; // this quarter's categories for a rotating card, when the issuer publishes them benefits: string[]; // benefit headlines shown beside the rates kind: "consumer" | "business"; productCode: string | null; // Barclays' own product code feesText: string | null; // balance transfer and other fees, as written rewardTerms: string[]; // the card page's own sentences defining each category and cap warnings: string[]; }listCreditCardsEvery credit card Barclays US markets: slug id, product code, name, annual fee, earn rates by category (rate, unit, category, cap), welcome bonus…POST /v1/sites/barclays/listCreditCards
Parameters
No parameters.
curl -X POST https://api.bowmark.ai/v1/sites/barclays/listCreditCards \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.barclays.listCreditCards();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.barclays.listCreditCards())Responsereturns BarclaysCreditCardsinterface BarclaysEarnRate { rate: number; // 5 for 5%, 3 for 3X unit: "percent" | "multiplier"; // percent = cash back %, multiplier = points or miles per $1 currency: string | null; // what is earned, in the issuer's word: cash back, points, miles category: string; // the spend the rate applies to, in the issuer's words cap: string | null; // the cap or condition clause, e.g. on up to $1,000 in combined purchases each quarter rotating: boolean; // the category changes by quarter, or must be chosen or activated base: boolean; // the everything-else rate text: string; // the issuer's sentence the rate was read from } interface BarclaysCreditCard { id: string; // pass to getCreditCard name: string; url: string; // the card's page on the issuer's site imageUrl: string | null; applyUrl: string | null; annualFee: number | null; // USD; 0 = no annual fee; for an intro-waived fee, the fee from year two annualFeeText: string | null; welcomeOffer: string | null; // the new-account bonus as written introApr: string | null; regularApr: string | null; earnRates: BarclaysEarnRate[]; currentRotatingCategories: { quarter: string; categories: string[]; activationRequired: boolean } | null; // this quarter's categories for a rotating card, when the issuer publishes them benefits: string[]; // benefit headlines shown beside the rates kind: "consumer" | "business"; productCode: string | null; // Barclays' own product code feesText: string | null; // balance transfer and other fees, as written } interface BarclaysCreditCards { cards: BarclaysCreditCard[]; warnings: string[]; }