NestDaddy

Cortex402

io.github.Ooak21/cortex402 · v0.2.0

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

Connect Runs on your machine

Terminal
claude mcp add cortex402 -e CORTEX402_WALLET_PRIVATE_KEY=<CORTEX402_WALLET_PRIVATE_KEY> -e CORTEX402_BASE_URL=<CORTEX402_BASE_URL> -e CORTEX402_MAX_PAYMENT_USDC=<CORTEX402_MAX_PAYMENT_USDC> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "cortex402": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "CORTEX402_WALLET_PRIVATE_KEY": "<CORTEX402_WALLET_PRIVATE_KEY>",
        "CORTEX402_BASE_URL": "<CORTEX402_BASE_URL>",
        "CORTEX402_MAX_PAYMENT_USDC": "<CORTEX402_MAX_PAYMENT_USDC>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "cortex402": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "CORTEX402_WALLET_PRIVATE_KEY": "<CORTEX402_WALLET_PRIVATE_KEY>",
        "CORTEX402_BASE_URL": "<CORTEX402_BASE_URL>",
        "CORTEX402_MAX_PAYMENT_USDC": "<CORTEX402_MAX_PAYMENT_USDC>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "cortex402": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "CORTEX402_WALLET_PRIVATE_KEY": "<CORTEX402_WALLET_PRIVATE_KEY>",
        "CORTEX402_BASE_URL": "<CORTEX402_BASE_URL>",
        "CORTEX402_MAX_PAYMENT_USDC": "<CORTEX402_MAX_PAYMENT_USDC>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
CORTEX402_WALLET_PRIVATE_KEY
Required, secret
Private key (hex, 0x-prefixed) for an EVM wallet on Base mainnet holding USDC. Used to sign EIP-3009 transferWithAuthorization for each call. Easiest funding: Coinbase Wallet → Buy → USDC on Base network → debit card (~$5 covers ~50 calls).
CORTEX402_BASE_URL
Optional
Override the API base URL. Defaults to https://cortex402.vercel.app — only set this for staging or local development.
CORTEX402_MAX_PAYMENT_USDC
Optional
Per-call payment ceiling in USDC. Defaults to 5.00 (covers sanctions $0.50, aviation $0.10, property $2.00 with headroom). Raise if calling other x402 endpoints through this server.

Details

Package[email protected] (NPM, stdio)
First published5 May 2026
Last updated5 May 2026
Registry nameio.github.Ooak21/cortex402

More data and analytics servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.