API Colombia: días hábiles, festivos y DIAN

v1.0.0
io.github.TernApp/api-colombia Checked 2 days ago Published 14 days ago

Colombian business days, holidays and DIAN tax deadlines by NIT, plus UVT and TRM (via RapidAPI).

Values you need

VariableWhat it is
RAPIDAPI_KEYrequired secret Tu X-RapidAPI-Key (plan Basic gratis en RapidAPI)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add api-colombia -e 'RAPIDAPI_KEY=<RAPIDAPI_KEY>' -- npx -y mcp-api-colombia@1.0.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "api-colombia": {
      "args": [
        "-y",
        "mcp-api-colombia@1.0.0"
      ],
      "command": "npx",
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "api-colombia": {
      "args": [
        "-y",
        "mcp-api-colombia@1.0.0"
      ],
      "command": "npx",
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "RAPIDAPI_KEY",
      "id": "rapidapi-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "api-colombia": {
      "args": [
        "-y",
        "mcp-api-colombia@1.0.0"
      ],
      "command": "npx",
      "env": {
        "RAPIDAPI_KEY": "${input:rapidapi-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.api-colombia]
command = "npx"
args = ["-y", "mcp-api-colombia@1.0.0"]
env = { "RAPIDAPI_KEY" = "<RAPIDAPI_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http api-colombia https://mcp.rumbi.io/mcp --header 'X-RapidAPI-Key: <X-RapidAPI-Key>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "api-colombia": {
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.rumbi.io/mcp",
        "--header",
        "X-RapidAPI-Key: <X-RapidAPI-Key>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "api-colombia": {
      "headers": {
        "X-RapidAPI-Key": "<X-RapidAPI-Key>"
      },
      "url": "https://mcp.rumbi.io/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "api-colombia": {
      "headers": {
        "X-RapidAPI-Key": "<X-RapidAPI-Key>"
      },
      "type": "http",
      "url": "https://mcp.rumbi.io/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.api-colombia]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.rumbi.io/mcp", "--header", "X-RapidAPI-Key: <X-RapidAPI-Key>"]

For AI agents

  1. Ask the user for: RAPIDAPI_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: vencimientos_dian, calendario_dian, obligaciones_dian, sumar_dias_habiles, contar_dias_habiles, es_dia_habil, festivos, es_festivo, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json