Skip to content
apiempresas logo
MCP server
RegistryRemote

apiempresas MCP Server

Spanish company data: tax ID lookup, KYB, invoice recipient checks, directors, sanctions, tenders.

apiempresas scores 66 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 12 tools. Filed under Finance. GitHub shows 0 stars. Package registries report about 492 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by abasmartincMITTypeScript0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "abasmartinc-apiempresas-mcp": {      "command": "npx",      "args": [        "-y",        "apiempresas-mcp@1.4.3"      ],      "env": {        "APIEMPRESAS_API_KEY": "YOUR_APIEMPRESAS_API_KEY"      }    }  }}

Environment variables

NameRequiredNotes
APIEMPRESAS_API_KEYSecretRequiredAPI key from https://spaincompanyapi.com (free plan: 100 requests, no card)

Tools12Tool docs quality grade C

All capabilities
  • EU, UN and OFAC sanctions lists: a company and its directors (cif) or a name (name), with the strength of each match

  • Name to tax ID, up to 100 at a time, with an optional province to break ties (only matches are charged)

  • Events published in the BORME

  • Company by tax ID: legal name, status, incorporation date, province, CNAE activity, legal form (ISO 20275) and LEI; whether the Tax Agency has revoked its tax ID (taxidrevocation); registered office, sole shareholder, parent company and dir

  • Public contracts awarded

  • Risk profile based on the BORME

  • Public grants from the national grants database (BDNS) since 2022: summary by year, instrument and call, and the individual awards

  • Plan, requests left and credit balance (free; not available in the sandbox)

  • Search companies by name

  • Open public tenders: by keywords, CPV, province, type and amount, or similar to what a company has already won (cif)

  • KYB check (/companies/verify): the company exists and is operating, the name and the director (or sole shareholder) match and, if asked, the EU VAT number is in VIES; with legal form, LEI, parent and sole shareholder; fails if the Tax Agenc

  • Checks a list of customers (up to 100) before invoicing them (/companies/verify/batch): legal name and registered office, status and invoicehint ok / revisar (review) / nofacturar (do not invoice), with the reasons; with vat, also VIES (up

About

Spanish company data MCP server (SpainCompanyAPI)

Official MCP server for SpainCompanyAPI (APIEmpresas.es): Spanish company data for Claude, Cursor, VS Code and any MCP-compatible assistant. Look up companies by tax ID (CIF/NIF), verify them (KYB), check a list of invoice recipients, and get directors, registry filings (BORME), sanctions screening, public contracts, grants and open tenders.

Ask in plain language ("Is Mercadona active and who are its directors?", "Find the tax IDs of these 40 companies", "Check these Spanish customers before I invoice them") and the assistant calls the API with your key.

  • Free API key: 100 requests, no card required. Sign up
  • API documentation: spaincompanyapi.com/docs
  • Coverage: over 4.7 million Spanish companies, updated every working day from the Commercial Registry gazette (BORME) and other public registers.

Versión en español al final de este documento.

Tools

ToolWhat it doesPlan
get_companyCompany by tax ID: legal name, status, incorporation date, province, CNAE activity, legal form (ISO 20275) and LEI; whether the Tax Agency has revoked its tax ID (tax_id_revocation); registered office, sole shareholder, parent company and directors depending on planFree (reduced data), Pro
search_companiesSearch companies by nameFree
verify_companyKYB check (/companies/verify): the company exists and is operating, the name and the director (or sole shareholder) match and, if asked, the EU VAT number is in VIES; with legal form, LEI, parent and sole shareholder; fails if the Tax Agency has revoked the tax ID (2 requests)Pro
find_cif_by_nameName to tax ID, up to 100 at a time, with an optional province to break ties (only matches are charged)Pro
verify_invoice_recipientsChecks a list of customers (up to 100) before invoicing them (/companies/verify/batch): legal name and registered office, status and invoice_hint ok / revisar (review) / no_facturar (do not invoice), with the reasons; with vat, also VIES (up to 20). Only companies found are chargedPro
get_borme_historyEvents published in the BORMEPro
get_risk_profileRisk profile based on the BORMEBusiness
get_public_contractsPublic contracts awardedBusiness
get_subsidiesPublic grants from the national grants database (BDNS) since 2022: summary by year, instrument and call, and the individual awardsBusiness
search_tendersOpen public tenders: by keywords, CPV, province, type and amount, or similar to what a company has already won (cif)Business
check_sanctionsEU, UN and OFAC sanctions lists: a company and its directors (cif) or a name (name), with the strength of each matchBusiness
get_usagePlan, requests left and credit balance (free; not available in the sandbox)All

All tools are read-only. Each call uses requests from your plan, as with the API.

Installation

  1. Create a free account (100 requests, no card) at spaincompanyapi.com and copy your API key from the dashboard.
  2. Add the server to your client (requires Node.js 18 or later).

Claude Desktop

In claude_desktop_config.json:

{
  "mcpServers": {
    "apiempresas": {
      "command": "npx",
      "args": ["-y", "apiempresas-mcp"],
      "env": { "APIEMPRESAS_API_KEY": "your_api_key" }
    }
  }
}

Claude Code

claude mcp add apiempresas --env APIEMPRESAS_API_KEY=your_api_key -- npx -y apiempresas-mcp

Cursor

In ~/.cursor/mcp.json (or .cursor/mcp.json in your project), the same mcpServers block as for Claude Desktop.

VS Code

In .vscode/mcp.json:

{
  "servers": {
    "apiempresas": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "apiempresas-mcp"],
      "env": { "APIEMPRESAS_API_KEY": "your_api_key" }
    }
  }
}

Remote server (nothing to install)

Clients that support remote MCP servers can connect to https://spaincompanyapi.com/api/mcp (also https://apiempresas.es/api/mcp) with the X-API-KEY header. Without a key, name search and basic company data still work, with a daily limit.

Testing at no cost

With APIEMPRESAS_BASE_URL=https://spaincompanyapi.com/api/sandbox/v1 calls do not use requests (only the test tax IDs A15075062 and B00000000 work). With APIEMPRESAS_BASE_URL=https://spaincompanyapi.com/api/v1 you use the live API with error messages in English; the default is https://apiempresas.es/api/v1.

Good to know

  • Registry status, scoring and risk profile are worked out by SpainCompanyAPI from the BORME: they are not a certificate from the Commercial Registry.
  • Not covered: ultimate beneficial owners, PEP screening, credit scores, full annual accounts and sole traders (autónomos).
  • Pricing: Free 100 requests; Pro €19/month (3,000/month); Business €49/month (10,000/month); credit packs without subscription. VAT not included. Details at spaincompanyapi.com.

Links

License

MIT


En español

Servidor MCP oficial de APIEmpresas.es: datos de empresas españolas para Claude, Cursor, VS Code y cualquier asistente compatible con MCP. Las herramientas son las de la tabla de arriba: empresa por CIF, búsqueda por nombre, verificación KYB, de nombre a CIF, validación del NIF de los clientes antes de facturar (verify_invoice_recipients), BORME, riesgo, contratos públicos, subvenciones, licitaciones abiertas y listas de sanciones.

claude mcp add apiempresas --env APIEMPRESAS_API_KEY=tu_api_key -- npx -y apiempresas-mcp

Crea una cuenta gratis (100 consultas, sin tarjeta) en apiempresas.es. Para probar sin gastar consultas: APIEMPRESAS_BASE_URL=https://apiempresas.es/api/sandbox/v1. Documentación completa en apiempresas.es/documentation.

Frequently asked questions

What is apiempresas MCP Server?

Spanish company data: tax ID lookup, KYB, invoice recipient checks, directors, sanctions, tenders.

How do I install apiempresas MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. apiempresas MCP Server runs locally from the npm package apiempresas-mcp with the command npx -y apiempresas-mcp@1.4.3.

Is apiempresas MCP Server free and open source?

Yes. apiempresas MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does apiempresas MCP Server support remote (HTTP) connections?

Yes. apiempresas MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does apiempresas MCP Server provide?

apiempresas MCP Server provides 12 tools, including check_sanctions, find_cif_by_name, get_borme_history, and get_company. See the full tool list for descriptions and parameters.

How is apiempresas MCP Server's trust score calculated?

apiempresas MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server