Spanish company filing statistics
get_borme_statsReturns how many filings were published in the Mercantile Registry gazette (BORME) per month or per year, for all of Spain or one province, since 2009: incorporations, dissolutions, extinctions, insolvencies, capital increases and reductions, address changes and mergers. Use it for questions such as "how many companies were created in Valencia in 2025?". Dissolutions and insolvencies are not comparable between provinces; use extinctions to measure closures.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_borme_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last month (YYYY-MM) or year (YYYY). Default: current month. | |
| from | No | First month (YYYY-MM) or year (YYYY). Default: 11 months before "to". | |
| group | No | Group by month (default) or year. | |
| metrics | No | Comma-separated metrics: incorporations, dissolutions, extinctions, insolvencies, capital_increases, capital_reductions, address_changes, mergers. Default: all. | |
| province | No | Province of the Mercantile Registry by name (e.g. MADRID, VALENCIA) or INE code (e.g. 28). Omit for all of Spain. |