{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.abasmartinc/apiempresas",
  "slug": "io.github.abasmartinc.apiempresas",
  "title": "SpainCompanyAPI: Spanish company data",
  "summary": "Spanish company data: tax ID lookup, KYB, invoice recipient checks, directors, sanctions, tenders.",
  "version": "1.4.5",
  "serverKey": "apiempresas",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.abasmartinc.apiempresas",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.abasmartinc.apiempresas/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T17:21:20.801361764Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "apiempresas-mcp@1.4.3"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add apiempresas -e 'APIEMPRESAS_API_KEY=<APIEMPRESAS_API_KEY>' -- npx -y apiempresas-mcp@1.4.3"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"apiempresas\": {\n      \"args\": [\n        \"-y\",\n        \"apiempresas-mcp@1.4.3\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"APIEMPRESAS_API_KEY\": \"<APIEMPRESAS_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"apiempresas\": {\n      \"args\": [\n        \"-y\",\n        \"apiempresas-mcp@1.4.3\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"APIEMPRESAS_API_KEY\": \"<APIEMPRESAS_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"APIEMPRESAS_API_KEY\",\n      \"id\": \"apiempresas-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"apiempresas\": {\n      \"args\": [\n        \"-y\",\n        \"apiempresas-mcp@1.4.3\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"APIEMPRESAS_API_KEY\": \"${input:apiempresas-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.apiempresas]\ncommand = \"npx\"\nargs = [\"-y\", \"apiempresas-mcp@1.4.3\"]\nenv = { \"APIEMPRESAS_API_KEY\" = \"<APIEMPRESAS_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://apiempresas.es/api/mcp",
      "headers": [
        {
          "name": "X-API-KEY",
          "description": "Optional. API key from https://spaincompanyapi.com (free plan: 100 requests, no card). Without a key, name search and basic company data still work.",
          "isSecret": true
        }
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http apiempresas https://apiempresas.es/api/mcp --header 'X-API-KEY: <X-API-KEY>'"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"apiempresas\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://apiempresas.es/api/mcp\",\n        \"--header\",\n        \"X-API-KEY: <X-API-KEY>\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"apiempresas\": {\n      \"headers\": {\n        \"X-API-KEY\": \"<X-API-KEY>\"\n      },\n      \"url\": \"https://apiempresas.es/api/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"apiempresas\": {\n      \"headers\": {\n        \"X-API-KEY\": \"<X-API-KEY>\"\n      },\n      \"type\": \"http\",\n      \"url\": \"https://apiempresas.es/api/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.apiempresas]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://apiempresas.es/api/mcp\", \"--header\", \"X-API-KEY: <X-API-KEY>\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "APIEMPRESAS_API_KEY",
      "required": true,
      "secret": true,
      "description": "API key from https://spaincompanyapi.com (free plan: 100 requests, no card)",
      "help": "API key from https://spaincompanyapi.com (free plan: 100 requests, no card)",
      "placeholder": "<APIEMPRESAS_API_KEY>"
    }
  ],
  "expectedTools": [
    "get_company",
    "search_companies",
    "verify_company",
    "find_cif_by_name",
    "verify_invoice_recipients",
    "get_borme_history",
    "get_risk_profile",
    "get_public_contracts",
    "get_subsidies",
    "search_tenders",
    "check_sanctions",
    "get_usage"
  ],
  "agentSteps": [
    "Ask the user for: APIEMPRESAS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: get_company, search_companies, verify_company, find_cif_by_name, verify_invoice_recipients, get_borme_history, get_risk_profile, get_public_contracts, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T17:21:20.801361764Z"
}
