SpainCompanyAPI: Spanish company data
io.github.abasmartinc/apiempresas
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 Nov 29, 2026, only from the author’s description and the tools seen by the test.
Spanish company data: tax ID lookup, KYB, invoice recipient checks, directors, sanctions, tenders.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/abasmartinc/apiempresas-mcp
- Website
- spaincompanyapi.com/
- Server address
https://apiempresas.es/api/mcp(streamable-http)- Version
- 1.4.5
- Author
- abasmartinc (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 21, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
The server optionally accepts a header: X-API-KEY. Replace YOUR_KEY with your key.
Variables to fill in: APIEMPRESAS_API_KEY.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http apiempresas https://apiempresas.es/api/mcp \
--header "X-API-KEY: YOUR_KEY"Claude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://apiempresas.es/api/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://apiempresas.es/api/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"apiempresas": {
"url": "https://apiempresas.es/api/mcp",
"headers": {
"X-API-KEY": "YOUR_KEY"
}
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"apiempresas": {
"type": "http",
"url": "https://apiempresas.es/api/mcp",
"headers": {
"X-API-KEY": "YOUR_KEY"
}
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add apiempresas -e APIEMPRESAS_API_KEY=YOUR_APIEMPRESAS_API_KEY -- npx -y [email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"apiempresas": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"APIEMPRESAS_API_KEY": "YOUR_APIEMPRESAS_API_KEY"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"apiempresas": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"APIEMPRESAS_API_KEY": "YOUR_APIEMPRESAS_API_KEY"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"apiempresas": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"APIEMPRESAS_API_KEY": "YOUR_APIEMPRESAS_API_KEY"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 08:36 (test run by L’Atlas)
- Response time
- 541 ms (whole test)
- Tools found
- 4
- Announced name
- apiempresas 1.3.1
- Protocol
- MCP 2025-06-18
- Next test
- Dec 5, 2026
See the tools (4)
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 chosget_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 incorporacheck_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 hasget_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 reduction
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
SpainCompanyAPI: Spanish company data · L’Agora · Tested on
[SpainCompanyAPI: Spanish company data — L’Agora](https://lagora.dev/en/entry/io.github.abasmartinc/apiempresas)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.abasmartinc/apiempresas)HTML
<a href="https://lagora.dev/en/entry/io.github.abasmartinc/apiempresas"><img src="https://lagora.dev/badge/io.github.abasmartinc/apiempresas.svg?lang=en" alt="io.github.abasmartinc/apiempresas on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.