# io.github.codespar/mcp-brasil-api (npm · @codespar/mcp-brasil-api)

MCP server for BrasilAPI — CEP, CNPJ, banks, FIPE, holidays, weather

- Trust score: 69/100 (medium)
- Change this week: +23
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-04

## Components

- npm · `@codespar/mcp-brasil-api`: 69/100 (this document), [markdown](https://verifymcp.io/servers/codespar-mcp-brasil-api/codespar-mcp-brasil-api.md), [page](https://verifymcp.io/servers/codespar-mcp-brasil-api/codespar-mcp-brasil-api)

## Channel facts

- Registry: `npm`
- Package: `@codespar/mcp-brasil-api`
- Version: `0.2.2`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-04.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 42 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 71/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 939 tokens (~39/item across 24 items; 24 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 30/100
  - Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add codespar-mcp-brasil-api -- npx -y @codespar/mcp-brasil-api
```

### Codex

```bash
codex mcp add codespar-mcp-brasil-api -- npx -y @codespar/mcp-brasil-api
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "codespar-mcp-brasil-api": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@codespar/mcp-brasil-api"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add codespar-mcp-brasil-api --command npx --arg -y --arg @codespar/mcp-brasil-api
```

### Hermes

```yaml
mcp_servers:
  codespar-mcp-brasil-api:
    command: "npx"
    args: ["-y", "@codespar/mcp-brasil-api"]
```

### Other

```json
{
  "mcpServers": {
    "codespar-mcp-brasil-api": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-brasil-api"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-04 (score 69, +1)

No change was recorded against any check on this day. Stability & Change Management went from 27 to 30. That category is still filling its 30-day observation window: 8 days of observed history at the previous scan, 9 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-08-02 (score 68, +1)

- [security regression] Known CVEs: partial → unverified
- [functional regression] Dependency health: partial → unverified
- [functional improvement] Stability: unverified → 0.23

### 2026-08-01 (score 67, +62)

- [security regression] Provenance: unverified → fail
- [security improvement] Malware scan: unverified → pass
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] License: unverified → pass
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Schema quality: unverified → good
- [functional improvement] Dependency health: unverified → partial
- [functional] Licence: MIT

### 2026-07-31 (score 5, −23)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 28, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (24)

### `get_cep` (~39 tokens)

Look up address by CEP (Brazilian postal code)

Input parameters:

- `cep` (string, required): CEP (8 digits, e.g. 01001000)

### `get_cnpj` (~30 tokens)

Look up company information by CNPJ

Input parameters:

- `cnpj` (string, required): CNPJ (14 digits)

### `get_banks` (~18 tokens)

List all Brazilian banks with codes and names

### `get_holidays` (~32 tokens)

List national holidays for a given year

Input parameters:

- `year` (number, required): Year (e.g. 2025)

### `get_fipe_brands` (~31 tokens)

List vehicle brands by type from FIPE table

Input parameters:

- `vehicle_type` (string, required): Vehicle type

### `get_fipe_price` (~41 tokens)

Get vehicle price from FIPE table by code

Input parameters:

- `fipe_code` (string, required): FIPE code (e.g. 001004-9)

### `get_ddd` (~41 tokens)

Get state and cities for a DDD (area code)

Input parameters:

- `ddd` (string, required): DDD code (e.g. 11 for São Paulo)

### `get_isbn` (~30 tokens)

Look up book information by ISBN

Input parameters:

- `isbn` (string, required): ISBN (10 or 13 digits)

### `get_ncm` (~30 tokens)

Look up NCM tax classification code

Input parameters:

- `code` (string, required): NCM code (8 digits)

### `get_cptec_weather` (~54 tokens)

Get weather forecast for a city (CPTEC/INPE)

Input parameters:

- `city_code` (number, required): CPTEC city code
- `days` (number): Number of forecast days (1-6, default 6)

### `get_pix_participants` (~23 tokens)

List Pix participant institutions (PSPs/banks enrolled in Pix)

### `get_domain_info` (~33 tokens)

Look up .br domain registration info

Input parameters:

- `domain` (string, required): Domain name (e.g. example.com.br)

### `get_ibge_municipalities` (~43 tokens)

List all municipalities for a Brazilian state (IBGE data)

Input parameters:

- `uf` (string, required): State abbreviation (e.g. SP, RJ, MG)

### `get_tax_rates` (~35 tokens)

Get current Brazilian tax/economic rates (Selic, CDI, IPCA)

Input parameters:

- `acronym` (string, required): Tax rate acronym

### `get_cptec_cities` (~36 tokens)

Search CPTEC/INPE cities by name for weather forecasts

Input parameters:

- `cityName` (string, required): City name to search

### `get_cep_v1` (~50 tokens)

Look up address by CEP using BrasilAPI v1 (single-provider, often faster than v2)

Input parameters:

- `cep` (string, required): CEP (8 digits, e.g. 01001000)

### `get_fipe_vehicles` (~54 tokens)

List vehicle models for a given FIPE brand code and vehicle type

Input parameters:

- `brand_code` (string, required): FIPE brand code (from get_fipe_brands)
- `vehicle_type` (string, required): Vehicle type

### `get_fipe_tables` (~25 tokens)

List FIPE reference tables (months/years available for FIPE queries)

### `get_cptec_airport_weather` (~53 tokens)

Get current airport weather (METAR) by ICAO code from CPTEC/INPE

Input parameters:

- `icao` (string, required): Airport ICAO code (e.g. SBGR for Guarulhos)

### `get_cptec_capitals_weather` (~22 tokens)

Get current weather conditions for all Brazilian state capitals

### `get_cptec_ocean_forecast` (~67 tokens)

Get ocean/wave forecast for a coastal city (CPTEC/INPE)

Input parameters:

- `city_code` (number, required): CPTEC city code (use get_cptec_cities to find)
- `days` (number): Number of forecast days (1-6, optional)

### `get_ibge_states` (~24 tokens)

List all Brazilian states/UFs with IBGE codes and metadata

### `get_corretoras` (~24 tokens)

List all CVM-registered Brazilian brokerages (corretoras)

### `get_corretora` (~37 tokens)

Look up a single CVM-registered brokerage by CNPJ

Input parameters:

- `cnpj` (string, required): Brokerage CNPJ (14 digits)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/codespar-mcp-brasil-api/codespar-mcp-brasil-api#diagnostics

## Score history

- 2026-08-04: 69
- 2026-08-03: 68
- 2026-08-02: 68
- 2026-08-01: 67
- 2026-07-31: 5
- 2026-07-30: 28
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/@codespar/mcp-brasil-api
- Socket report: https://socket.dev/npm/package/@codespar/mcp-brasil-api
- Repository: https://github.com/codespar/mcp-dev-latam
- Changelog RSS feed: https://verifymcp.io/servers/codespar-mcp-brasil-api/codespar-mcp-brasil-api/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/codespar-mcp-brasil-api/codespar-mcp-brasil-api/changelog.json
- HTML version of this page: https://verifymcp.io/servers/codespar-mcp-brasil-api/codespar-mcp-brasil-api
