SpainCompanyAPI: Spanish company data
io.github.abasmartinc/apiempresas
MCP server OK 4 tools
What it is for
Queries public data on Spanish companies: search by name (`search_companies`), a company's record from its tax ID (`get_company`), checks on tax ID revocation and BORME statistics.
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.
Spanish company data: tax ID lookup, KYB, invoice recipient checks, directors, sanctions, tenders.
Technical sheet
- Author
- abasmartinc (registry namespace)
- Repository
- github.com/abasmartinc/apiempresas-mcp
- Site
- spaincompanyapi.com
- Version
- 1.4.5
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://apiempresas.es/api/mcp Streamable HTTP
- Packages
- apiempresas-mcp 1.4.3 npm stdio
- Tools
- 4
- Categories
- Finance and payments
- Last updated
- 21 Nov 2026
- Published
- 21 Nov 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/io.github.abasmartinc/apiempresas)<a href="https://latlas.dev/en/mcp/io.github.abasmartinc/apiempresas"><img src="https://latlas.dev/badge/fiche/io.github.abasmartinc/apiempresas.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://apiempresas.es/api/mcp
- Last result
- OK 28 Nov 2026, 08:36
- Response time
- 541 ms (initialize + tools/list)
- Protocol version
- 2025-06-18
- Announced name
- apiempresas 1.3.1
- Tools
- 4
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 08:36 | OK | 541 ms | 4 |
Exposed tools (4, from tools/list, 28 Nov 2026)
search_companies
Search Spanish companies by name
Searches Spanish companies (sociedades) by name or part of the name and returns up to 10 candidates with their tax ID (CIF), province and registry status. Use it when you do not have the CIF of a company; then call get_company with the chosen CIF. Sole traders (autónomos) are not included.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Company name or part of it |
| limit | integer | no | Maximum number of results (default 10) |
get_company
Get a Spanish company by tax ID
Returns the basic public record of ONE Spanish company from its tax ID (CIF/NIF): legal name, status (active, dissolved, extinguished, in insolvency...), legal form with ISO 20275 code, LEI code, activity code (CNAE), province and incorporation date, plus tax_id_revocation if the Tax Agency has revoked or reinstated its tax ID. The status is derived from Mercantile Registry gazette (BORME) filings; it is not an official certificate. The street address and the directors are not included.
| Parameter | Type | Required | Description |
|---|---|---|---|
| cif | string | yes | Spanish company tax ID (CIF/NIF), e.g. A46103834. Spaces and hyphens are accepted. |
check_tax_id_revocation
Check if a Spanish tax ID is revoked
Checks whether the Spanish Tax Agency (AEAT) has revoked or reinstated the tax ID (NIF) of a company, as published in the official gazette (BOE). Returns status REVOKED or REHABILITATED with the date and the BOE link, or null if nothing has been published for that tax ID. A company with a revoked tax ID cannot operate with the Tax Agency and banks cannot process its payments. Works even when the company has no record in search_companies.
| Parameter | Type | Required | Description |
|---|---|---|---|
| cif | string | yes | Spanish company tax ID (CIF/NIF), e.g. A46103834. Spaces and hyphens are accepted. |
get_borme_stats
Spanish company filing statistics
Returns how many filings were published in the Mercantile Registry gazette (BORME) per month or per year, for all of Spain or one province, since 2009: incorporations, dissolutions, extinctions, insolvencies, capital increases and reductions, address changes and mergers. Use it for questions such as "how many companies were created in Valencia in 2025?". Dissolutions and insolvencies are not comparable between provinces; use extinctions to measure closures.
| Parameter | Type | Required | Description |
|---|---|---|---|
| metrics | string | no | Comma-separated metrics: incorporations, dissolutions, extinctions, insolvencies, capital_increases, capital_reductions, address_changes, mergers. Default: all. |
| province | string | no | Province of the Mercantile Registry by name (e.g. MADRID, VALENCIA) or INE code (e.g. 28). Omit for all of Spain. |
| from | string | no | First month (YYYY-MM) or year (YYYY). Default: 11 months before "to". |
| to | string | no | Last month (YYYY-MM) or year (YYYY). Default: current month. |
| group | enum: "month" | "year" | no | Group by month (default) or year. |
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://apiempresas.es/api/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http apiempresas https://apiempresas.es/api/mcpCustomize > Connectors > + Add > Add custom connector ; Name : apiempresas ; URL : https://apiempresas.es/api/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : apiempresas ; Server URL : https://apiempresas.es/api/mcp ; Create as a plugin{
"mcpServers": {
"apiempresas": {
"url": "https://apiempresas.es/api/mcp"
}
}
}{
"mcpServers": {
"apiempresas": {
"type": "http",
"url": "https://apiempresas.es/api/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"apiempresas": {
"url": "https://apiempresas.es/api/mcp"
}
}
}{
"mcpServers": {
"apiempresas": {
"httpUrl": "https://apiempresas.es/api/mcp"
}
}
}[mcp_servers.apiempresas]
url = "https://apiempresas.es/api/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.
SpainCompanyAPI: Spanish company data · L’Atlas · Tested on
[SpainCompanyAPI: Spanish company data — L’Atlas](https://latlas.dev/en/mcp/io.github.abasmartinc/apiempresas)Source : Registre officiel MCP · retrieved 1 Dec 2026. L’Atlas adds no data beyond this source and its own tests.