Cortex402 MCP Server
by ooak21io.github.Ooak21/cortex402v0.2.0
Pay-per-call x402 data products on Base mainnet — sanctions, aviation weather, US property.
context tax
queued
security
queued
cold start
queued
freshness
Slowing5mo ago
Install Cortex402 MCP server
Install in Claude Code
claude mcp add cortex402 -e CORTEX402_WALLET_PRIVATE_KEY='<cortex402-wallet-private-key>' -- npx -y cortex402-mcpInstall in Cursor
{
"mcpServers": {
"cortex402": {
"command": "npx",
"args": [
"-y",
"cortex402-mcp"
],
"env": {
"CORTEX402_WALLET_PRIVATE_KEY": "<cortex402-wallet-private-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"cortex402": {
"command": "npx",
"args": [
"-y",
"cortex402-mcp"
],
"env": {
"CORTEX402_WALLET_PRIVATE_KEY": "<cortex402-wallet-private-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"cortex402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cortex402-mcp"
],
"env": {
"CORTEX402_WALLET_PRIVATE_KEY": "<cortex402-wallet-private-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"cortex402": {
"command": "npx",
"args": [
"-y",
"cortex402-mcp"
],
"env": {
"CORTEX402_WALLET_PRIVATE_KEY": "<cortex402-wallet-private-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| CORTEX402_WALLET_PRIVATE_KEY | yes | yes | 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 | — | — | Override the API base URL. Defaults to https://cortex402.vercel.app — only set this for staging or local development. |
| CORTEX402_MAX_PAYMENT_USDC | — | — | 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. |
Freshness
Slowing — last maintenance signal 5mo ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-05-05 · 5mo ago · official registry · v0.2.0
FAQ
›How do I install the Cortex402 MCP server in Claude Code?
Run: claude mcp add cortex402 -e CORTEX402_WALLET_PRIVATE_KEY='<cortex402-wallet-private-key>' -- npx -y cortex402-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Cortex402 require an API key?
Yes. It expects CORTEX402_WALLET_PRIVATE_KEY, of which 1 is a secret.
›Can I use Cortex402 as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Cortex402 in the official MCP registry?
Yes, as io.github.Ooak21/cortex402.
Alternatives to Cortex402
Other e-commerce MCP servers.