brasilapi-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lookup_cnpjA | Public registry data for a Brazilian company (Receita Federal, via BrasilAPI): legal name, registration status, main activity, address, size, tax regime and partners (QSA). Accepts a CNPJ with or without punctuation, including the alphanumeric format. Partner CPFs come masked by the registry. Use it to check that a company exists and is active. |
| validate_cnpjA | Checks the format and the check digits of a CNPJ (numeric or alphanumeric) without any network call. A valid number is not proof that the company exists: use lookup_cnpj for that. |
| validate_cpfA | Checks the format and the check digits of a CPF without any network call. The number is not stored or sent anywhere. |
| lookup_cepA | Street, neighborhood, city, state, IBGE city code and coordinates for a Brazilian postal code (CEP), via BrasilAPI. |
| list_holidaysA | National holidays of a year with their dates and weekdays, via BrasilAPI. Useful for business-day and deadline calculations. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: CNPJ registry lookup, CNPJ check-digit validation, CPF validation, CEP lookup, and holiday listing. The descriptions explicitly separate lookup from validation, preventing confusion between the two CNPJ tools.
All tool names follow a consistent verb_noun pattern: lookup_cnpj, validate_cnpj, validate_cpf, lookup_cep, list_holidays. The convention is predictable and readable.
Five tools is well-scoped for a focused BrasilAPI utility server. Each tool earns its place without redundancy, and the set stays easy to navigate.
The surface covers CNPJ lookup/validation, CPF validation, CEP lookup, and holidays, but leaves out many BrasilAPI domains such as DDD, banks, FIPE, IBGE, NCM, and PIX. These are notable gaps relative to the server name and BrasilAPI's broader scope.