Tok&Stok API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read Tok&Stok. No Tok&Stok 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/tokstok.md and add Bowmark's Tok&Stok 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-tokstok https://api.bowmark.ai/mcp/site/tokstokPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-tokstok": {
"url": "https://api.bowmark.ai/mcp/site/tokstok"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-tokstok","type":"http","url":"https://api.bowmark.ai/mcp/site/tokstok"}'Run this in a terminal.
codex mcp add bowmark-tokstok --url https://api.bowmark.ai/mcp/site/tokstokIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/tokstokIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/tokstokAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/tokstokFunctions
Open a function to see its parameters and run it with your own API key.
getProductReads one Tok&Stok product page by its URL (from search): the card price, the listed pre-discount price, the Pix price and the installment plan as…POST /v1/sites/tokstok/getProduct
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/tokstok/getProduct \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"<url>"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tokstok.getProduct("<url>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tokstok.getProduct("<url>"))Responsereturns TokstokProductinterface TokstokProduct { id: string; name: string; url: string; brand: string | null; category: string | null; breadcrumb: string[]; price: number | null; // Card price, BRL. listPrice: number | null; // Listed pre-discount price, BRL; null when not on sale. pixPrice: number | null; // Price paid by Pix, BRL. installments: { count: number; amount: number } | null; discountPercentage: string | null; availability: string | null; availableQuantity: number | null; description: string | null; specifications: Record<string, string>; images: string[]; }searchSearches Tok&Stok's catalogue (tokstok.com.br's own search) by product name and returns 20 products a page with product-page URL, name, current and…POST /v1/sites/tokstok/search
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/tokstok/search \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"cadeira konkret"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.tokstok.search("cadeira konkret");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.tokstok.search("cadeira konkret"))Responsereturns TokstokSearchResultinterface TokstokSearchRow { id: string; name: string; url: string; // The product page; pass it to getProduct. price: number | null; // Current price, BRL. oldPrice: number | null; // Struck-through price, BRL; null when not on sale. discountPercentage: string | null; status: string | null; // The site's stock status, e.g. "available". imageUrl: string | null; badges: string[]; } interface TokstokSearchResult { query: string; page: number; pageCount: number; total: number; // Total matching products the site reports. redirectedTo: string | null; // Set when the site sent the query to a category page (e.g. sofa → /moveis/sofas). products: TokstokSearchRow[]; }