brmarket-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@brmarket-mcp search for iPhone 14"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
brmarket-mcp
MCP server for Brazilian marketplace product search, paid automatically with x402 micropayments (USDC on Base or Solana).
One call searches Mercado Livre, Shopee and AliExpress together and returns a
single normalized shape: BRL prices in integer cents, canonical + affiliate links,
and a per-marketplace sources state so a degraded marketplace is never silent.
A free import-tax calculator turns a price into the real landed price — the
honest "best value with Brazilian import tax" comparison.
Status: not published yet.
brmarket-mcp@0.1.0is built and ready; publishing to npm and the MCP registry is a manual step. See Publishing below.
Tools
Tool | Price | What it does |
| $0.01 | Mercado Livre + Shopee + AliExpress in one call. Normalized BRL prices (integer cents), canonical + affiliate links, free shipping, rating, sold count, seller id/name/official-store, |
| $0.05 | Same, but from a product photo. Returns |
| free | One result, canonical link only, no affiliate link. |
| free | Brazilian import tax + landed price of a cross-border purchase (Import Tax 0% ≤ US$50 else 30% − US$20, ICMS por-dentro by state, Bacen PTAX rate). BRL cents or USD in; pass |
Always read sources
Every response reports each marketplace as ok / error / timeout /
not_configured. A short result list may mean a marketplace was down, not that
the market is thin. Never present a degraded page as the whole market.
Related MCP server: mcp-brazil-marketplaces
Install
npx brmarket-mcpClaude Desktop / Claude Code (claude_desktop_config.json):
{
"mcpServers": {
"brmarket": {
"command": "npx",
"args": ["-y", "brmarket-mcp"],
"env": {
"EVM_PRIVATE_KEY": "0x…"
}
}
}
}The free preview tool works with no wallet at all.
Environment
Variable | Required | Description |
| no |
|
| no | base58 or JSON-array secret key of a dedicated Solana wallet holding USDC. |
| no | RPC override used to build the Solana payment (e.g. a Helius URL). |
| no | Defaults to |
| no |
|
Configure either rail, or both — the x402 layer settles on whichever the server's 402 advertises. Without any key, paid tools fail with HTTP 402.
⚠️ These keys spend real money. Use dedicated wallets with small balances, never a personal or treasury key. Anything that can read this process' environment can spend from them.
Develop
npm install
npm run build # tsc -> dist/
npm run typecheck
npm run version:check # all FIVE version sites must agreePublishing (manual — Thiago only)
npm run version:check # wired into prepublishOnly too
npm publishThen verify the tarball from the registry, not the local build:
npm pack brmarket-mcp@<version> --registry https://registry.npmjs.org
tar -xzOf brmarket-mcp-<version>.tgz package/dist/index.js | grep -o 'version: "[^"]*"'A green build proves nothing about what was published — brdata-mcp 0.3.4 shipped
from a stale source copy and its MCP handshake reported 0.3.2 while npm said
0.3.4. Check the tarball.
For the MCP registry, server.json carries the full environmentVariables block.
Do not drop it: brdata-mcp 0.3.3 published without it and the registry entry lost
every variable.
License
MIT © Thiago Menzinger
Available Tools
4 toolscalculate_import_taxesEstimate Brazilian import tax & landed price (free)A
FREE, deterministic. Estimates the Brazilian import tax on a cross-border purchase and the final landed price. Give the product value (and freight) EITHER in BRL integer cents (product_cents / freight_cents) OR in USD (product_usd / freight_usd) — not both — plus an optional buyer state uf. Returns the Import Tax (0% up to US$50, else 30% − US$20), the ICMS por-dentro by state, the total landed price, the USD rate used (Bacen PTAX) and the ruleset version. Rules follow MP 1.357/2026 and may change (~sep/2026); it is an estimate — the marketplace checkout is the source of truth. No payment.
Inputs: uf, freight_usd, product_usd, freight_cents, +3 more.
search_by_imageSearch Brazilian marketplaces from a product photoA
Search from a product PHOTO: a vision model reads the brand, model and attributes off the image and the resulting query runs across all three marketplaces. Returns the same normalized offers as search_products, plus interpreted_query — check it: if the model misread the photo, that field is where you will see it. Paid ($0.05).
Inputs: image_url (required), uf, sort, limit, +3 more.
search_productsSearch & compare products across Brazilian marketplacesA
Search Mercado Livre, Shopee and AliExpress in ONE call. Returns normalized offers (BRL price in integer cents, canonical + affiliate link, imageUrl, free-shipping flag, rating, sold count, seller id/name/official-store flag, dataAsOf). Every response carries per-marketplace sources state and data_as_of — always read it; a short list may mean a marketplace was down, not that the market is thin. Cheapest-first by default (of what we sampled). Paid ($0.01).
Inputs: q (required), uf, sort, limit, +3 more.
search_products_previewPreview a product search (free)A
FREE teaser: one result, canonical link only, no affiliate link. Use it to check that a query returns something before paying for the full page. No payment required.
Inputs: q (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: preview vs full search, image-based search, and tax calculation. The overlap between preview and full search is intentional and clearly documented, so agents can easily choose the right one.
All tool names follow a consistent snake_case verb_noun pattern: search_products_preview, search_products, search_by_image, calculate_import_taxes. The naming clearly conveys the action and object.
With 4 tools, the set is well-scoped for the server's purpose: product search (text, image, preview) and import tax estimation. Each tool earns its place without unnecessary bloat.
The tool set covers the core workflows for searching and estimating taxes. Minor gaps exist, such as lack of explicit pagination or sorting controls, but these are workable and the primary use cases are fully supported.
Maintenance
Related MCP Connectors
Official caBRAPI MCP server to manage stores, products, coupons, payments, and webhooks.
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
Programmatic web-scraping MCP server powered by x402 micro-transactions on Base.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that provides AI assistants with tools for Mercado Libre and Shopee affiliate marketing, including product search, affiliate link generation, product analysis, copy generation, and trending product discovery.63MIT
- AlicenseAqualityDmaintenanceMCP server to search and retrieve public ads from OLX Brasil and Mercado Livre Brasil with automatic anti-bot bypass.41MIT
- FlicenseNot gradedqualityCmaintenanceMCP server for searching Shopee products in Singapore or Indonesia and generating affiliate links via the Shopee Affiliate Open API.-
- AlicenseAqualityDmaintenanceAn MCP server for Brazilian company and public procurement data, enabling CNPJ lookup, company search, tender resolution, and more via paid USDC-based API calls.1573 npmMIT