# Comexstat Data Server (Brazilian foreign trade statistics)

Provide direct access to Brazilian foreign trade statistics through a comprehensive MCP server. Query detailed export and import data, municipal statistics, historical records, and auxiliary tables w…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add luizzzvictor/mcp-comexstat

# Browse available tools
npx -y @smithery/cli@latest tool list luizzzvictor/mcp-comexstat

# Get full schema for a tool
npx -y @smithery/cli@latest tool get luizzzvictor/mcp-comexstat getLastUpdate

# Call a tool
npx -y @smithery/cli@latest tool call luizzzvictor/mcp-comexstat getLastUpdate '{}'
```

## Tools (20)

- `getLastUpdate`
- `getAvailableYears`
- `getAvailableFilters`
- `getFilterValues`
- `getAvailableFields`
- `getAvailableMetrics`
- `queryData`
- `queryMunicipalitiesData`
- `queryHistoricalData`
- `getAuxiliaryTable`
- `getStates`
- `getStateDetails`
- `getCities`
- `getCityDetails`
- `getCountries`
- `getCountryDetails`
- `getEconomicBlocks`
- `getHarmonizedSystem`
- `getNBM`
- `getNBMDetails`

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get luizzzvictor/mcp-comexstat <tool-name>
```

---

Source: https://github.com/luizzzvictor/mcp-comexstat | License: MIT
