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
}커뮤니티
증거