Card Kingdom API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read Card Kingdom. No Card Kingdom 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/cardkingdom.md and add Bowmark's Card Kingdom 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-cardkingdom https://api.bowmark.ai/mcp/site/cardkingdomPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-cardkingdom": {
"url": "https://api.bowmark.ai/mcp/site/cardkingdom"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-cardkingdom","type":"http","url":"https://api.bowmark.ai/mcp/site/cardkingdom"}'Run this in a terminal.
codex mcp add bowmark-cardkingdom --url https://api.bowmark.ai/mcp/site/cardkingdomIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/cardkingdomIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/cardkingdomAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/cardkingdomFunctions
Open a function to see its parameters and run it with your own API key.
searchCardsSearches every Magic: The Gathering single Card Kingdom sells by card name, optionally narrowed by edition, foil and in-stock, returning retail price…POST /v1/sites/cardkingdom/searchCards
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/cardkingdom/searchCards \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":"Lightning Bolt"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.cardkingdom.searchCards("Lightning Bolt");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.cardkingdom.searchCards("Lightning Bolt"))Responsereturns CardKingdomCardPageinterface CardKingdomConditionPrice { price: number | null; // USD; null when not priced quantity: number; // copies in stock in this condition } interface CardKingdomCard { id: number; sku: string; name: string; variation: string | null; // e.g. Borderless, Showcase; null for the plain printing edition: string; foil: boolean; priceUsd: number | null; // retail price, best condition listed inStock: number; // copies in stock across conditions buylistPriceUsd: number | null; // what Card Kingdom pays per copy buylistQuantity: number; // copies the buylist currently wants conditions: { nm: CardKingdomConditionPrice; ex: CardKingdomConditionPrice; vg: CardKingdomConditionPrice; g: CardKingdomConditionPrice } | null; scryfallId: string | null; url: string; } interface CardKingdomCardPage { results: CardKingdomCard[]; total: number | null; // every match, across pages page: number; pageCount: number | null; returned: number; warnings: string[]; // names the next-page call when more matches exist }searchSealedSearches Card Kingdom's sealed Magic: The Gathering products (booster boxes, packs, bundles, decks) by name, returning retail price, stock, buylist…POST /v1/sites/cardkingdom/searchSealed
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/cardkingdom/searchSealed \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":"Booster Box"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.cardkingdom.searchSealed("Booster Box");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.cardkingdom.searchSealed("Booster Box"))Responsereturns CardKingdomSealedPageinterface CardKingdomSealed { id: number; name: string; edition: string; priceUsd: number | null; inStock: number; buylistPriceUsd: number | null; buylistQuantity: number; shipsInternationally: boolean; url: string; } interface CardKingdomSealedPage { results: CardKingdomSealed[]; total: number | null; // every match, across pages page: number; pageCount: number | null; returned: number; warnings: string[]; // names the next-page call when more matches exist }