io.github.Ooak21/cortex402
OfficialPay-per-call x402 data products on Base mainnet — sanctions, aviation weather, US property.
Access pay-per-call data products on Base blockchain including sanctions and property data.
README not available yet.
Install
Configuration
CORTEX402_WALLET_PRIVATE_KEYrequiredsecretPrivate 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_URLOverride the API base URL. Defaults to https://cortex402.vercel.app — only set this for staging or local development.
CORTEX402_MAX_PAYMENT_USDCPer-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.
claude_desktop_config.json
{
"mcpServers": {
"cortex402": {
"command": "npx",
"args": [
"-y",
"cortex402-mcp@0.2.0"
],
"env": {
"CORTEX402_WALLET_PRIVATE_KEY": "<YOUR_CORTEX402_WALLET_PRIVATE_KEY>",
"CORTEX402_BASE_URL": "<YOUR_CORTEX402_BASE_URL>",
"CORTEX402_MAX_PAYMENT_USDC": "<YOUR_CORTEX402_MAX_PAYMENT_USDC>"
}
}
}
}