Skip to content
Gemini CLI

cortex402 for Gemini CLI

io.github.ooak21/cortex402

Pay-per-call x402 data products on Base mainnet — sanctions, aviation weather, US property.

client:Gemini CLI transport:stdio runtime:npm

Install cortex402 in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "cortex402": {
      "command": "npx",
      "args": [
        "-y",
        "cortex402-mcp"
      ],
      "env": {
        "CORTEX402_WALLET_PRIVATE_KEY": "<CORTEX402_WALLET_PRIVATE_KEY>",
        "CORTEX402_BASE_URL": "<CORTEX402_BASE_URL>",
        "CORTEX402_MAX_PAYMENT_USDC": "<CORTEX402_MAX_PAYMENT_USDC>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

cortex402 in other clients