# BrasilAPI MCP Server

Query a variety of data from Brasil resources seamlessly. Access information on postal codes, area codes, banks, holidays, taxes, and more through a unified interface. Enhance your AI agents and appl…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add mauricio-cantu/brasil-api-mcp-server

# Browse available tools
npx -y @smithery/cli@latest tool list mauricio-cantu/brasil-api-mcp-server

# Get full schema for a tool
npx -y @smithery/cli@latest tool get mauricio-cantu/brasil-api-mcp-server get_postal_code_v1

# Call a tool
npx -y @smithery/cli@latest tool call mauricio-cantu/brasil-api-mcp-server get_postal_code_v1 '{}'
```

## Tools (6)

- `get_postal_code_v1` — Get a location data given a CEP (postal code).
- `get_postal_code_v2` — Version 2 of get a location data given a CEP (postal code).
- `get_isbn` — Get information about a book given an ISBN.
- `get_cnpj` — Get information about a company given a CNPJ.
- `get_all_banks` — Get information of all banks from Brazil.
- `get_bank_by_code` — Get information from a specific bank given its code. The code from each bank is returned by get_all_banks tool.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get mauricio-cantu/brasil-api-mcp-server <tool-name>
```

---

Source: https://github.com/mauricio-cantu/brasil-api-mcp-server
