BORME API
com.bormeapi/borme-mcp
MCP server OK 18 tools
What it is for
Lets an assistant query Spain's company registry gazette (BORME): event search, company history and snapshot, lookup by NIF, VAT check, brands, grants, contracts and groups.
Summary written by L’Atlas on 29 Nov 2026, rewritten only from the author’s description and the tools seen by our test. Author’s text below.
Spain's company registry gazette (BORME): more than 9.6 million events since 2009. API key or OAuth.
Technical sheet
- Author
- bormeapi.com (registry namespace)
- Repository
- github.com/bormeapi/borme-mcp
- Site
- bormeapi.com/mcp
- Version
- 2.1.0
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://mcp.bormeapi.com/mcp Streamable HTTP
https://mcp.bormeapi.com/mcp/oauth Streamable HTTP - Tools
- 18
- Categories
- —
- Last updated
- 30 Oct 2026
- Published
- 30 Oct 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/com.bormeapi/borme-mcp)<a href="https://latlas.dev/en/mcp/com.bormeapi/borme-mcp"><img src="https://latlas.dev/badge/fiche/com.bormeapi/borme-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://mcp.bormeapi.com/mcp
- Last result
- OK 28 Nov 2026, 10:35
- Response time
- 1,211 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- borme 0.1.0
- Tools
- 18
- Address
- https://mcp.bormeapi.com/mcp/oauth
- Last result
- OAuth required 28 Nov 2026, 11:07 OAuth annoncé (WWW-Authenticate resource_metadata)
History
| Date | Address | Result | Response | Tools |
|---|---|---|---|---|
| 28 Nov 2026, 11:07 | mcp.bormeapi.com/mcp/oauth | OAuth required | 211 ms | — |
| 28 Nov 2026, 10:35 | mcp.bormeapi.com/mcp | OK | 1,211 ms | 18 |
With small models
Does the local model pick the right tool with valid arguments? Tasks written from this server’s tools, no tool executed. Method · Ranking
This test measures tool choice and parameter validity on this server, without executing anything. Multi-step tasks are measured separately, in our sandboxes (multi-step test).
This server’s tool list adds 10,618 tokens to the prompt.
Mac mini M4 24 GB
| Model | Tasks passed | Right tool | Median time | Date |
|---|---|---|---|---|
| Bonsai 2 27B | 4/5 80 % | 4/5 | 23.3 s | 1 Dec 2026 |
| Gemma 4 E4B | 4/5 80 % | 4/5 | 680 ms | 1 Dec 2026 |
| Ornith 1.5 9B | 4/5 80 % | 4/5 | 4,563 ms | 1 Dec 2026 |
| Qwen3.5 4B | 4/5 80 % | 4/5 | 2,737 ms | 30 Nov 2026 |
| Qwen3.5 9B | 4/5 80 % | 4/5 | 1,879 ms | 1 Dec 2026 |
| GPT-OSS 20B | 3/5 60 % | 3/5 | 2,142 ms | 1 Dec 2026 |
“Works with small models” badge: at least 75% of tasks passed on average.
[](https://latlas.dev/en/mcp/com.bormeapi/borme-mcp#petits-modeles)Which model for this MCP?
Local: Mac mini M4 24 GB, Ollama. At equal success, the fastest. With a local model your requests stay on your machine; with the cloud they go to the provider. Cloud speed depends on the network and the provider. Local or cloud?
Clearer descriptions for small models
Same requests, same small models: 19/25 passed before, 21/25 after (+2). Rewritten by Qwen 3.8 27B (Cerebras, gratuit) 2026-12-02, without seeing the test requests; names and schemas unchanged.
| Model | Before | After |
|---|---|---|
| Gemma 4 E4B | 4/5 80 % | 5/5 100 % |
| GPT-OSS 20B | 3/5 60 % | 4/5 80 % |
| Ornith 1.5 9B | 4/5 80 % | 4/5 80 % |
| Qwen3.5 4B | 4/5 80 % | 4/5 80 % |
| Qwen3.5 9B | 4/5 80 % | 4/5 80 % |
search_events
Before
After
company_history
Before
After
company_snapshot
Before
After
company_signals
Before
After
All rewritten descriptions, ready to copy (JSON)
[
{
"name": "search_events",
"description": "Search BORME registry events across many companies by date, province, act type, or name. Use for multiple companies. For one company use company_history; to find a company use search_companies; for one day's totals use daily_digest. Dates: YYYY-MM-DD (e.g. 2024-01-15). Provinces: accent/case-insensitive (e.g. \"MADRID\"). Act types: enums from list_act_types. Paginate with cursor."
},
{
"name": "company_history",
"description": "Get one company's BORME timeline: its published registry events within your plan's window. Use once the company is known (slug from search_companies or company_by_nif). For many companies use search_events. Accepts a slug (e.g. vaz-metales-sl) or a name of 3+ chars (e.g. \"Mercadona\"). Dates: YYYY-MM-DD. Order: \"desc\" (newest first) or \"asc\". Paginate with offset/limit."
},
{
"name": "company_snapshot",
"description": "Get a company's registry card: current officers, sole shareholder, capital, address, status, NIF, website, and LEI. Use for a quick profile of one known company. For dated acts use company_history. Accepts a slug (e.g. vaz-metales-sl) or a name of 3+ chars (e.g. \"Mercadona\"). Requires basic plan or higher."
},
{
"name": "company_signals",
"description": "Get one company's derived risk signals (insolvency, mass exits, ownership changes, etc.) within your plan's window, newest first. Use for one company's risk indicators. For all companies' recent signals use recent_signals. Accepts a slug (e.g. vaz-metales-sl) or a name of 3+ chars. Signal types: INSOLVENCY_FILED, MASS_EXIT, OWNERSHIP_CHANGE, etc. Dates: YYYY-MM-DD. Requires pro plan or higher."
},
{
"name": "company_by_nif",
"description": "Look up a Spanish company by its NIF/CIF tax ID. Use when the user provides a tax ID. For names use search_companies. On a hit, call company_history with the returned company_slug. Input: 9-character NIF/CIF (e.g. B12345674); spaces, hyphens, dots, and ES VAT prefix are accepted. Requires basic plan or higher."
},
{
"name": "vat_check",
"description": "Check whether an EU VAT number was valid for intra-EU transactions on a given date, via VIES. Use when the user asks if a VAT number is valid for cross-border trade. For a Spanish NIF to find a company, use company_by_nif. Input: VAT number with 2-letter country code (e.g. ESA28015865 or DE123456789). Results cached 24h. Requires basic plan or higher."
},
{
"name": "brand_owner",
"description": "Find the Spanish company a trademark or trading name is linked to, from OEPM records (since 1987). Use when the user names a brand. For a company's own name use search_companies; for a known company's brands use company_brands. Input: brand name, 3+ chars (e.g. \"ZARA\"). Links are name matches, not confirmed ownership. Requires basic plan or higher."
},
{
"name": "company_brands",
"description": "List trademarks and trading names that OEPM records under a company's name. Use with a slug from search_companies or company_history. To go from a brand to its company use brand_owner. Input: company slug (e.g. vaz-metales-sl). Links are name matches, not confirmed ownership. Requires basic plan or higher."
},
{
"name": "company_grants",
"description": "List public aid awards (subsidies, loans, guarantees, tax advantages) that BDNS records for a company's tax ID, newest first. Use for a known company's public funding. Input: company slug (e.g. vaz-metales-sl). Only instrument \"subsidy\" is a grant; loans and guarantees are not. Dates: YYYY-MM-DD. Requires basic plan or higher."
},
{
"name": "company_contracts",
"description": "List a company's public contract awards from Spanish and EU procurement notices, newest first. Use for one company's contract wins. Accepts a slug (e.g. vaz-metales-sl) or a name of 3+ chars. Dates: YYYY-MM-DD. Sources: placsp, navarra, ted. Requires basic plan or higher."
},
{
"name": "recent_signals",
"description": "Get a sample of the latest risk signals (insolvency, mass exits, ownership changes, etc.) from the last 7 days, at most 10 rows. Use for \"what risk signals appeared this week\". For one company's signals use company_signals. Optional filter: signal_type (e.g. MASS_EXIT). Requires risk plan."
},
{
"name": "daily_digest",
"description": "Summarise one BORME publication day: total events, counts by act type, top 10 provinces, and insolvency notices. Use for \"what was published today\" or a day's figures. To read the actual notices use search_events with date_from = date_to = that day. Input: date YYYY-MM-DD (e.g. 2026-10-27); omit for the latest day."
},
{
"name": "act_stats",
"description": "Count BORME acts by type, period (month, quarter, or year), and province. Use for trends like \"mergers per quarter in Spain since 2020\". To read the acts themselves use search_events. Grain: \"month\", \"quarter\", or \"year\". Act types: enums from list_act_types. Provinces: accent/case-insensitive. Requires pro plan or higher."
},
{
"name": "search_companies",
"description": "Find Spanish companies by name and return ranked company cards. Use first when the user gives a company name, then call company_history with its slug. For a tax ID use company_by_nif; for a brand use brand_owner. Input: bare name, 3+ chars (e.g. \"inditex\"); no city or legal form needed. Optional: province (e.g. MADRID), status (active, dissolved)."
},
{
"name": "list_act_types",
"description": "List every normalized BORME act type with its enum, Spanish label, and English label. Use to choose act_types filter values or to translate act types in an answer. Takes no arguments. No key needed, not counted against quota."
},
{
"name": "registry_stats",
"description": "Report the coverage and freshness of the BORME data: approximate event and company counts, first and latest publication date, and parse completeness over the last 30 days. Use to answer \"how much data is there?\" or \"how fresh is it?\" before running searches. Takes no arguments. No key needed, not counted against quota."
},
{
"name": "company_group",
"description": "Get a company's sole-shareholder network from BORME publications. Links do not establish current ownership or a legal group. Use for identified sole shareholders or connected companies. For events of the whole group use group_history. Accepts a slug (e.g. vaz-metales-sl) or a name of 3+ chars. Requires pro plan."
},
{
"name": "group_history",
"description": "Get BORME events of every company in the identified sole-shareholder network, newest first. Use for \"which events were published this year for companies in X's group\". For one company use company_history. Accepts a slug (e.g. vaz-metales-sl) or a name of 3+ chars. Dates: YYYY-MM-DD. Act types: enums from list_act_types. Requires pro plan."
}
]Exposed tools (18, from tools/list, 28 Nov 2026)
search_events
Search registry events
Search BORME registry events (since 2009) across companies by publication date, province, act type and company name, newest first or oldest first. Use it for questions about many companies. For one known company use company_history; to find a company use search_companies; for one day's totals use daily_digest. Returns JSON {count, events: [{event_id, date, borme_id, province, company_name, company_slug, acts: [{act_type, act_type_raw, roles, payload}], registral}], next_cursor, has_more}, plus company_name_match, plan_window and hidden_by_plan when they apply. While has_more is true, pass next_cursor as cursor for the next page; with order=asc, save the last next_cursor to poll for later events. Read-only; one request per call against your daily quota. Without an API key (X-API-Key header, https://bormeapi.com/account) only the last 7 days are searched. If the page is empty and hidden_by_plan or company_name_match has a note, relay it. Invalid input is rejected with a reason.
| Parameter | Type | Required | Description |
|---|---|---|---|
| date_from | string | no | Earliest publication date, inclusive, YYYY-MM-DD, e.g. 2026-09-01. Optional; data starts on 2009-01-02. Without a key it is moved up to 7 days ago (plan_window says so). |
| date_to | string | no | Latest publication date, inclusive, YYYY-MM-DD, e.g. 2026-09-30. Optional; defaults to the latest day held. |
| provinces | array<string> | no | Optional list of BORME province names, accent- and case-insensitive, e.g. ["MADRID", "CADIZ", "VIZCAYA"]. An autonomous community stands for all of its provinces, e.g. ["Basque Country"] or ["Cataluña"]. Full list: the resource borme://provinces. |
| act_types | array<string> | no | Optional list of act type enums; an event matches if it has any of them, e.g. ["INCORPORATION"] or ["INSOLVENCY_DECLARATION", "INSOLVENCY_STATUS"]. Full list: list_act_types. Barcelona prints some acts as free text under "Otros conceptos": recognised wording is mapped to a normalised act type, whil… |
| company_name_contains | string | no | Optional part of the company name, case- and accent-insensitive, e.g. "mercadona"; use at least 3 letters or digits for a selective search. % and _ match literally. It filters events; to look a company up by name, call search_companies first. |
| limit | integer | no | Maximum events returned, integer 1-200, e.g. 20 (default 50). |
| holder_kind | string | no | Optional, one of investment_vehicle or investment_manager, e.g. investment_vehicle. Returns events that originate a sole-shareholder or legal-person director link classified, from the entity's name alone, as investment_vehicle (a possible investment vehicle: SCR, ECR, FCR, FCRE, SICAV, capital ries… |
| cnae | string | no | Optional CNAE code or prefix of 2 to 4 digits, with or without a dot, e.g. "47", "4711" or "47.11". Needs the Pro or Risk plan; a new account's free 7-day Risk trial includes it. Matches the printed digits, in any classification or, with cnae_version, only in that one. For the company's sector on t… |
| cnae_version | string | no | Optional classification version, one of "1993", "2009" or "2025". Requires cnae. If omitted, printed codes match whatever their cnae_version, including null. If supplied, only codes with that cnae_version match: named in the act (basis stated) or assigned by our rules (date, code). "2009" therefore… |
| include_inferred | boolean | no | Optional, with division only, default false, e.g. true. With division, true also matches and shows sectors that depend on a language-model decision (sector_provenance model, acts published from 2024-11-05), and the response includes model, prompt and min_confidence. Without include_inferred=true, a… |
| division | string | no | Optional two-digit CNAE-2009 division, e.g. "62": acts whose company had that sector on the act's BORME publication date. Each event then carries sector_division, sector_provenance and sector_source_event_id; provenance own (a code printed in this act), carried (a code printed in an earlier act of… |
| cnae_version_basis | array<string> | no | Optional, with cnae only: a list of one or more of "stated" (the act names the classification), "date" (before 1 January 2025, CNAE-2009 by our dating rule), "code" (from 1 January 2025, only one classification contains the code), "equivalent" (both contain it, equivalent per the INE correspondence… |
| cursor | string | no | Optional: the unchanged next_cursor value from the previous response, to fetch the next page, e.g. "djF8ZHwyMDI2LTA4LTI2fHNoYTE6MDA2N2U3YzdhZDQ2ZmQ1NGNiMTEzOGQzMTg4NWIxZDg3OGZlMjg5Ng". It keeps its sort order. Keep the same filters to continue the same result set; with other filters the query still… |
| order | string | no | Optional, "desc" (default, newest first) or "asc" (oldest first, from date_from), e.g. "asc". For an oldest-first feed, save next_cursor from the last response, even when has_more is false, and reuse it when polling later. The cursor follows the publication date: an event added later with a publica… |
company_history
Company registry timeline
Get one company's BORME timeline: its published registry events within your plan's window. Use it once the company is known (a slug from search_companies or company_by_nif); across many companies use search_events. A name is searched too: several matches return {ambiguous: true, candidates}, none returns {error, suggested_companies}. Returns JSON {company_slug, total_events, first_seen, last_seen, truncated, next_offset, count, events} (as in search_events), with former_slugs for a merged company (an old slug returns the merged timeline) and plan_window on a limited plan. total_events, first_seen and last_seen cover the whole timeline in your window, not this page. To page, keep limit and order and pass next_offset as offset (at most 10000) until it is null. Read-only; one request per call. Without an API key (X-API-Key header) only the last 7 days; basic covers 365 days, pro and risk the full history back to 2009. If all its events are outside your window, the refusal counts them.
| Parameter | Type | Required | Description |
|---|---|---|---|
| company | string | yes | Company slug, e.g. vaz-metales-sl (from search_companies), or a name of at least 3 letters or digits, e.g. "Mercadona", searched case-insensitively. |
| limit | integer | no | Events per page, integer 1-200, e.g. 20 (default 100). |
| offset | integer | no | Events to skip, integer 0-10000 (default 0); pass the previous page's next_offset, e.g. 100. |
| order | string | no | "desc" (default, newest first) or "asc" (oldest first), e.g. "asc" to start from the earliest event in your plan's window. |
| include_inferred | boolean | no | Optional, default false, e.g. true. true allows an inferred sector on events without a CNAE code: the first act with a non-empty objeto social gets `fields` with `cnae_inferred` (a CNAE-2009 division), `cnae_source` `jev` and `cnae_inference` (`confidence`, `model`, `prompt`, `section`, `note`). No… |
company_snapshot
Company registry card
Get a company registry card, as in REST API GET /v1/companies/{slug}. Use it for officers (current roles from published acts), sole_shareholder as printed, capital_eur, address, status, NIF with its source, public_contracts and a size_hint estimate. For dated acts use company_history. Names are searched as in company_history: multiple matches return {ambiguous: true, candidates, candidate_names with name, province and status}; no match returns {error, suggested_companies}. Returns company_slug, current_name, nif, nif_caveat, sources and other card fields; former_slugs for a merged company. lei: GLEIF Legal Entity Identifier matched by NIF; null means no match yet. website: from the newest BORME act about the company website; null if none or removed. BORME does not report minority shareholdings, employee counts or revenue. Read-only; one request per call. Requires basic plan or higher; send your API key in X-API-Key (https://bormeapi.com/account).
| Parameter | Type | Required | Description |
|---|---|---|---|
| company | string | yes | Company slug, e.g. vaz-metales-sl (from search_companies), or a name of at least 3 letters or digits, e.g. "Mercadona", searched case-insensitively as in company_history. |
| include_inferred | boolean | no | Optional, default false, e.g. true. true allows an inferred sector when the snapshot has no CNAE code: the newest eligible decision among the company's latest 500 events without a printed code fills `cnae` with a CNAE-2009 division, `cnae_version` `2009`, `cnae_source` `jev` and `cnae_inference` (`… |
company_signals
A company's signals
Get one company's derived signals within your plan's window, newest first: the REST API's GET /v1/companies/{slug}/signals. Use it for one company's ownership changes, mass exits, insolvency declarations and the like; across all companies use recent_signals. A name is searched as in company_history: several matches return {ambiguous: true, candidates}, none returns {error, suggested_companies}. Returns JSON {company_slug, total, count, next_offset, signals: [{event_id, signal_type, date, company_slug, company_name, province, details}]}, with former_slugs for a merged company (every slug is read), and plan_window or hidden_by_plan when your plan's window applied: relay their notes. AEAT_DEBTOR: say the company was on the list published on that date, never that the debt is outstanding. count 0 is not proof of good health. Read-only; one request per call. Needs the pro plan or higher (CONSOLIDATION and PE_ENTRY: risk); key in the X-API-Key header (https://bormeapi.com/account).
| Parameter | Type | Required | Description |
|---|---|---|---|
| company | string | yes | Company slug, e.g. vaz-metales-sl (from search_companies), or a name of at least 3 letters or digits, e.g. "Mercadona", searched case-insensitively as in company_history. |
| signal_types | array<string> | no | Optional list; each one of INSOLVENCY_FILED, ACCORDION, MASS_EXIT, OWNERSHIP_CHANGE, DISTRESS_COMBO, PHOENIX, ADDRESS_CLUSTER, AEAT_DEBTOR, PUBLIC_CONTRACT_AWARD, and on the risk plan CONSOLIDATION and PE_ENTRY, e.g. ["OWNERSHIP_CHANGE", "MASS_EXIT"]; omit for all types your plan covers. |
| date_from | string | no | Earliest signal date, inclusive, YYYY-MM-DD, e.g. 2024-11-01. Optional; moved up to the start of your plan's window when earlier (plan_window says so). |
| date_to | string | no | Latest signal date, inclusive, YYYY-MM-DD, e.g. 2026-10-31. Optional. |
| limit | integer | no | Signals per page, integer 1-200, e.g. 20 (default 50). |
| offset | integer | no | Signals to skip, integer 0-10000 (default 0); pass the previous page's next_offset, e.g. 50. |
company_by_nif
Find a company by NIF
Look up a company by NIF/CIF. Use it for a tax ID; for names, search_companies. On a hit, call company_history with company_slug. Returns {found, company_slug, current_name, website, lei, nif_caveat, ...}; use current_name. lei: GLEIF Legal Entity Identifier matched by NIF; null means no match yet. website: newest BORME website act; null if none or removed. BORME has no dedicated tax-ID field: more than 580,000 NIF mappings from public sources and the text of BORME notices cover a minority of companies. reason nif_unmapped: not matched yet, not proof of absence. reason nif_revoked: AEAT records a revocation; relay tell_the_user. On a company match, relay nif_status.note if present. invalid_input true: not a NIF/CIF. reason nif_check_character_failed: relay tell_the_user and did_you_mean. reason not_registry_entity: explain entity_type. ambiguous true: ask which one. nif_caveat: say the link is not settled. Read-only. Basic plan+. API key: X-API-Key (https://bormeapi.com/account).
| Parameter | Type | Required | Description |
|---|---|---|---|
| nif | string | yes | Spanish NIF/CIF, normally 9 characters, e.g. B12345674. Spaces, hyphens, dots and the ES VAT prefix (ESB12345674) are accepted; other country prefixes are not. |
vat_check
Check an EU VAT number in VIES
Check whether a VAT number was valid for intra-EU transactions according to VIES, the European Commission's VAT Information Exchange System, on request_date. Results are cached for 24 hours. Use it when the user asks whether a VAT number (NIF-IVA) is valid for intra-EU trade. For a Spanish NIF, use company_by_nif to look for a company with that NIF in our registry. Returns JSON {vat_number, country_code, number, valid, request_date, source, note}. Relay note as given: the check does not identify the holder, and a negative result says nothing about the domestic tax identifier. invalid_input true: relay tell_the_user. error vies_unavailable or vat_check_rate_limited: the check could not be made now; do not call the number valid or invalid. Read-only. Needs the basic plan or higher: send your API key in the X-API-Key header (https://bormeapi.com/account).
| Parameter | Type | Required | Description |
|---|---|---|---|
| vat_number | string | yes | EU VAT number with its two-letter country code, e.g. ESA28015865 or DE123456789. Spaces, dots and hyphens are ignored; GR is read as EL; a Spanish NIF without a prefix is checked as ES. |
brand_owner
Find a brand's company
Find the Spanish company a trademark or trading name is linked to, in the Spanish patent office (OEPM) records we hold (since 1987). Use it when the user names a brand; for a company's own name use search_companies, for a known company's brands use company_brands. Returns JSON {found, brand, matches: [{brand, kind, company_slug, company_name, company_status, file}], truncated, source, note}: one match per company and name; file is that name's newest OEPM file. kind commercial_name identifies a business; trademark distinguishes goods or services (NESCAFÉ is not another name for Nestlé): say which kind a hit is. Links are holder-name matches (no tax IDs are published); ambiguous holders stay unlinked: present a hit as a name match, not confirmed ownership. found false is not proof the brand is unused. On a hit, use company_history with the slug. Read-only; one request per call. Needs the basic plan or higher: send your API key in the X-API-Key header (https://bormeapi.com/account).
| Parameter | Type | Required | Description |
|---|---|---|---|
| brand | string | yes | Brand or trading name, or part of it, at least 3 letters or digits after punctuation is removed, case-insensitive, e.g. "ZARA". |
| limit | integer | no | Maximum matches, integer 1-200, e.g. 10 (default 20). |
company_brands
A company's brands
List the trademarks and trading names that the Spanish patent office (OEPM) records under a holder with this company's name. Use it with a slug from search_companies or company_history; to go from a brand to its company use brand_owner. Returns JSON {company_slug, commercial_names, trademarks (each {name, file, status, since}), counts, truncated, limit_per_kind, source, note}: one entry per OEPM file, so a name can repeat, the company's own name included. No tax IDs are published: each link is a name match, not confirmed ownership. An empty list means none is linked in our data, not that the company holds none; {error, suggested_companies} means an unknown slug: nothing was looked up. limit applies per kind, newest first; counts is what this answer lists, not the company's total, and truncated true for a kind means more are linked: raise limit. Read-only; one request per call. Needs the basic plan or higher: send your API key in the X-API-Key header (https://bormeapi.com/account).
| Parameter | Type | Required | Description |
|---|---|---|---|
| company | string | yes | Company slug, as returned by search_companies or company_history, e.g. vaz-metales-sl. |
| limit | integer | no | Maximum results per kind (trademarks, trading names), integer 1-200, e.g. 10 (default 50). |
company_grants
A company's public aid (BDNS)
List the public aid awards that BDNS, Spain's national database of subsidies and other public aid, records for a company's tax ID, newest first. Use it for a known company (a slug from search_companies). Returns JSON {company_slug, nif, link, shown_from, data_as_of, attribution, totals {by_instrument, by_year}, count, next_offset, truncated, items [{concession_id, granted_on, instrument, amount_eur, aid_equivalent_eur, call {title, level, administration, body}}], note}. Only instrument subsidy is a grant: a loan's amount_eur is the principal lent and a guarantee's the amount guaranteed, so never call them grants. Totals are per instrument; do not add nominal amounts across instruments. Awards before shown_from are no longer shown by BDNS. Quote attribution and data_as_of with the data. An empty list means none is linked in our data, not that none was received. Read-only. Needs the basic plan or higher: send your API key in the X-API-Key header (https://bormeapi.com/account).
| Parameter | Type | Required | Description |
|---|---|---|---|
| company | string | yes | Company slug, as returned by search_companies or company_history, e.g. vaz-metales-sl. |
| instrument | array<string> | no | Optional list of aid instruments, each one of subsidy, loan, guarantee, tax_advantage, risk_finance, other, e.g. ["subsidy"]; omit for all. |
| date_from | string | no | Optional earliest award date, YYYY-MM-DD, e.g. 2024-01-01. |
| date_to | string | no | Optional latest award date, YYYY-MM-DD, e.g. 2025-12-31. |
| limit | integer | no | Awards per page, integer 1-200, e.g. 20 (default 50). |
| offset | integer | no | Awards to skip, integer 0-10000 (default 0); pass the previous page's next_offset, e.g. 50. |
company_contracts
A company's public contract awards
List a company's public contract awards, ordered by publication date, newest first: the REST API's GET /v1/companies/{slug}/contracts. Use it for one company's awards; a name is searched as in company_history: several matches return {ambiguous: true, candidates}, none returns {error, suggested_companies}. Returns JSON {company_slug, nif, count, offset, next_offset, contracts: [{source, award_id, published, awarded_on, buyer, title, lot, amount_eur, cpv, notice_url, minor}], sources}. Awards come from Spanish and EU public procurement notices, matched by tax ID; awards published in multiple notices are listed once. nif null means we hold no tax ID for the company, not that it won nothing; count 0 is not proof it never won a contract. Legal-entity winners only; TED notices in the pre-eForms format (January-June 2024) are not included. Read-only; one request per call. Requires the Basic plan or higher and an API key in the X-API-Key header (https://bormeapi.com/account).
| Parameter | Type | Required | Description |
|---|---|---|---|
| company | string | yes | Company slug as returned by search_companies or company_history (e.g. vaz-metales-sl), or a name to search. |
| date_from | string | no | Optional earliest publication date, YYYY-MM-DD, e.g. 2024-01-01. |
| date_to | string | no | Optional latest publication date, YYYY-MM-DD, e.g. 2024-12-31. |
| source | string | no | Optional, one or more of placsp, navarra, ted separated by commas, e.g. ted; omit for all. |
| min_amount | number | no | Optional minimum award amount in EUR, e.g. 100000. |
| limit | integer | no | Awards per page, integer 1-200, e.g. 20 (default 50). |
| offset | integer | no | Awards to skip, integer 0-10000 (default 0); pass the previous page's next_offset, e.g. 50. |
recent_signals
Recent risk signals
Get a sample of the latest risk signals derived from BORME and public sources: at most 10 rows dated within the last 7 days. Use it for "what risk signals appeared this week"; not a per-company check (use company_history) and not the full feed (the hosted API's /v1/signals). Returns JSON {count, window, sample_cap, signals: [{signal_type, date, company_slug, company_name, province, details}], full_feed}. AEAT_DEBTOR comes from the AEAT's yearly debtors list (art. 95 bis LGT): details carry listed_on, list_year, is_current_list (true for 12 months from listed_on) and debt_eur, the published total at 31 December of the prior year. Say the company was on the list published on that date; never say the debt is still outstanding. count 0 means none in the window, not that a company is risk-free; an unknown signal_type is refused with the valid list. Read-only; one request per call. Needs the risk plan: send your API key in the X-API-Key header (https://bormeapi.com/account).
| Parameter | Type | Required | Description |
|---|---|---|---|
| signal_type | string | no | Optional, one of INSOLVENCY_FILED, ACCORDION, MASS_EXIT, OWNERSHIP_CHANGE, DISTRESS_COMBO, PHOENIX, ADDRESS_CLUSTER, AEAT_DEBTOR, PUBLIC_CONTRACT_AWARD, CONSOLIDATION (a merger, segregation or global transfer), PE_ENTRY (a possible investment vehicle or manager, by name, becomes sole shareholder or… |
daily_digest
Daily BORME digest
Summarise one BORME publication day: total events, counts by act type, the top 10 provinces and the day's insolvency-proceedings notices. Use it for "what was published today" or a day's figures; to read the notices use search_events with date_from = date_to = that day. Returns JSON {date, total_events, by_type, top_provinces, insolvencies: [{company, province}]}. insolvencies lists the events with INSOLVENCY_DECLARATION or INSOLVENCY_STATUS (not SUSPENSION_OF_PAYMENTS, BANKRUPTCY_LEGACY or PROVISIONAL_SHEET_CLOSURE_INSOLVENCY). An INSOLVENCY_STATUS notice can record any stage, from a request for a declaration to the conclusion: before saying a company was declared insolvent, read the act's payload with search_events. A day without a gazette (weekends, holidays) returns total_events 0. Read-only; one request per call. Without an API key only days within the last 7 days; send your key in the X-API-Key header (https://bormeapi.com/account) for your plan's window.
| Parameter | Type | Required | Description |
|---|---|---|---|
| date | string | no | Publication day, YYYY-MM-DD, e.g. 2026-10-27; omit for the latest day in the database. |
act_stats
Act counts by type, period and province
Count BORME acts by act type, period (month, quarter or year) and province: how many companies and entries had mergers, spin-offs, capital increases or any other act type, newest period first. Use it for trends ("mergers per quarter in Spain since 2020"). To read the acts themselves use search_events. Returns JSON {grain, count, truncated, rows: [{period, act_type, province, companies, events}], data_through, built_from, built_to, note, plan_window}, plus hidden_by_plan when the plan left buckets out, and not_built (no rows, never zeros) when the range reaches years outside built_from..built_to. period is the bucket's first day by BORME publication date. companies counts distinct companies in that bucket: never add rows up. Province "*" is all of Spain; a community gives one row per province, not a total. Read-only; one request per call. Needs the pro plan or higher: send your key in the X-API-Key header (https://bormeapi.com/account).
| Parameter | Type | Required | Description |
|---|---|---|---|
| act_types | array<string> | no | Optional list of act type enums to count, e.g. ["MERGER_BY_ABSORPTION", "TOTAL_SPIN_OFF"]; omit for every act type. Full list: list_act_types. |
| provinces | array<string> | no | Optional list of BORME province names, accent- and case-insensitive, e.g. ["MADRID", "BARCELONA"]; an autonomous community gives one row per province, e.g. ["Cataluña"]. Omit for the all-provinces rows (province "*"). |
| by_province | boolean | no | Without provinces: true gives one row per province instead of the all-provinces rows, e.g. true (default false). |
| grain | enum: "month" | "quarter" | "year" | no | The length of each period, one of "month" (default), "quarter", "year", e.g. "quarter". |
| date_from | string | no | Optional YYYY-MM-DD, e.g. 2024-01-01; the period holding this day is the first one. Data starts on 2009-01-02. |
| date_to | string | no | Optional YYYY-MM-DD, e.g. 2025-12-31; periods starting on or before this day. |
| limit | integer | no | Maximum rows, integer 1-5000, e.g. 200 (default 1000); truncated is true when more matched. |
| sectors | array<string> | no | Optional list of two-digit CNAE-2009 divisions and/or "*" (all acts), e.g. ["62", "*"]: each row then names its sector, the company's sector on the act's publication date, attributed as by the division filter of search_events. A division row splits events into from_own (code printed in the act) and… |
| include_inferred | boolean | no | Optional, default false, e.g. false. true requires sectors and also counts sectors that depend on a language-model decision (from_model, acts published from 2024-11-05), and the sectors block includes model, prompt and min_confidence. Without include_inferred=true, those acts are left out of the di… |
search_companies
Search companies by name
Find Spanish companies by name and return ranked company cards. Use it first when the user gives a company name, then company_history with its company_slug; with a tax ID use company_by_nif, with a brand use brand_owner. Matches current names, former names and variants, ignoring accents, case, punctuation and the legal form. Returns JSON {query, count, total, total_is_at_least, truncated, limit, offset, companies: [{company_slug, name, legal_form, province, municipality, status, in_insolvency, last_act_date, match, matched_on}]}. match is exact, prefix, contains or fuzzy (a lead, not an identification; say so). Ranked by match, then active companies, then newest act. Read-only; one request per call; not limited by the free plan's 7 days of history. The free plan shows at most the first 5 ranked cards; hidden_by_plan counts the rest: relay its note. The NIF is on the card from the basic plan up (X-API-Key header). An empty answer is not proof that a business does not exist.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The bare company name or part of it, at least 3 letters or digits and at most 200 characters, e.g. "inditex" or "Talleres Jarama": no city, parentheses or notes. Matching allows for case, accents and punctuation, and a legal form such as SL or SA can be left out. Do not repeat the same query unchan… |
| province | string | no | Optional province, accent-insensitive, e.g. MADRID or VIZCAYA, or an autonomous community for all of its provinces, e.g. Catalonia; several values separated by commas, e.g. BIZKAIA,GIPUZKOA. Applied to the candidates the search reads (2,000 with a filter), so a broad name can return fewer companies… |
| status | string | no | Optional, one of active, dissolved, extinct, sheet_closed, e.g. active; applied like province. |
| limit | integer | no | Cards per page, integer 1-50, e.g. 5 (default 10). |
| offset | integer | no | Cards to skip, integer 0-200 (default 0), e.g. 10. At most 200 cards are ranked; truncated true means a candidate cap was reached or a search step ran out of time, so add another word from the name. |
list_act_types
List act types
List every normalized BORME act type: the enum used by the act_types filter of search_events (act_type), its Spanish label (spanish) and its English label (english). Use it to choose act_types values or to translate act types in an answer; it reads no registry data. Returns a JSON array of {act_type, spanish, english}, sorted by act_type. Read-only, open to everyone, no key needed and not counted against a quota. The same list is the resource borme://act-types.
No parameters.
registry_stats
Data coverage and freshness
Report the coverage and freshness of the BORME data behind this server. Use it to answer "how much data is there?", "how fresh is it?" and "can I trust date filters for period X?" before running searches; it says nothing about any one company. Returns JSON {events_approx, companies_approx, coverage: {from, to}, parse_completeness_last_30d, source}: exact event and company counts from the latest hourly snapshot (planner estimates if no snapshot exists), the first and latest publication day held (YYYY-MM-DD), and the event-weighted parse completeness over the 30 days up to the latest run (e.g. 0.9987). Takes no arguments. Read-only, open to everyone, no key needed and not counted against a quota. The same report is the resource borme://coverage.
No parameters.
company_group
A company's identified sole-shareholder network
Get a company's sole-shareholder network from links with no ending identified in available BORME publications. Links do not establish current ownership, control or a legal group. Use it for identified sole shareholders or connected companies; use group_history for events. Name lookup: multiple matches return {ambiguous: true, candidates}; none return {error, suggested_companies}. Returns {company_slug, parents (nearest first), top_parent_slug, members: [{slug, name, province, status, owner_slug, depth, link_kind, since, evidence: {event_id, date, text (excerpt, max 600 chars)}}], unresolved, truncated, note}. The highest member has owner_slug, link_kind, since and evidence null. Names not matched to exactly one company appear as printed in unresolved; do not treat them as resolved companies. Max 200 members. include_directors adds director links, not members. Empty parents does not rule out control or a legal group. Read-only. Pro plan; X-API-Key header.
| Parameter | Type | Required | Description |
|---|---|---|---|
| company | string | yes | Company slug, e.g. vaz-metales-sl (from search_companies), or a name of at least 3 letters or digits, e.g. "Mercadona". |
| include_directors | boolean | no | Optional, one of true or false (default false), e.g. true to add legal persons appointed as directors of members and the companies a member administers, marked as director links; a director link alone does not make a company a member of the group. |
group_history
Registry events of the identified sole-shareholder network
Get the BORME events of every company in the identified sole-shareholder network (as company_group returns it), newest first, within your plan's window. Use it before a visit ("which BORME events were published this year for companies in X's identified sole-shareholder network") or for the published mergers, demergers and capital changes concerning companies in the identified network; for one company use company_history. A name is searched as in company_group. Returns JSON {company_slug, members, member_count, group_truncated, count, offset, next_offset, events: [{event_id, date, borme_id, province, company_name, company_slug, member_slug, acts, registral}]}, with plan_window on a limited plan. member_slug is the group member the event belongs to. To page, pass next_offset as offset until it is null. Read-only. Needs the pro plan (X-API-Key header).
| Parameter | Type | Required | Description |
|---|---|---|---|
| company | string | yes | Company slug, e.g. vaz-metales-sl, or a name of at least 3 letters or digits; its whole group is read. |
| act_types | array<string> | no | Optional list of act type enums, e.g. ["MERGER_BY_ABSORPTION", "SEGREGATION"]. Full list: list_act_types. |
| date_from | string | no | Earliest publication date, inclusive, YYYY-MM-DD, e.g. 2025-01-01. Optional; moved up to your plan's window. |
| date_to | string | no | Latest publication date, inclusive, YYYY-MM-DD. Optional. |
| limit | integer | no | Events per page, integer 1-200, e.g. 20 (default 50). |
| offset | integer | no | Events to skip, integer 0-10000 (default 0); pass the previous page's next_offset. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mcp.bormeapi.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http borme-mcp https://mcp.bormeapi.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : borme-mcp ; URL : https://mcp.bormeapi.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : borme-mcp ; Server URL : https://mcp.bormeapi.com/mcp ; Create as a plugin{
"mcpServers": {
"borme-mcp": {
"url": "https://mcp.bormeapi.com/mcp"
}
}
}{
"mcpServers": {
"borme-mcp": {
"type": "http",
"url": "https://mcp.bormeapi.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"borme-mcp": {
"url": "https://mcp.bormeapi.com/mcp"
}
}
}{
"mcpServers": {
"borme-mcp": {
"httpUrl": "https://mcp.bormeapi.com/mcp"
}
}
}[mcp_servers.borme-mcp]
url = "https://mcp.bormeapi.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
BORME API · L’Atlas · Tested on
[BORME API — L’Atlas](https://latlas.dev/en/mcp/com.bormeapi/borme-mcp)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.