Skip to main content
Glama
yk647

globalrules-mcp

by yk647

globalrules-mcp

Communication language (internal note for AI agents working in this repo, e.g. Claude): always communicate with the user in Japanese (常に日本語でコミュニケーションすること). This note does not apply to the public package documentation below, which remains in English for npm/MCP users.

MCP server for GlobalRules — verified country facts (VAT/GST, government-verified 2026–2027 public holidays, tipping, visas, minimum wages… 51 topics × 70 countries) with automatic x402 micropayments (USDC on Base). No signup, no API key: bring your own wallet key and pay $0.005–$0.25 per call.

Tools

Tool

What it does

Price/call

list_countries

All 70 covered countries

$0.005

get_country_facts

All ~51 facts for one country

$0.03

get_country_fact

One fact for one country

$0.01

compare_countries

One fact across all 70 countries

$0.02

get_full_dataset

Complete dataset with sources

$0.25

Using LangChain, CrewAI, or another agent framework instead of Claude Desktop? See AGENT_FRAMEWORKS.md for drop-in code — no marketplace discovery required, your agent calls this tool directly.

Related MCP server: veradata

Setup (Claude Desktop)

{
  "mcpServers": {
    "globalrules": {
      "command": "npx",
      "args": ["-y", "globalrules-mcp"],
      "env": { "EVM_PRIVATE_KEY": "0x<your wallet private key>" }
    }
  }
}

(From source instead: "command": "node", "args": ["<path-to>/GlobalRules/mcp/index.mjs"])

  • EVM_PRIVATE_KEY is your wallet's private key, used only to sign x402 payments (USDC on Base mainnet). Fund it with a few USDC. Use a dedicated low-balance wallet; never your main wallet.

  • Payments are handled automatically per call via the x402 protocol (HTTP 402 → sign → retry). No account is created anywhere.

Try it in 2 minutes with a throwaway $5 wallet

You don't need to touch your main wallet. Fastest path to a first call:

  1. Generate a fresh burner key: node -e "console.log(require('viem/accounts').generatePrivateKey())" (or any wallet app's "create new wallet" flow)

  2. Send ~$5 of USDC on Base to that wallet's address (bridge from any chain via bridge.base.org, or buy directly on Coinbase and withdraw to Base)

  3. Drop the private key into EVM_PRIVATE_KEY above and run a call — at $0.005–$0.02/call, $5 covers hundreds of requests

  4. Throw the key away when done; it never touches anything but this one low-balance wallet

No signup form, no dashboard, no recurring charge — just pay-per-call.

How it works

Built on the official CDP pattern (MCP Server with x402): @x402/axios wraps HTTP calls, detects 402 Payment Required, signs a USDC payment with your key, and retries — transparent to the agent.

Data source & terms: https://globalrules.org/llms.txt · Payment metadata: https://globalrules.org/.well-known/x402

Related MCP Connectors

  • CitedTravel gives AI agents and developers travel facts they can cite. It covers plug types and voltage, currency, emergency numbers, driving side, public holidays (3 years) and tipping norms for 195 countries, plus a visa/entry pilot for GB, US and JP passport holders. Every value comes with its sources (publisher, URL, license, verbatim quote), a last-verified date and a 0-1 confidence score with reasons. Data comes only from sources that allow commercial reuse, such as Wikidata, Unicode CLDR, UK FCDO, the US State Department and Japan MOFA. Entry answers quote official government pages and are decision support, never a go/no-go verdict. Remote MCP server (Streamable HTTP, 9 read-only tools) and REST API (OpenAPI 3.1). Answers in English, Japanese, Simplified and Traditional Chinese. Free: static facts need no key; a free key adds 1,000 calls/month. Paid: Builder $19/month, Pro $99/month, or x402 pay-per-call in USDC on Base.

  • Source-backed country policy data for AI agents; pay-per-call via x402 (XRP or USDC).

  • Utility data for AI agents: IBAN, EU holidays, VAT rates, time zones, ECB FX. Pay per call.

  • Pay-per-call data APIs for AI agents. USDC on Base via x402. 33 tools, no signup.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides tools to retrieve and compare detailed information about countries, including population, region, and currency data. It allows users to search for specific countries or list them by region.
    -
  • F
    license
    A
    quality
    D
    maintenance
    Verified Latin American data for autonomous AI agents via x402 micropayments. Sanctions screening (OFAC SDN + SARLAFT + CNBV + COAF + UAF) with EU AI Act Art.12/13 compliant hash-chain audit trail, entity enrichment (RUES/CNPJ/RFC), and real-time LATAM central bank rates including Argentina dólar blue. $0.02–$0.10 USDC per call on Base and Solana. No API key required.
    4
    1
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Real public/bank/school holiday lookup for 206 countries via a rule-based calendar engine (moveable holidays like Easter computed astronomically, not guessed). Priced per call via x402/USDC on Base.
    MIT