Skip to main content
Glama
README.md
# smart402-mcp

MCP server for **Smart402** — Solana smart-money tracking, paid per call in USDC via the [x402](https://www.x402.org/) protocol. No accounts, no API keys held by the server: your own wallet pays per call.

**Tools** (one paid API call each):

| Tool | What it returns | Price |
|---|---|---|
| `smart_money_feed` | The curated profitable-wallet set's recent significant trades, newest first | $0.02 Base / $0.01 Solana / $0.01 Polygon |
| `wallet_score` | Any Solana wallet's realized PnL, win rate, round-trips and 0–100 score | same |
| `token_smart_money` | Per-wallet + aggregate smart-set buys/sells/holdings for one token | same |
| `smart_wallets` | The curated set itself (snapshot leaderboard) | same |

The wallet set is derived from on-chain evidence by a published method (≥5 closed round-trips, win rate ≥0.55, net realized PnL > +2 SOL, anti-wash filters) — see https://smart.zero-orbit.online for the method, the curation snapshot and the benchmark evidence.

## Run

```bash
npx smart402-mcp
```

## Configuration

| Env | Meaning |
|---|---|
| `SMART402_KEYFILE` | Path to the payer keyfile: a `0x…` EVM private-key text file, a Solana CLI keypair JSON, or a base58 secret. Required in paid mode. |
| `SMART402_PAY_NETWORK` | Settlement network: `base` (default), `solana` or `polygon`. Must match the keyfile type. |
| `SMART402_BASE_URL` | API base URL (default `https://smart.zero-orbit.online`). |
| `MCP_DEMO=1` | Demo mode against a local `DEMO_MODE=1` Smart402 instance — no keyfile, no payment. |
| `SOLANA_RPC_URL` | Optional custom Solana RPC used to build payment transactions. |

## Claude Desktop / MCP client config

```json
{
  "mcpServers": {
    "smart402": {
      "command": "npx",
      "args": ["-y", "smart402-mcp"],
      "env": {
        "SMART402_KEYFILE": "/path/to/payer-keyfile",
        "SMART402_PAY_NETWORK": "base"
      }
    }
  }
}
```

## Notes

- Validation errors from the API (bad address, out-of-range input) are returned as tool errors and are never charged.
- If a paid call fails after settlement, the API issues a single-use compensating credit for an identical free re-call within 24h (see the API's make-good policy in its OpenAPI document).
- Smart-money data is on-chain data, not financial advice.

License: MIT

TDQS

A3.8/5.0

Scored across 4 tools

Disambiguation4/5

Each tool targets a distinct slice: recent set-wide swaps (smart_money_feed), a single wallet's PnL/score (wallet_score), per-token set activity (token_smart_money), and the curated wallet leaderboard (smart_wallets). There is mild overlap between the feed/token views and between wallet_score/smart_wallets since both surface PnL and scores, but descriptions clearly separate individual vs. aggregate and live vs. snapshot.

Naming Consistency4/5

All names are lower snake_case and descriptively consistent as noun phrases, so there is no style mixing. They don't follow a verb_noun action pattern, but for an analytics-fetch server that convention is less applicable and the set still reads as one coherent family.

Tool Count5/5

Four tools is well-scoped for a focused smart-money analytics server, and each covers a genuinely different axis (feed, wallet, token, set). No tool feels redundant or bolted on.

Completeness4/5

The surface covers the core lifecycle: discover the wallet set, inspect a wallet, inspect a token, and stream recent set activity. Gaps exist for history/time-series, alerts, and token-level screening beyond the curated set, but agents can work around these with the four endpoints.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues