Spain Company Directory MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Spain Company Directory MCP Server Look up Mercadona SA and give me its CIF, address, and officers."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Spain Company Directory MCP Server
An MCP server for the Mamba Labs Spain Company Directory actor on Apify. Spanish company data by name, CIF, or sector.
What's Inside
Related MCP server: Company Discovery List Builder MCP Server
What it does
Looks up Spanish companies on infoempresa by name, CIF, or link, or lists companies by search term, sector, status, and legal form, and returns registry data, financials, and officers.
All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.
Quick start
You need Node.js 18 or newer and an Apify account with an API token.
Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:
{
"mcpServers": {
"mamba-spain-company-directory": {
"command": "npx",
"args": [
"-y",
"@mambalabsdev/mcp-spain-company-directory"
],
"env": {
"APIFY_TOKEN": "your-apify-token"
}
}
}
}Restart the client. The lookup_spain_companies tool appears.
Prerequisites
Node.js 18 or newer.
An Apify API token from console.apify.com/account/integrations, set as
APIFY_TOKEN. The server lists its tool without a token; a call needs one.
Example prompts
"Look up Mercadona SA and give me its CIF, address, and officers."
"List 20 active construction companies in Spain with construcciones in the name."
"Find the company with CIF A28015865 and its latest revenue."
Tool
lookup_spain_companies. One tool. Example arguments:
{
"companies": [
"Telefonica SA"
],
"include_officers": true
}Inputs
Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.
Input | Type | Required | Description |
| array | no | Company names, CIFs (for example A28015865), or infoempresa company links. Each is read from its company page (company-detail-row). A name must match the registered name, legal form aside, unless name_match is closest. |
| array | no | Words to find in company names, for example construcciones. Each term lists up to about 100 companies (company-row). Combine with the filters below. |
| string | no | Search filter: any (default), activa, extinguida, or inactiva. |
| array | no | Search filter: one or more of infoempresa's 21 sectors by name or number, for example Construcción or Hostelería. With no search term, the filters alone list up to 1,000 companies. |
| string | no | Search filter: SA, SL, or SLL (or the full name). Empty means any. |
| number | no | Up to 1,000 for a filter-only search; a search term returns at most about 100. Default 100. |
| boolean | no | true: each search result is read from its company page and charged as a company-detail-row. false (default): search list fields only. |
| boolean | no | true (default): detail rows carry the officers the company page lists (up to 25). |
| number | no | 1 to 25. Default 25. |
| string | no | exact (default): a company name must match the registered name, legal form aside; otherwise a free no_results row lists the closest names. closest: take the first search result. |
| boolean | no | true (default): search results whose name lacks a word of the search term are skipped, free. |
| boolean | no | true (default): a company already returned in this run is skipped, free. |
| number | no | Optional. The run stops before a charge that would pass this amount. Summary rows are always returned. |
Pricing
Pay per event on Apify, billed to your Apify account. Prices in USD.
Event | Free plan | Bronze | Silver | Gold |
| $0.002 | $0.0019 | $0.0018 | $0.0017 |
| $0.005 | $0.00475 | $0.0045 | $0.00425 |
| $0.005 | $0.005 | $0.005 | $0.005 |
Companies not found, repeats, loose matches, summaries, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.
Full actor documentation
apify.com/mambalabs/spain-company-directory
License
MIT. See LICENSE.
Available Tools
1 toollookup_spain_companiesLook up and search Spanish companiesARead-onlyIdempotent
Look up Spanish companies by name, CIF, or infoempresa link, or search by name, sector, status, and legal form. Returns one row per company: CIF, status, legal form, registered address, website, phone, employees, CNAE and SIC activity, mercantile registry, last BORME date, revenue, net worth, net result, and officers.
Inputs: dedupe, sector, status, companies, +9 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool there is no risk of selecting the wrong tool, so cross-tool ambiguity is nil. However, the single tool internally multiplexes two distinct modes (exact lookup by CIF/link vs. filtered search by sector/status/legal form), which an agent must infer from the argument mix rather than from separate tools.
The lone name `lookup_spain_companies` follows a clean snake_case verb_noun pattern that clearly states the action and the target domain. There are no competing conventions to clash with, so the naming is predictable and readable.
A single tool for a company-directory server is on the thin side: the domain naturally splits into 'search by filters' and 'fetch full profile by CIF/link', which would be cleaner as two tools. It still earns its place by covering both behaviors, so it is borderline rather than mismatched.
For a read-only data-lookup domain the tool exposes a very rich field set (identity, status, activity codes, registry, financials, officers) and supports both discovery and precise retrieval. Minor gaps such as pagination, bulk lookup, or officer-level filtering are workable around by the agent.
Maintenance
Related MCP Connectors
UK Companies House company search, officers and PSC via the official API. Runs on Apify.
Find who is behind any Spanish company: directors, public contracts, grants and official sources.
Verify Spanish companies by CIF: registry data, status and BORME filings, paid per call over x402.
Spanish & EU official data: company registry, public tenders, grants, cadastre, CPI, VAT/IBAN checks
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables querying Spain's official company registry (BORME) for company events such as incorporations, director appointments, insolvencies, and capital changes, supporting filters by date, province, and act type.10MIT
- AlicenseAqualityBmaintenanceEnables building targeted company lists from live job boards or SEC filings via the Apify actor, supporting role keywords, locations, and filing phrases.191 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to perform due diligence, KYB, and supplier or client verification by querying Spanish company registry data cross-referenced with public grants and procurement awards, each fact linking to its official publication.MIT
- AlicenseAqualityCmaintenanceEnables assistants to query Spanish company registry data in natural language, including lookups by CIF or name, KYB verification, directors, BORME filings, public contracts and risk profiles. All tools are read-only and draw on the user's own API plan credits.8MIT