{
  "markdown": "# globalrules-mcp\n\n> **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.\n\nMCP server for [GlobalRules](https://globalrules.org) — 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.\n\n## Tools\n\n| Tool | What it does | Price/call |\n|---|---|---|\n| `list_countries` | All 70 covered countries | $0.005 |\n| `get_country_facts` | All ~51 facts for one country | $0.03 |\n| `get_country_fact` | One fact for one country | $0.01 |\n| `compare_countries` | One fact across all 70 countries | $0.02 |\n| `get_full_dataset` | Complete dataset with sources | $0.25 |\n\n**Using LangChain, CrewAI, or another agent framework instead of Claude Desktop?** See [AGENT_FRAMEWORKS.md](./AGENT_FRAMEWORKS.md) for drop-in code — no marketplace discovery required, your agent calls this tool directly.\n\n## Setup (Claude Desktop)\n\n```json\n{\n  \"mcpServers\": {\n    \"globalrules\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"globalrules-mcp\"],\n      \"env\": { \"EVM_PRIVATE_KEY\": \"0x<your wallet private key>\" }\n    }\n  }\n}\n```\n\n(From source instead: `\"command\": \"node\", \"args\": [\"<path-to>/GlobalRules/mcp/index.mjs\"]`)\n\n- `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.\n- Payments are handled automatically per call via the x402 protocol (HTTP 402 → sign → retry). No account is created anywhere.\n\n### Try it in 2 minutes with a throwaway $5 wallet\n\nYou don't need to touch your main wallet. Fastest path to a first call:\n\n1. Generate a fresh burner key: `node -e \"console.log(require('viem/accounts').generatePrivateKey())\"` (or any wallet app's \"create new wallet\" flow)\n2. Send ~$5 of USDC on **Base** to that wallet's address (bridge from any chain via [bridge.base.org](https://bridge.base.org), or buy directly on Coinbase and withdraw to Base)\n3. Drop the private key into `EVM_PRIVATE_KEY` above and run a call — at $0.005–$0.02/call, $5 covers hundreds of requests\n4. Throw the key away when done; it never touches anything but this one low-balance wallet\n\nNo signup form, no dashboard, no recurring charge — just pay-per-call.\n\n## How it works\n\nBuilt on the official CDP pattern ([MCP Server with x402](https://docs.cdp.coinbase.com/x402/mcp-server)): `@x402/axios` wraps HTTP calls, detects `402 Payment Required`, signs a USDC payment with your key, and retries — transparent to the agent.\n\nData source & terms: https://globalrules.org/llms.txt · Payment metadata: https://globalrules.org/.well-known/x402\n",
  "bytes": 2977,
  "sha": "3cfdcbd0e3e585b66289fdb0d173e36c545d90645d03da9f7f0f64e3f2419ef2",
  "repo_slug": "yk647/globalrules-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_yk647_globalrules_47556cdc/readme"
}