ExactJSON — Live, deterministic x402 APIs for AI agents

v1.6.0
io.github.exactjsondev/exactjson Checked 1 hour ago Published 1 day ago

Live, deterministic x402 APIs for AI agents: 31 Base USDC market, security, world & science tools.

Values you need

VariableWhat it is
BUYER_PRIVATE_KEYoptional secret Dedicated low-balance Base EVM wallet private key (0x...) holding USDC for paid x402 calls.
MAX_PAYMENT_USDoptional Maximum USDC spend per call enforced client-side (default $0.05).
MAX_SESSION_SPEND_USDoptional Maximum cumulative USDC spend per stdio MCP session enforced client-side (default $1.00).
EXACTJSON_BASE_URLoptional Optional base URL override when self-hosting ExactJSON.
EXACTJSON_PACKoptional Optional vertical tool pack filter (default markets; or security, world, commerce, research, all).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add exactjson -- npx -y exactjson-mcp@1.6.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "exactjson": {
      "args": [
        "-y",
        "exactjson-mcp@1.6.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "exactjson": {
      "args": [
        "-y",
        "exactjson-mcp@1.6.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "exactjson": {
      "args": [
        "-y",
        "exactjson-mcp@1.6.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.exactjson]
command = "npx"
args = ["-y", "exactjson-mcp@1.6.0"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http exactjson https://exactjson.com/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "exactjson": {
      "args": [
        "-y",
        "mcp-remote",
        "https://exactjson.com/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "exactjson": {
      "url": "https://exactjson.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "exactjson": {
      "type": "http",
      "url": "https://exactjson.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.exactjson]
command = "npx"
args = ["-y", "mcp-remote", "https://exactjson.com/mcp"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http exactjson https://exactjson.com/mcp/markets
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "exactjson": {
      "args": [
        "-y",
        "mcp-remote",
        "https://exactjson.com/mcp/markets"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "exactjson": {
      "url": "https://exactjson.com/mcp/markets"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "exactjson": {
      "type": "http",
      "url": "https://exactjson.com/mcp/markets"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.exactjson]
command = "npx"
args = ["-y", "mcp-remote", "https://exactjson.com/mcp/markets"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http exactjson https://exactjson.com/mcp/security
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "exactjson": {
      "args": [
        "-y",
        "mcp-remote",
        "https://exactjson.com/mcp/security"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "exactjson": {
      "url": "https://exactjson.com/mcp/security"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "exactjson": {
      "type": "http",
      "url": "https://exactjson.com/mcp/security"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.exactjson]
command = "npx"
args = ["-y", "mcp-remote", "https://exactjson.com/mcp/security"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http exactjson https://exactjson.com/mcp/world
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "exactjson": {
      "args": [
        "-y",
        "mcp-remote",
        "https://exactjson.com/mcp/world"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "exactjson": {
      "url": "https://exactjson.com/mcp/world"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "exactjson": {
      "type": "http",
      "url": "https://exactjson.com/mcp/world"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.exactjson]
command = "npx"
args = ["-y", "mcp-remote", "https://exactjson.com/mcp/world"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http exactjson https://exactjson.com/mcp/commerce
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "exactjson": {
      "args": [
        "-y",
        "mcp-remote",
        "https://exactjson.com/mcp/commerce"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "exactjson": {
      "url": "https://exactjson.com/mcp/commerce"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "exactjson": {
      "type": "http",
      "url": "https://exactjson.com/mcp/commerce"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.exactjson]
command = "npx"
args = ["-y", "mcp-remote", "https://exactjson.com/mcp/commerce"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http exactjson https://exactjson.com/mcp/research
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "exactjson": {
      "args": [
        "-y",
        "mcp-remote",
        "https://exactjson.com/mcp/research"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "exactjson": {
      "url": "https://exactjson.com/mcp/research"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "exactjson": {
      "type": "http",
      "url": "https://exactjson.com/mcp/research"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.exactjson]
command = "npx"
args = ["-y", "mcp-remote", "https://exactjson.com/mcp/research"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http exactjson https://exactjson.com/mcp/all
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "exactjson": {
      "args": [
        "-y",
        "mcp-remote",
        "https://exactjson.com/mcp/all"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "exactjson": {
      "url": "https://exactjson.com/mcp/all"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "exactjson": {
      "type": "http",
      "url": "https://exactjson.com/mcp/all"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.exactjson]
command = "npx"
args = ["-y", "mcp-remote", "https://exactjson.com/mcp/all"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: exactjson_health, exactjson_solana_safety, exactjson_solana_trending, exactjson_perps_snapshot, exactjson_perps_screener, exactjson_perps_funding_arb, exactjson_predictions_scanner, exactjson_options_surface, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json