Skip to content
MCP server

Globalrules

Verified country facts (VAT, holidays, visas; 114 countries). Free + paid (x402 USDC)…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.1.2
Listing updated
4 days ago

About Globalrules

Globalrules is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Verified country facts (VAT, holidays, visas; 114 countries). Free + paid (x402 USDC) tools.

Install

Run in a terminal

claude mcp add globalrules --env EVM_PRIVATE_KEY='<EVM_PRIVATE_KEY>' -- npx -y globalrules-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "globalrules": {
      "command": "npx",
      "args": [
        "-y",
        "globalrules-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "globalrules": {
      "command": "npx",
      "args": [
        "-y",
        "globalrules-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "globalrules": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "globalrules-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "globalrules": {
      "command": "npx",
      "args": [
        "-y",
        "globalrules-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "globalrules": {
      "command": "npx",
      "args": [
        "-y",
        "globalrules-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
      }
    }
  }
}

Configuration

  • EVM_PRIVATE_KEYOptional. 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 override of the GlobalRules API base URL. Default: https://globalrules-api.onrender.com

Pricing

Open source

Globalrules FAQ

Is Globalrules free?

Yes. Globalrules is open source, so you can use and self-host it for free.

How do I add Globalrules to Claude Code?

Run this command in your terminal: claude mcp add globalrules --env EVM_PRIVATE_KEY='<EVM_PRIVATE_KEY>' -- npx -y globalrules-mcp