globalrules

v1.1.2
io.github.yk647/globalrules Checked 9 hours ago Published 2 months ago

Verified country facts (VAT, holidays, visas; 114 countries).

Values you need

VariableWhat it is
EVM_PRIVATE_KEYoptional secret Optional. Your EVM wallet private key (0x + 64 hex), used to sign x402 USDC payments on Base mainnet for paid tools. Free tools (list_countries, get_country_overview) work without this. Use a dedicated low-balance wallet funded with a few USDC.
GLOBALRULES_APIoptional Optional override of the GlobalRules API base URL. Default: https://globalrules-api.onrender.com

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add globalrules -- npx -y globalrules-mcp@1.1.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "globalrules": {
      "args": [
        "-y",
        "globalrules-mcp@1.1.2"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "globalrules": {
      "args": [
        "-y",
        "globalrules-mcp@1.1.2"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "globalrules": {
      "args": [
        "-y",
        "globalrules-mcp@1.1.2"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.globalrules]
command = "npx"
args = ["-y", "globalrules-mcp@1.1.2"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_countries, get_country_overview, setup_payments, get_country_facts, get_country_fact, compare_countries, get_full_dataset.
  4. 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