BORME API for AI assistants (MCP)
Connect Microsoft Copilot, Claude, Cursor or any MCP client to Spanish company registry data published in the BORME: notices since 2009, company histories, company search by name, NIF lookup, trademarks and trading names, and risk signals.
How it works · What each plan includes · Microsoft Copilot Studio · Claude · Claude Code · Cursor · Other clients · Tools · Example questions · Limits and fair use
How it works
- Server URL:
https://mcp.bormeapi.com/mcp - Transport: Streamable HTTP. Each request gets a plain JSON response; no session is kept between calls.
- Authentication: your API key in the
X-API-Keyheader. Without a key, the server answers as the free plan.
Get an API key Pricing · REST API docs
What each plan includes
- No key or free key: 50 requests a day, events from the last 7 days, company search by name (first 5 results), company histories and daily digests within those 7 days, the act-type list and registry statistics.
- Basic: 5,000 requests a day, 365 days of history, NIF lookup, the NIF on company search results, trademarks and trading names.
- Pro: 50,000 requests a day and the full history since 2009.
- Risk: 200,000 requests a day and the risk signals tool.
The MCP server uses the same key and the same daily quota as the REST API.
Microsoft Copilot Studio and Microsoft 365 Copilot
These steps follow Microsoft's documentation. They may vary with your tenant and your data loss prevention (DLP) policies.
- In Copilot Studio, open the agent you want to use and go to Tools > Add a tool > New tool > Model Context Protocol.
- Enter a Server name (BORME API), a Server description and the Server URL:
https://mcp.bormeapi.com/mcp - For authentication, choose API key, set Type to Header and enter
X-API-Keyas the header name. Select Create, then Create a new connection, enter your key and select Add to agent. - Test the agent in Copilot Studio first. Then publish it and set up the Teams and Microsoft 365 Copilot channel, subject to your organization's permissions and policies. If your organization has Power Platform data policies (DLP), an administrator may need to allow this connector.
- Try a question such as: "Which board appointments and terminations of Telefónica, S.A. appear in the published notices, and on which dates?"
Claude (claude.ai and Claude Desktop)
Go to Customize > Connectors > Add custom connector and enter the server URL. Choose No sign-in and add the x-api-key header with your key under Request headers. Anthropic offers request headers as a beta to a limited set of organizations; if you do not see that section, use the Claude Desktop alternative below. On Team and Enterprise plans an owner adds the connector under Organization settings.
Claude Desktop alternative: add the server to claude_desktop_config.json through mcp-remote, a third-party bridge that needs Node.js:
{
"mcpServers": {
"borme": {
"command": "npx",
"args": ["mcp-remote", "https://mcp.bormeapi.com/mcp",
"--header", "X-API-Key:${BORME_API_KEY}"],
"env": { "BORME_API_KEY": "YOUR_KEY" }
}
}
}
Claude Code
claude mcp add --transport http --scope user \
--header "X-API-Key: YOUR_KEY" \
borme https://mcp.bormeapi.com/mcp
--scope user makes the server available in all your projects; leave it out to add it to the current project only.
Cursor
Add this to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project) and set BORME_API_KEY in your environment:
{
"mcpServers": {
"borme": {
"url": "https://mcp.bormeapi.com/mcp",
"headers": { "X-API-Key": "${env:BORME_API_KEY}" }
}
}
}
Any other Streamable HTTP client
Send each JSON-RPC message as a POST to https://mcp.bormeapi.com/mcp with Content-Type: application/json, an Accept header that includes application/json, and your key in X-API-Key. For example, to list the tools:
curl -s https://mcp.bormeapi.com/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "X-API-Key: YOUR_KEY" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
ChatGPT: its custom connectors cannot send an API-key header, so ChatGPT can use this server only without a key, on the free plan.
Tools
- search_companies
- Find companies by current or former name and get ranked company cards.
- company_history
- The registry timeline of one company: the published acts available under your plan, newest first.
- search_events
- Search BORME notices by date, province, act type and company name.
- daily_digest
- One publication day in figures, with its insolvency notices.
- company_by_nif
- Find a company by its NIF/CIF tax ID (basic plan and above).
- brand_owner
- Find the company a trademark or trading name is linked to (basic plan and above).
- company_brands
- Trademarks and trading names linked to one company (basic plan and above).
- recent_signals
- The latest risk signals, such as insolvency filings and mass exits (risk plan).
- list_act_types
- The act types, with their English labels and the original Spanish headings.
- registry_stats
- Size and coverage of the registry data.
Example questions
Answers from the live server on 27 October 2026, shortened.
- "Find Inditex." search_companies: 7 matches; first INDITEX, S.A. (exact match, active, A Coruña), then INDITEX LOGISTICA, S.A. and INDITEX RENOVABLES, S.L.
- "Which company has NIF A28015865?" company_by_nif: TELEFONICA SA., active, Madrid.
- "Show Telefónica's appointments, terminations and revocations." company_history: 364 published events from 5 February 2009 to 6 August 2026; the latest, on 6 August 2026, revokes and appoints proxy holders.
- "How many insolvency notices were published in Valencia in September 2026?" search_events: 36, from 4 to 30 September.
- "Who owns the trading name ZARA?" brand_owner: the trading name ZARA is linked to ZARA ESPAÑA, S.A. (a name match, not confirmed ownership).
- "What risk signals were published today?" recent_signals: 10 on 27 October 2026: 5 mass exits, 3 accordion operations (a capital reduction and increase), 2 public contract awards.
- "Summarize today's BORME." daily_digest: 27 October 2026: 557 incorporations, 1,667 appointment acts, 36 insolvency notices; Madrid leads with 756 events.
- "How much data is there?" registry_stats: about 9.65 million events and 3.41 million companies, from 2 January 2009.
Limits and fair use
- Each tool call counts as one request against the daily quota of your key (or, without a key, of your IP address).
- Results are capped per call (for example, 200 events); page with
offsetwhere a tool offers it. - Answers reproduce published BORME notices. Links to trademarks and NIFs are matches on public data, not legal confirmation.
Questions about an integration or a pilot? Write to us; we answer personally, usually the same working day.