filings.es MCP: the Spanish company register in your assistant
Connect Claude, ChatGPT or Mistral to 3.9 million Spanish companies and 9.9 million director mandates. One command to copy, and your assistant answers from the register instead of guessing.
What it is
MCP (Model Context Protocol) is the standard socket between an assistant and a data source. Once connected, you write “who runs the company with tax ID B54226691?” in plain language: the assistant queries the register, reads the answer and replies citing its sources. No code, no JSON to handle.
It is the same data as the REST API, with the same key and quota: one tool call equals one API call. Setup takes two minutes, once and for all.
Your key
The same one as the REST API. Set it here and every instruction on this page fills in with it.
Paste your key here: every instruction below updates, ready to copy.
Choose your assistant
Each card stands alone: go straight to yours, the others are of no use to you.
Claude Desktop
app · macOS and Windows- 1
Download the installer file
filings-es.mcpb3 Mo - 2
Double-click the file
Claude Desktop opens and shows the install window. If nothing happens, use Settings → Extensions → Install Extension, or drag the file onto the settings window. - 3
Paste your key when Claude asks
It stays on your machine: it never passes through this page. - 4
Check it works
In a conversation, ask “Who runs company B54226691?”. Claude should answer SOLER BULILLA SL.
Claude.ai
browser · from the free plan- 1
Open Customize, then Connectors
The free plan allows one connector; paid plans have no limit. On Team and Enterprise, only an owner can add them. - 2
Click “+”, then “Add custom connector”
Leave the advanced settings empty: this server does not use OAuth. - 3
Paste this address, then “Add”
https://api.filings.es/mcp?apikey=YOUR_KEYCopy - 4
Enable it in the conversation
This is the step people miss: an added connector is active in no conversation. Click the “+” at the lower left of the message box, then “Connectors”, and switch on filings-es.
Claude Code
terminal- 1
Open a terminal
Anywhere: “--scope user” below registers the server for all your projects. Without it, it would only be added to the current folder. - 2
Run this command
claude mcp add --transport http filings-es --scope user https://api.filings.es/mcp --header "X-Api-Key: YOUR_KEY"Copy - 3
Check it works
claude mcp get filings-esCopyThe server should show as connected. The /mcp command, inside a session, lists the 19 tools.
ChatGPT
browser · Pro, Team, Enterprise, Edu- 1
Turn on developer mode
Settings → Connectors → Advanced → Developer Mode. While it is off, no custom connector option appears — the number one cause of failed setups. - 2
Click “Create”
Name it filings-es and paste the address below as the server URL.https://api.filings.es/mcp?apikey=YOUR_KEYCopy - 3
Tick “I trust this provider”, then “Create”
The checkbox is required; the button stays disabled without it. - 4
Enable it in every conversation
Click “+” in the message box, then “More”, then “Developer Mode”, and select filings-es. Repeat in every new conversation.
OpenAI API
code · Responses APITo embed the register in your own product. No interface, no developer mode: the server is declared as a tool and the model decides when to call it.
- 1
Install the library
pip install openaiCopy - 2
Declare the server and ask
from openai import OpenAI client = OpenAI() resp = client.responses.create( model="gpt-5", tools=[{ "type": "mcp", "server_label": "filings_es", "server_url": "https://api.filings.es/mcp", "headers": {"X-Api-Key": "YOUR_KEY"}, "require_approval": "never", }], input="¿Quién administra la empresa con NIF B54226691?", ) print(resp.output_text)Copy - 3
What you should get
A plain-text answer citing SOLER BULILLA SL. To approve each call first, replace “never” with “always”. To restrict the model to certain tools, add “allowed_tools”.
Mistral Le Chat
browser · admin only- 1
Open the Connectors page
Adding a connector is admin-only. On Free, Pro and Student plans, that is the account holder. - 2
“+ Add Connector”, then the “Custom MCP Connector” tab
For the name, write filings-es with no spaces or accents: the field rejects them. - 3
Paste the BARE address, no key
https://api.filings.es/mcpCopyLe Chat detects the authentication itself: click “Connect”, choose the Bearer token and paste your key in the form. Cleaner than a key in the URL.
- 4
Select it and test
The connector appears in the tools dropdown. Ask “Who runs company B54226691?”: the answer should cite SOLER BULILLA SL.
Cursor, Windsurf and others
mcp.json- 1
Open the right file
~/.cursor/mcp.json for all your projects, or .cursor/mcp.json at a project root for that project only. Other editors read the same format. - 2
Paste this configuration
{ "mcpServers": { "filings-es": { "url": "https://api.filings.es/mcp", "headers": { "X-Api-Key": "YOUR_KEY" } } } }Copy - 3
Restart the editor
Most only re-read their configuration on startup. In Cursor, the server is then enabled from Customize, in the sidebar.
Exact menu names shift between versions. If a label differs, look for “connectors” or “MCP” in the settings: the address to paste never changes.
The 19 tools
You never call these yourself: the assistant picks the right one for your question. The list is here so you know what it can do.
| search_companies | Find a company by name, tax ID or registry sheet |
| autocomplete | As-you-type suggestions |
| get_company | Full profile: capital, address, activity, status |
| get_directors | Directors, current and former |
| get_owners | Sole shareholder, cap table, beneficial owner |
| get_announcements | BORME history since 2009 |
| get_insolvency | Insolvency proceedings |
| get_company_network | Company link graph |
| search_directors | Find a person |
| get_director | All mandates of a person |
| search_insolvency | Search insolvency proceedings |
| get_insolvency_notice | Full text of a notice |
| check_vat | Validate a VAT number (VIES) |
| batch_lookup | Up to 100 tax IDs in one call |
| list_new_companies | Newly incorporated companies |
| search_directory | Directory by sector and province |
| screener | Registry event screener |
| search_cnae | Plain sector → CNAE code |
| list_provinces | The 52 provinces and their codes |
Quota and limits
The key is your API key — one key for both. One tool call uses one call from your monthly quota.
Get a key — 100 calls freeBefore you start
- BORME starts in 2009: earlier filings are not there.
- People are matched by name, with no national ID — namesakes can be conflated.
- An assistant can chain many calls: watch your quota in the first days.