SpainCompanyAPI: Spanish company data
Spanish company data: tax ID lookup, KYB, invoice recipient checks, directors, sanctions, tenders.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"apiempresas": {
"command": "npx",
"args": [
"apiempresas-mcp"
]
}
}
}実行可能なパッケージ
1.4.3stdioリモートエンドポイント
https://apiempresas.es/api/mcpstreamable-httpできること
ツール一覧
ツール(4)
🟢search_companies(query, limit)
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.
入力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"description": "Company name or part of it"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"description": "Maximum number of results (default 10)"
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢get_company(cif)
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.
入力スキーマ
{
"type": "object",
"properties": {
"cif": {
"type": "string",
"minLength": 9,
"maxLength": 15,
"description": "Spanish company tax ID (CIF/NIF), e.g. A46103834. Spaces and hyphens are accepted."
}
},
"required": [
"cif"
],
"additionalProperties": false
}🟢check_tax_id_revocation(cif)
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.
入力スキーマ
{
"type": "object",
"properties": {
"cif": {
"type": "string",
"minLength": 9,
"maxLength": 15,
"description": "Spanish company tax ID (CIF/NIF), e.g. A46103834. Spaces and hyphens are accepted."
}
},
"required": [
"cif"
],
"additionalProperties": false
}🟢get_borme_stats(metrics, province, from, to, group)
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.
入力スキーマ
{
"type": "object",
"properties": {
"metrics": {
"type": "string",
"description": "Comma-separated metrics: incorporations, dissolutions, extinctions, insolvencies, capital_increases, capital_reductions, address_changes, mergers. Default: all."
},
"province": {
"type": "string",
"description": "Province of the Mercantile Registry by name (e.g. MADRID, VALENCIA) or INE code (e.g. 28). Omit for all of Spain."
},
"from": {
"type": "string",
"description": "First month (YYYY-MM) or year (YYYY). Default: 11 months before \"to\"."
},
"to": {
"type": "string",
"description": "Last month (YYYY-MM) or year (YYYY). Default: current month."
},
"group": {
"type": "string",
"enum": [
"month",
"year"
],
"description": "Group by month (default) or year."
}
},
"required": [],
"additionalProperties": false
}コミュニティ
エビデンス