Onchain Signals

v0.4.1
io.github.glibey/onchain-signals Checked 19 hours ago Published 5 days ago

Pay-per-call Polymarket intelligence for AI agents: MCP server + x402 (USDC) API

Values you need

VariableWhat it is
CLIENT_PRIVATE_KEYoptional secret Private key of a dedicated payer wallet holding a little USDC on Base. Without it only free tools work.
CLIENT_ALLOW_MAINNEToptional Set to 1 to allow paying real USDC on Base mainnet.
CLIENT_MAX_USDoptional Refuse any single call priced above this (USD, default 0.05).
CLIENT_SESSION_BUDGET_USDoptional Stop paying after this much in one session (USD, default 1).

npm (npx) discovery passed

Requires Node.js 18+

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

Remote (hosted)

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

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: get_market_movers, get_whale_trades, analyze_market, get_trader_profile, get_top_traders, get_smart_money, list_services, wallet_status.
  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