Brazilian data and document tools for AI agents (Pix, CEP, CNPJ, web capture, PDF). Pay-per-call in USDC on Base via x402. MCP server included.
git clone https://github.com/edsonvmendes/miniframe-tools-mcp{
"mcpServers": {
"miniframe-tools-mcp": {
"command": "node",
"args": ["/path/to/miniframe-tools-mcp/dist/index.js"]
}
}
}MCP Servers overview
# 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](https://tryponcho.com/m/tools.miniframe.com.br)
- **Machine-readable spec:** [openapi.json](https://tools.miniframe.com.br/openapi.json) · [llms.txt](https://tools.miniframe.com.br/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.
- **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.
- **compress_pdf** — Compress a PDF file with Ghostscript. $0.02 per call.
Each tool maps to an HTTP endpoint of the same service:
| Tool | Endpoint |
|---|---|
| `pix_brcode` | `POST /pix/brcode` |
| `cep_lookup` | `POST /cep` |
| `cnpj_lookup` | `POST /cnpj` |
| `url_to_markdown` | `POST /url-to-markdown` |
| `screenshot_url` | `POST /screenshot` |
| `url_to_pdf` | `POST /url-to-pdf` |
| `compress_pdf` | `POST /compress-pdf` |
## 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.
```json
{
"mcpServers": {
"miniframe-tools": {
"command": "npx",
"args": ["-y", "miniframe-tools-mcp"],
"env": {
"EVM_PRIVATE_KEY": "0xyour_private_key"
}
}
}
}
```
Restart the client and the seven tools appear. Then just ask:
> "Generate a Pix code for R$ 50 to key `abc@example.com`, 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:
```bash
curl -i -X POST https://tools.miniframe.com.br/cep \
-H "Content-Type: application/json" \
-d '{"cep":"01310100"}'
```
## Paying
Calls are billed per request in USDC on Base, using the
[x402](https://x402.org) 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.
| Variable | Required | Default |
|---|---|---|
| `EVM_PRIVATE_KEY` | yes | — |
| `MINIFRAME_API_URL` | no | `https://tools.miniframe.com.br` |
Over plain HTTP, wrap your client with any x402 library — see
[`examples/`](examples/) for a runnable Node script.
## License
MIT
What people ask about miniframe-tools-mcp
What is edsonvmendes/miniframe-tools-mcp?
+
edsonvmendes/miniframe-tools-mcp is mcp servers for the Claude AI ecosystem. Brazilian data and document tools for AI agents (Pix, CEP, CNPJ, web capture, PDF). Pay-per-call in USDC on Base via x402. MCP server included. It has 1 GitHub stars and was last updated today.
How do I install miniframe-tools-mcp?
+
You can install miniframe-tools-mcp by cloning the repository (https://github.com/edsonvmendes/miniframe-tools-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is edsonvmendes/miniframe-tools-mcp safe to use?
+
edsonvmendes/miniframe-tools-mcp has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains edsonvmendes/miniframe-tools-mcp?
+
edsonvmendes/miniframe-tools-mcp is maintained by edsonvmendes. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to miniframe-tools-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy miniframe-tools-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/edsonvmendes-miniframe-tools-mcp)<a href="https://claudewave.com/repo/edsonvmendes-miniframe-tools-mcp"><img src="https://claudewave.com/api/badge/edsonvmendes-miniframe-tools-mcp" alt="Featured on ClaudeWave: edsonvmendes/miniframe-tools-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!