# APIEmpresas: Spanish company data

> APIEmpresas: Spanish company data is a freemium MCP server for analytics and data. Spanish company lookup by CIF, BORME filings, KYB checks, sanctions and public tenders. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI
- **Website:** https://apiempresas.es
- **Repository:** https://github.com/abasmartinc/apiempresas-mcp
- **MCP Registry name:** io.github.abasmartinc/apiempresas
- **Categories:** analytics and data, finance and payments
- **Listing updated:** 2026-11-14

## About

Built for Spanish business data, this server answers questions such as whether a company is active and who administers it, or which CIFs belong to a list of 40 company names. Its README is in Spanish and covers twelve read-only tools, each of which spends queries from your APIEmpresas plan.

The free plan covers `get_company` with trimmed data and `search_companies`. Pro adds `verify_company` for KYB checks, `find_cif_by_name` for up to 100 names at once, `verify_invoice_recipients` to validate a client list before invoicing, and `get_borme_history`. Business adds `get_risk_profile`, `get_public_contracts`, `get_subsidies`, `search_tenders` and `check_sanctions` against EU, UN and OFAC lists. `get_usage` is free.

The README is open about limits: company status, scoring and risk profile are computed from BORME and are not a certificate from the Mercantile Registry, and it does not cover beneficial owners, PEP lists or sole traders. A sandbox base URL lets you test without spending queries, using two test CIFs.

## Features

- **CIF lookup:** Company name, status, incorporation, province, CNAE, legal form and LEI.
- **KYB verification:** Checks existence, activity, name and administrator, optionally VIES.
- **Bulk invoice checks:** Validates up to 100 clients with ok, review or do-not-invoice hints.
- **BORME and risk:** Registry gazette filings and a risk profile built from them.
- **Sanctions screening:** Checks EU, UN and OFAC lists for a company and its administrators.
- **Public tenders:** Searches open tenders by CPV, province, type and amount.

## Good for

- Verify a supplier before onboarding
- Find CIFs for a list of company names
- Check invoice recipients before billing
- Screen a company and its directors against sanctions lists
- Find open public tenders similar to what a company has won

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http apiempresas https://apiempresas.es/api/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://apiempresas.es/api/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "apiempresas": {
      "url": "https://apiempresas.es/api/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "apiempresas": {
      "type": "http",
      "url": "https://apiempresas.es/api/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "apiempresas": {
      "serverUrl": "https://apiempresas.es/api/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "apiempresas": {
      "type": "http",
      "url": "https://apiempresas.es/api/mcp"
    }
  }
}
```

## Tools

- `search_companies`: 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.
- `get_company`: 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
- `check_tax_id_revocation`: 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 c
- `get_borme_stats`: 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 compa

## FAQ

### What does it cost?

Free is 100 queries; Pro is 19 euros a month for 3,000; Business is 49 euros a month for 10,000, excluding VAT, with top-up packs from 9 euros.

### Can I test without spending queries?

Yes. Set APIEMPRESAS_BASE_URL to the sandbox, which accepts two test CIFs.

### Is the company status official?

No. It is computed from BORME and is not a Mercantile Registry certificate.

### Does it cover sole traders?

No. The README says it does not cover sole traders or beneficial owners.

### Is APIEmpresas: Spanish company data free?

APIEmpresas: Spanish company data has a free plan, with paid plans for more usage or features.

### How do I add APIEmpresas: Spanish company data to Claude Code?

Run this command in your terminal: claude mcp add --transport http apiempresas https://apiempresas.es/api/mcp

### What are the best alternatives to APIEmpresas: Spanish company data?

The closest alternatives to APIEmpresas: Spanish company data are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP and World Monitor.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.
- [ChartAnt](https://ai-powered.com/mcp/chartant): ChartAnt is a freemium MCP server for design and media.

---
Source: https://ai-powered.com/mcp/apiempresas-spanish-company-data
