Cortex402
Pay-per-call x402 data products on Base mainnet — sanctions, aviation weather, US…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.2.0
- Listing updated
- 5 days ago
About Cortex402
Cortex402 is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Pay-per-call x402 data products on Base mainnet — sanctions, aviation weather, US property.
Install
Run in a terminal
claude mcp add cortex402 --env CORTEX402_WALLET_PRIVATE_KEY='<CORTEX402_WALLET_PRIVATE_KEY>' -- npx -y cortex402-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"cortex402": {
"command": "npx",
"args": [
"-y",
"cortex402-mcp"
],
"env": {
"CORTEX402_WALLET_PRIVATE_KEY": "<CORTEX402_WALLET_PRIVATE_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"cortex402": {
"command": "npx",
"args": [
"-y",
"cortex402-mcp"
],
"env": {
"CORTEX402_WALLET_PRIVATE_KEY": "<CORTEX402_WALLET_PRIVATE_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"cortex402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cortex402-mcp"
],
"env": {
"CORTEX402_WALLET_PRIVATE_KEY": "<CORTEX402_WALLET_PRIVATE_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"cortex402": {
"command": "npx",
"args": [
"-y",
"cortex402-mcp"
],
"env": {
"CORTEX402_WALLET_PRIVATE_KEY": "<CORTEX402_WALLET_PRIVATE_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"cortex402": {
"command": "npx",
"args": [
"-y",
"cortex402-mcp"
],
"env": {
"CORTEX402_WALLET_PRIVATE_KEY": "<CORTEX402_WALLET_PRIVATE_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
CORTEX402_WALLET_PRIVATE_KEYPrivate 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).RequiredCORTEX402_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.
Pricing
Open source
Cortex402 FAQ
Is Cortex402 free?
Yes. Cortex402 is open source, so you can use and self-host it for free.
How do I add Cortex402 to Claude Code?
Run this command in your terminal: claude mcp add cortex402 --env CORTEX402_WALLET_PRIVATE_KEY='<CORTEX402_WALLET_PRIVATE_KEY>' -- npx -y cortex402-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.