Brasil API

by guilhermelirio

3 stars
Not rated
GitHub

About

Integrates with Brasil API to provide access to Brazilian data services including postal codes, company information, banking data, geographic information, and domain registration checks.

Details

Author
guilhermelirio
Repository
guilhermelirio/brasil-api-mcp
GitHub stars
3
License
MIT License
Categories
AI, Design, Developer Tools, Search, Infrastructure, API, Frontend
Tags
#visualization

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Brasil API
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @highlight/mcp-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

To run the server:

npm start

This will start the MCP server that communicates via standard input/output (stdio).

npm install

// Sample request to get USD exchange rate
const response = await callMcpTool("cambio-rate", {
  currency: "USD",
  date: "2023-08-10"
});

// Response provides detailed exchange information

cep-search

Query address information from a Brazilian postal code (CEP).

cnpj-search

Query information about a Brazilian company by its CNPJ (National Registry of Legal Entities).

bank-search

Find information about a Brazilian bank by its code.

bank-list

List all Brazilian banks.

ddd-search

Find information about a Brazilian area code (DDD).

ibge-states-list

List all Brazilian states with their information.

ibge-state-search

Find information about a Brazilian state by its code or abbreviation.

ibge-municipalities-list

List all municipalities of a Brazilian state by its abbreviation.

cambio-currencies-list

List all available currencies for exchange rates.

cambio-rate

Get exchange rates for a specific currency on a specific date.

registrobr-domain-check

Check the status and availability of a .br domain name.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "brasil api": {
            "env": {},
            "args": [
                "-y",
                "@highlight/mcp-server"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "cmd"
}

Brasil API MCP

A Model Context Protocol (MCP) server that provides tools to query various Brazilian data services via the Brasil API.

Overview

Brasil API MCP is a bridge that connects AI assistants to Brazilian public data services through the standardized Model Context Protocol. It provides access to various information such as:

- Postal Codes (CEP)
- Company Registration (CNPJ)
- Bank information
- Area codes (DDD)
- IBGE (Brazilian Institute of Geography and Statistics) data
- Currency exchange rates
- Domain registration status (.br domains)

Installation

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.