Brasil API MCP Server

No authentication required. BrasilAPI is a free public API. No sandbox needed. BrasilAPI is free and open for all requests. Its 24 documented tools cover cptec, fipe, weather, cep.

People who work with cptec, fipe and weather and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

One of 127 MCP servers published from codespar/mcp-dev-latam. Stars and repository activity are shared across all of them. See all 127 →

VERIFIED ACTIVE

LAST COMMIT 2026-08-29 · VERIFIED 2026-09-18

MIT · TypeScript servers · how we verify → /methodology

01 · Install Brasil API

before you install - you'll need

The README does not document required environment variables for a basic install.

Claude Code

claude mcp add codespar-mcp-dev-latam-packages-identity -- npx -y @codespar/mcp-brasil-api

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "codespar-mcp-dev-latam-packages-identity": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-brasil-api"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @codespar/mcp-brasil-api - published under the repo owner's npm scope (@codespar)

registry namespace io.github.codespar is GitHub-verified and matches the repo owner

03 · What Brasil API can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can list all Brazilian banks with codes and names, list national holidays for a given year, list vehicle brands by type from FIPE table, and get vehicle price from FIPE table by code.

Capability map

Tools grouped from the project's README - what Brasil API lets an agent do.

read & search

11 tools - e.g. Look up company information by CNPJ; List all Brazilian banks with codes and names; List national holidays for a given year

get_cnpj · get_banks · get_holidays · get_ddd · get_isbn · get_ncm…

Cptec

5 tools - e.g. Get weather forecast for a city (CPTEC/INPE); Search CPTEC/INPE cities by name for weather forecasts; Get current airport weather (METAR) by ICAO code from CPTEC/INPE

get_cptec_weather · get_cptec_cities · get_cptec_airport_weather · get_cptec_capitals_weather · get_cptec_ocean_forecast

Fipe

4 tools - e.g. List vehicle brands by type from FIPE table; Get vehicle price from FIPE table by code; List vehicle models for a given FIPE brand code and vehicle type

get_fipe_brands · get_fipe_price · get_fipe_vehicles · get_fipe_tables

Cep

2 tools - e.g. Look up address by CEP (Brazilian postal code); Look up address by CEP using BrasilAPI v1 (single-provider, often faster than v2)

get_cep · get_cep_v1

Ibge

2 tools - e.g. List all municipalities for a Brazilian state (IBGE data); List all Brazilian states/UFs with IBGE codes and metadata

get_ibge_municipalities · get_ibge_states

04 · Who maintains Brasil API

mcp-brasil-api is maintained by codespar. We track 127 MCP servers from codespar - 127 actively maintained, 271 combined GitHub stars, oldest repo from Mar 2026. Full record: all servers from codespar.

  1. mcp-iugu MCP server for iugu - invoices, subscriptions, customers, payment methods ★ 271
  2. mcp-asaas MCP server for Asaas - billing automation, Pix, boleto, credit card, subscriptions ★ 271
  3. mcp-omie MCP server for Omie - ERP, customers, products, orders, invoices, financials ★ 271
  4. mcp-mercado-bitcoin MCP server for Mercado Bitcoin - Brazilian crypto exchange, trading, orderbook, withdrawals ★ 271
  5. mcp-sendgrid MCP server for SendGrid - global transactional + marketing email (Twilio-owned) ★ 271
  6. mcp-stripe-acp Stripe ACP - AI agent checkout, payment delegation, products, invoices ★ 271

05 · Facts

category
maps & location - actively maintained as of 2026-09-18.
registry
io.github.codespar/mcp-brasil-api (active, first published 2026-04-12 · 3 versions)
packages
npm:@codespar/mcp-brasil-api

06 · Brasil API FAQ

Is Brasil API still maintained?

Yes - as of 2026-09-18, its last commit was 2026-08-29. We re-verify nightly.

What can Brasil API do?

With this server connected, an agent can list all Brazilian banks with codes and names, list national holidays for a given year, list vehicle brands by type from FIPE table, and get vehicle price from FIPE table by code.

How do I install Brasil API?

Run `npx -y @codespar/mcp-brasil-api`. The README does not document required environment variables for a basic install. You can also paste the ready-made client config above.

Does Brasil API run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Brasil API

More maps & location MCP servers · France Data MCP · Aviation Weather MCP Server · Noaa Cdo MCP Server · Noaa Climate MCP Server · Noaa Spaceweather MCP Server

More TypeScript MCP servers · Caf · Certta · Jumio · Onfido · Persona · see all