
Miniframe Tools
io.github.edsonvmendes由 GitHub 帳號 edsonvmendes 發布v1.3.0更新於 Oct 24, 2026
Brazilian tools for agents: Pix, CEP, CNPJ, BCB rates + web capture and PDF. Pay per call.
概覽
讓助理產生 Pix 付款碼、查詢巴西 CEP 與 CNPJ 資料,並把網頁轉成 Markdown、截圖或 PDF。
- 可以做什麼
- Miniframe Tools 以 MCP 工具形式提供巴西資料與網頁、文件處理能力。工具包含 pix_brcode(Pix BR Code 與 QR PNG)、cep_lookup(郵遞區號轉地址)、cnpj_lookup(公司登記查詢)、empresa_profile(公司綜合檔案)、url_to_markdown、screenshot_url、url_to_pdf、extract(頁面結構化資料與 CSS 選擇器欄位)以及 compress_pdf。每個工具對應同一服務的 HTTP 端點,按呼叫次數計費。
- 適用情境
- 適合助理需要巴西地址或公司資料、Pix 付款碼,或需要沙箱無法完成的網頁與 PDF 處理(例如算繪大量 JavaScript 的頁面、執行 Ghostscript)時使用。不適用於助理本身已能完成的任務,例如解析 CSV。
- 執行需求
- 透過 npm 套件 miniframe-tools-mcp(npx)以 stdio 在本機執行。需要環境變數 EVM_PRIVATE_KEY,也就是 Base 上已存入 USDC 的錢包私鑰,並需要連線至該 API 的網路。MINIFRAME_API_URL 為選用,預設指向服務網址。未宣告需要帳號或 API 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Miniframe Tools,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
MiniFrame Tools
The Brazilian toolkit for AI agents — plus the web and document work agents can't do inside a sandbox.
Ask your agent to generate a Pix payment code, resolve a CEP to a full address, or pull a company's record from the CNPJ registry. Point it at a JavaScript-heavy page and get clean Markdown, a screenshot or a PDF back.
A CNPJ lookup costs $0.01 — billed per call, with no monthly plan, no contract and no minimum, which is unusual for Brazilian data APIs.
- API: https://tools.miniframe.com.br
- Try a tool in one click: storefront
- Machine-readable spec: openapi.json · llms.txt
Tools
- pix_brcode — Generate a Brazilian Pix payment code (BR Code / "Copia e Cola" string) plus a QR PNG. $0.01 per call.
- cep_lookup — Resolve a Brazilian postal code (CEP) to a full street address. $0.005 per call.
- cnpj_lookup — Look up a Brazilian company by its CNPJ number in the public registry. $0.01 per call.
- empresa_profile — Consolidated Brazilian company profile to qualify a lead: registry + address completed via CEP + derived flags (active, headquarters, age, MEI/Simples, size, risk). $0.02 per call.
- url_to_markdown — Fetch a JavaScript-rendered web page and return clean Markdown for an LLM. $0.02 per call.
- screenshot_url — Take a screenshot of a web page and return it as PNG or JPEG. $0.03 per call.
- url_to_pdf — Render a web page as a PDF. $0.03 per call.
- extract — Extract the structured data a page exposes (JSON-LD, Open Graph, meta, tables, links) plus any fields you pass as CSS selectors. $0.02 per call.
- compress_pdf — Compress a PDF file with Ghostscript. $0.02 per call.
Each tool maps to an HTTP endpoint of the same service:
What makes these worth paying for
Brazilian sources, handled properly. CEP lookups hit BrasilAPI first and fall back to ViaCEP automatically, so a single upstream outage doesn't break your agent. Both sources come back through one normalized, English-keyed shape — your prompt never has to know which one answered.
Pix codes built to spec, locally. The BR Code follows the Central Bank's EMV layout, CRC16 and all, generated on our side with no third-party payment provider in the path. The key you send is used to build the code and is not stored.
Privacy taken seriously. CNPJ responses carry the company record — legal name, trade name, status, main activity, address — with personal fields left out by design.
Rendering that doesn't become an attack surface. The web tools run real Chromium, so JavaScript pages resolve, and they refuse private and internal addresses (SSRF guard) before a page is ever loaded.
Nothing to install for the hard parts. Ghostscript and a headless browser are the kind of dependency an agent sandbox doesn't have and can't install. That is exactly what this is for — anything an agent already does well on its own (parsing a CSV, reading a spreadsheet) is not sold here.
Use it as an MCP server
Works with Claude Desktop, Claude Code, Cursor, Windsurf, Cline and any MCP client.
Restart the client and the seven tools appear. Then just ask:
"Generate a Pix code for R$ 50 to key
[email protected], name Maria Silva, city Recife""What's the address for CEP 01310-100?"
"Look up CNPJ 00.000.000/0001-91 and tell me if the company is active"
"Turn https://example.com into Markdown so I can summarise it"
Use it as a plain HTTP API
No MCP needed — every tool is a normal endpoint:
Paying
Calls are billed per request in USDC on Base, using the
x402 protocol: the endpoint answers 402 with the price, your
client signs the payment and repeats the request. Most agent runtimes handle this
for you.
For MCP, set EVM_PRIVATE_KEY to a wallet funded with a few dollars of USDC — use a
dedicated low-balance wallet, never your main one. The key stays on your machine and
signs locally; it is never sent to the API.
Over plain HTTP, wrap your client with any x402 library — see
examples/ for a runnable Node script.
License
MIT
來源:README.md,提交 f77ce49
工具
0版本歷史
2- v1.3.0最新Sep 28, 2026
- v1.2.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分