BORME API

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.

Connect with OAuth · How it works · What each plan includes · Microsoft Copilot Studio · Claude · Claude Code · Cursor · Other clients · Tools · Prompts and resources · Example questions · What bankers and analysts can ask · Limits and fair use

Connect with OAuth (Claude.ai, ChatGPT, Copilot)

New: assistants with custom connectors, such as Claude.ai, ChatGPT or Copilot, can connect to https://mcp.bormeapi.com/mcp/oauth with OAuth.

In Claude.ai:

  1. Go to Customize > Connectors > Add custom connector.
  2. Enter https://mcp.bormeapi.com/mcp/oauth as the server URL. Claude detects how to sign in and shows Sign in now and Register automatically; keep these options.
  3. Click Add. Our sign-in page opens.
  4. Sign in with the link we email you, then select Allow.
  5. Back in Claude, if the connector page says the connector has no tools, reload the page.

These steps are for Claude.ai. In other clients, the screens and their names may differ.

Unlike /mcp, this endpoint requires a BORME API account and ignores the X-API-Key header. The app uses the plan of the account that authorized it. Its calls share your API key's daily quota with REST API and /mcp calls made with that key. If your account has no active API key, the tools return an error directing you to your account page; they work again once your account has an active key, without reconnecting the app. If the app does not use the connection for 30 days, connect it again.

How it works

Get an API key Pricing · REST API docs

What each plan includes

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.

  1. In Copilot Studio, open the agent you want to use and go to Tools > Add a tool > New tool > Model Context Protocol.
  2. Enter a Server name (BORME API), a Server description and the Server URL: https://mcp.bormeapi.com/mcp
  3. For authentication, choose API key, set Type to Header and enter X-API-Key as the header name. Select Create, then Create a new connection, enter your key and select Add to agent.
  4. 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.
  5. 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. To connect with OAuth, follow the Claude.ai steps under Connect with OAuth. To use your API key instead, enter https://mcp.bormeapi.com/mcp, 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. Connect ChatGPT with OAuth instead (see Connect with OAuth); without it, ChatGPT can use https://mcp.bormeapi.com/mcp 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 declarations 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.
company_snapshot
A company profile based on the publications available to us: recorded status, officers, sole shareholder, capital and registered office address (Basic plan and above).
company_signals
Signals for a company within your plan's history window, newest first, with the act each one is based on (Pro plan and above).
company_group
The network of companies connected through the sole-shareholder links we identify in the available publications, with the published act supporting each link (Pro plan and above).
group_history
A combined timeline of the available published acts for the companies in the identified network, filtered by act type and period (Pro plan and above).
act_stats
Counts of companies and of acts by act type, province and month, quarter or year (Pro plan and above).

For AI agents: to look up a company by name, call search_companies first, check the returned candidates, then use the chosen company's slug; a fuzzy match is a candidate to verify. Pass the bare company name, with no city, parentheses or notes; the legal form is not needed. Do not repeat the same query unchanged after an empty answer: read note and hidden_by_plan if present, and check offset and truncated.

Prompts and resources

Besides tools, the server offers prompts, ready-made instructions that your client can offer you (in Claude, from the + menu; in other clients, wherever they list a server's prompts), and resources, reference data that your client can attach as context. A prompt only supplies the instructions: the tool calls it leads to count against your plan as usual.

The prompts tell the model to cite BORME ids, to tell a name match from a confirmed identification or ownership, and not to treat a missing result as proof that something does not exist.

Example questions

Answers from the live server on 27 October 2026, shortened.

  1. "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.
  2. "Which company has NIF A28015865?" company_by_nif: TELEFONICA SA., active, Madrid.
  3. "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.
  4. "How many insolvency notices were published in Valencia in September 2026?" search_events: 36, from 4 to 30 September.
  5. "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).
  6. "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.
  7. "Summarize today's BORME." daily_digest: 27 October 2026: 557 incorporations, 1,667 appointment acts, 36 insolvency notices; Madrid leads with 756 events.
  8. "How much data is there?" registry_stats: more than 9.6 million events and more than 3.2 million companies, from 2 January 2009.

What bankers and analysts can ask

Questions for three kinds of work, with the tools that answer them. These are examples of what to ask, not answers from real queries.

Direct lookups

Preparing a visit to a company or a group

Activity across the registry

What the data can and cannot tell you

Limits and fair use

Questions about an integration or a pilot? Write to us; we answer personally, usually the same working day.

build 2026.11.11·fca617a2