HALPIITax ID

Remote MCP server for tax ID checks

Last reviewed 2026-11-21 · HALPII S.A.C.

HALPII Tax ID runs a remote Model Context Protocol server. Any MCP client that supports Streamable HTTP can connect to it by URL; there is nothing to install or run locally.

SettingValue
Server URLhttps://taxid.halpii.com/mcp
TransportStreamable HTTP. Stateless: each request is one JSON-RPC POST, with no SSE stream
Protocol versions2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05
Registry namecom.halpii/latam-tax-api, version 0.7.0, in the official MCP registry
AuthenticationOptional. Authorization: Bearer KEY, X-API-Key: KEY, or ?api_key=KEY on the URL

Set it up

  1. Get a no-cost API key (100 lookups a month). You can skip this step and connect without a key; see the limits below.
  2. Add the server to your client’s configuration. For clients that read an mcpServers block:
    {
      "mcpServers": {
        "halpii-tax-id": {
          "url": "https://taxid.halpii.com/mcp",
          "headers": { "Authorization": "Bearer YOUR_KEY" }
        }
      }
    }
  3. If your client cannot set headers, put the key in the URL instead: https://taxid.halpii.com/mcp?api_key=YOUR_KEY.
  4. Check the connection by listing the tools:
    curl -X POST https://taxid.halpii.com/mcp \
      -H "Content-Type: application/json" \
      -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Tools

ToolWhat it checks
validate_tax_idAny supported country, with the deepest check available for it
validate_peru_rucPeru RUC in the SUNAT registry: status, HABIDO condition, address
validate_mexico_rfcMexico RFC: structure, check digit and SAT article 69-B and 69 lists
validate_colombia_nitColombia NIT: verification digit and the RUES commercial registry
validate_costa_rica_cedulaCosta Rica cédula: Ministerio de Hacienda status (beta)
validate_tax_id_formatFormat and check digit only, offline, for the format-only countries

Each tool returns the same object as its REST endpoint, as structured content and as JSON text: verification_level, assessment.verdict with its reasons and, for registry answers, source.data_as_of. All tools are read-only.

Limits

  • With a key: the quota of the key, shared with its REST calls.
  • Without a key: 3 lookups a day per network, to try it; all keyless MCP callers together share a daily total of 100. When either runs out, the tool returns an error that explains how to get a no-cost key (100 lookups a month) and send it.
  • Source down: the tool reports it and the call is not counted.

HALPII Tax ID is an independent service run by HALPII S.A.C. (Lima, Peru), not affiliated with or endorsed by any tax authority or registry.