# Brazil Business Intel & PIX Engine (x402)

> Brazil CNPJ KYB dossier, IBGE CEP lookup, CPF/CNPJ validator & PIX EMVCo CRC16 via x402 Base USDC.

- name: io.github.brunopompeo1/br-business-intel-x402
- version: 2.7.1
- connection class: R0 (autonomous)
- trust: 93/100 flags: duplicate-repo
- quality: 85/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.brunopompeo1%2Fbr-business-intel-x402
- tools: https://api.protogrid.dev/v1/servers/io.github.brunopompeo1%2Fbr-business-intel-x402/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "br-business-intel-x402": {
      "type": "http",
      "url": "https://br-business-intel-x402.architect-x402.workers.dev/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 99
- freshness: 100
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-98% +updated-4d-ago -duplicate-repo(13 names)
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 85/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-06-18; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 94 (weight 30)

- pass `tools.descriptions`: every tool has a description
- warn `tools.description_length`: 5 tools have descriptions over 1,024 characters, which crowds the context
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 5 of 5 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 2,342 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: 83 (weight 15)

- warn `stability.changes`: 6 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 5, about 2,342 tokens to load them all
- tool set hash: 2e47565bbd1f92454d6d1d3917944545
- tools last changed: 2026-11-25T03:09:23.702Z
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.brunopompeo1/br-business-intel-x402.svg)](https://protogrid.dev/servers/io.github.brunopompeo1/br-business-intel-x402)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-25 `br_business_intel` removed
  - Brazilian Corporate CNPJ KYB Dossier (QSA partners, Simples/MEI, B2B Risk Score), IBGE Geo-CEP lookup, CPF/CNPJ Mod-11 validator, and Central Bank PIX BRCode (EMVCo + CRC16) generator/decoder (0.01 USDC via x402 on Base).
- 2026-11-25 `br_decode_pix_brcode` added
  - Parses an existing PIX copy-and-paste string, verifies its CRC16-CCITT checksum against the payload, and extracts the PIX key, receiver name and city, amount, description and country code from the EMVCo tags. Use it before paying to confirm a code was not altered in transit, to reconcile an inbound charge, or to extract the counterparty key for a KYB check. Do not use it to create a charge (use br_generate_pix_brcode). Deterministic, read-only and fully offline: no bank or external service is contacted, so decoding proves the code is internally consistent but says nothing about whether the key is active or the charge is legitimate. Costs 0.01 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. A tampered or truncated code is a normal result, not an error: the call returns success:true with valid:false and both the provided and the recomputed checksum so the mismatch can be audited, and tags the payload omits come back as null rather than raising an exception.
- 2026-11-25 `br_generate_pix_brcode` added
  - Builds a static PIX copy-and-paste string following the Central Bank of Brazil EMVCo specification, with the CRC16-CCITT checksum already computed, from a PIX key plus receiver name and city. The returned brcode can be pasted into any Brazilian banking app or rendered as a QR code. Use it to charge for an order, issue a payment link, or settle an invoice in BRL. Do not use it to read an existing code (use br_decode_pix_brcode), and note that it builds the payload only: it does not register the charge with a bank, does not reserve an amount and cannot confirm that money arrived. Deterministic, read-only and fully offline, so the same arguments always return the same brcode and a retry neither duplicates a charge nor creates anything. Costs 0.01 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. Field limits mandated by the specification are enforced by truncation and accent stripping rather than by rejection, so always read back merchantName, merchantCity and txid to see what was actually encoded.
- 2026-11-25 `br_validate_tax_id_checkdigits` added
  - Audits a Brazilian tax identifier offline: it detects from the digit count whether the input is a CPF or a CNPJ, recomputes the Mod-11 check digits, rejects repeated-digit sequences such as 111.111.111-11, and reports the normalised digits. Use it as a cheap first gate before any paid enrichment, to validate form input, or to clean a batch of documents. Do not use it to find out who owns the document or whether the company is active, which requires the public-base lookup in br_lookup_company_dossier. Fully deterministic, read-only and offline: no external request is made, so the result never changes and a retry is always safe. Costs 0.01 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. A failing document is a normal result, not an error: the call returns success:true with isValid:false, and a digit count other than 11 or 14 yields type 'UNKNOWN' with an explanatory field, never an exception. Passing the check digits proves the number is well formed, not that it exists at Receita Federal.
- 2026-11-25 `br_lookup_postal_address` added
  - Expands a Brazilian postal code (CEP) into street, district, municipality, state, macro-region, IBGE municipality code, telephone area code and SIAFI code, with an automatic fallback to a second public base that returns latitude and longitude instead. Use it to autofill a shipping or billing address, to derive the IBGE code needed to join public statistical datasets, or to sanity-check an address a counterparty supplied. Do not use it to look up a company by CNPJ (use br_lookup_company_dossier). Read-only and idempotent: nothing is written and the same CEP returns the same address until the postal base changes. It queries external public bases, so a well-formed but unassigned CEP returns found:false with success:true and a CEP without 8 digits returns valid:false, never an exception. Costs 0.01 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. Note that when the fallback source answers, regiao, ibgeCode, ddd and siafiCode are absent and coordinates is present instead.
- 2026-11-25 `br_lookup_company_dossier` added
  - Resolves a Brazilian company CNPJ into a full dossier from the public Receita Federal base: legal and trade name, registration status, tenure, share capital, CNAE activity, Simples/MEI flags, head-office address, cap table summary, and a deterministic B2B risk score with an explicit transact / review / refuse recommendation. Use it for KYB onboarding, supplier approval, credit triage and enriching a lead before invoicing. Do not use it merely to check whether a document's digits are well formed, which is cheaper and offline through br_validate_tax_id_checkdigits, and do not use it for a street address lookup from a postal code (use br_lookup_postal_address). Read-only and idempotent: nothing is written and the same CNPJ returns the same dossier until the public base changes. It queries an external public base, so a CNPJ that is mathematically valid but absent comes back as found:false with success:true, and invalid check digits come back as valid:false, never as an exception. Costs 0.01 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. The risk score is a rules-based triage signal computed at the edge, not a credit bureau rating.

Full history: https://api.protogrid.dev/v1/servers/io.github.brunopompeo1%2Fbr-business-intel-x402/changes

## Remotes

- https://br-business-intel-x402.architect-x402.workers.dev/mcp (streamable-http, auth none, reachable true, uptime30d 0.9811321)

## Packages

_none_

## Tools (5)

- `br_decode_pix_brcode`: Parses an existing PIX copy-and-paste string, verifies its CRC16-CCITT checksum against the payload, and extracts the PIX key, receiver name and city, amount, description and country code from the EMVCo tags. Use it before paying to confirm a code was not altered in transit, to reconcile an inbound charge, or to extract the counterparty key for a KYB check. Do not use it to create a charge (use br_generate_pix_brcode). Deterministic, read-only and fully offline: no bank or external service is contacted, so decoding proves the code is internally consistent but says nothing about whether the key is active or the charge is legitimate. Costs 0.01 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. A tampered or truncated code is a normal result, not an error: the call returns success:true with valid:false and both the provided and the recomputed checksum so the mismatch can be audited, and tags the payload omits come back as null rather than raising an exception.
- `br_generate_pix_brcode`: Builds a static PIX copy-and-paste string following the Central Bank of Brazil EMVCo specification, with the CRC16-CCITT checksum already computed, from a PIX key plus receiver name and city. The returned brcode can be pasted into any Brazilian banking app or rendered as a QR code. Use it to charge for an order, issue a payment link, or settle an invoice in BRL. Do not use it to read an existing code (use br_decode_pix_brcode), and note that it builds the payload only: it does not register the charge with a bank, does not reserve an amount and cannot confirm that money arrived. Deterministic, read-only and fully offline, so the same arguments always return the same brcode and a retry neither duplicates a charge nor creates anything. Costs 0.01 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. Field limits mandated by the specification are enforced by truncation and accent stripping rather than by rejection, so always read back merchantName, merchantCity and txid to see what was actually encoded.
- `br_lookup_company_dossier`: Resolves a Brazilian company CNPJ into a full dossier from the public Receita Federal base: legal and trade name, registration status, tenure, share capital, CNAE activity, Simples/MEI flags, head-office address, cap table summary, and a deterministic B2B risk score with an explicit transact / review / refuse recommendation. Use it for KYB onboarding, supplier approval, credit triage and enriching a lead before invoicing. Do not use it merely to check whether a document's digits are well formed, which is cheaper and offline through br_validate_tax_id_checkdigits, and do not use it for a street address lookup from a postal code (use br_lookup_postal_address). Read-only and idempotent: nothing is written and the same CNPJ returns the same dossier until the public base changes. It queries an external public base, so a CNPJ that is mathematically valid but absent comes back as found:false with success:true, and invalid check digits come back as valid:false, never as an exception. Costs 0.01 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. The risk score is a rules-based triage signal computed at the edge, not a credit bureau rating.
- `br_lookup_postal_address`: Expands a Brazilian postal code (CEP) into street, district, municipality, state, macro-region, IBGE municipality code, telephone area code and SIAFI code, with an automatic fallback to a second public base that returns latitude and longitude instead. Use it to autofill a shipping or billing address, to derive the IBGE code needed to join public statistical datasets, or to sanity-check an address a counterparty supplied. Do not use it to look up a company by CNPJ (use br_lookup_company_dossier). Read-only and idempotent: nothing is written and the same CEP returns the same address until the postal base changes. It queries external public bases, so a well-formed but unassigned CEP returns found:false with success:true and a CEP without 8 digits returns valid:false, never an exception. Costs 0.01 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. Note that when the fallback source answers, regiao, ibgeCode, ddd and siafiCode are absent and coordinates is present instead.
- `br_validate_tax_id_checkdigits`: Audits a Brazilian tax identifier offline: it detects from the digit count whether the input is a CPF or a CNPJ, recomputes the Mod-11 check digits, rejects repeated-digit sequences such as 111.111.111-11, and reports the normalised digits. Use it as a cheap first gate before any paid enrichment, to validate form input, or to clean a batch of documents. Do not use it to find out who owns the document or whether the company is active, which requires the public-base lookup in br_lookup_company_dossier. Fully deterministic, read-only and offline: no external request is made, so the result never changes and a retry is always safe. Costs 0.01 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. A failing document is a normal result, not an error: the call returns success:true with isValid:false, and a digit count other than 11 or 14 yields type 'UNKNOWN' with an explanatory field, never an exception. Passing the check digits proves the number is well formed, not that it exists at Receita Federal.
