npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@integrabot/brasil-api

v0.0.8

Published

MCP server for Brasil API integration

Readme

Brasil API - MCP Server

Category: Government

An MCP server that provides access to various public data from Brazil through the Brasil API.

Features

  • Address Lookup: Query complete address information using postal codes (CEP)
  • Business Data: Retrieve detailed company information using CNPJ registration numbers
  • Geolocation: Access municipality data and area codes (DDD) coverage
  • Financial System: Information about banks, PIX payment system participants, and currency exchange rates
  • Calendar: National holidays for specific years

Tools

Address

  • brasil_cep
    • Query address information from a Brazilian postal code
    • Inputs:
      • cep (string): Postal code in numeric format or 00000-000 pattern

Business

  • brasil_cnpj
    • Retrieve company registration data from a CNPJ number
    • Inputs:
      • cnpj (string): CNPJ in numeric format or 00.000.000/0000-00 pattern

Telecommunications

  • brasil_ddd
    • List cities that use a specific area code
    • Inputs:
      • ddd (string): Area code (examples: 11, 21, 31)

Calendar

  • brasil_feriados
    • List national holidays for a specific year
    • Inputs:
      • ano (string): Year in YYYY format (examples: 2023, 2024)

Financial System

  • brasil_banco
    • Get information about a specific Brazilian bank
    • Inputs:
      • codigo (string): Bank code (examples: 001, 237, 341)
  • brasil_bancos
    • List all Brazilian banks and their information
    • Inputs: (no parameters)
  • brasil_pix_participantes
    • List all institutions participating in the PIX payment system
    • Inputs: (no parameters)
  • brasil_cotacao
    • Get exchange rates for currencies against the Brazilian Real
    • Inputs:
      • moeda (string): Currency code (USD, EUR, etc.)

Geography

  • brasil_ibge_municipio
    • Search for Brazilian municipalities using IBGE code
    • Inputs:
      • codigoIbge (string): IBGE municipality code
      • provedores (string, optional): Data providers (IBGE)

Installation

npm install @integrabot/brasil-api

Usage

As an MCP Server (for LLM integration)

npx brasil-api

As a Library

import { BrasilAPI } from '@integrabot/brasil-api';

// Example usage
const cep = await BrasilAPI.consultarCEP('01001000');
const cnpj = await BrasilAPI.consultarCNPJ('00000000000191');
const ddd = await BrasilAPI.consultarDDD('11');

Configuration

Brasil API is a free service that doesn't require an API key, but it has usage limits.

Rate Limits

This server implements rate limiting to respect Brasil API's usage limits:

  • 2 requests per second
  • 60 requests per minute

Timeouts

This server implements a 15-second timeout on all API requests to prevent blocking.