Put rich.tools in your agent

Claude, Cursor, Cline, Raycast or your own bot can score tokens, read live narratives, check your PnL and draft launches through rich.tools. The agent never gets your keys. Anything that moves SOL comes back to you to sign.

Quick start

  1. Open Agents & MCP, pick your app and an access preset. Copy the key: it's shown once.
  2. If you ticked launch, fund or trade, sign the grant message with the wallet you signed in with. You can remove it any time.
  3. Paste the config for your client below and restart it. Ask it: “Use rich.tools to score this token: <mint>”.

One-command setup

Run this in a terminal. It asks for your key, checks it against rich.tools, then writes the config for every client it finds (Claude Desktop, Cursor, Windsurf) and registers it with Claude Code. Existing configs are merged, with a .bak copy, and saved readable only by you.

npx -y richtools-mcp setup

Only one client: add --client cursor (or claude-desktop, windsurf, claude-code). To print a config without writing anything: npx -y richtools-mcp --print-config.

Hosted server

Nothing to install. Any client that supports remote (Streamable HTTP) MCP servers can connect to the hosted endpoint with your key in a header. Hosted mode never holds keys: wallet_create makes wallets in your browser vault, and launches always come back as sign links.

{
  "mcpServers": {
    "richtools": {
      "url": "https://www.rich.tools/api/mcp",
      "headers": {
        "Authorization": "Bearer rt_live_…"
      }
    }
  }
}

Same scopes, grant, limits and credits as the local server and the REST API. x-api-key: rt_live_… works too.

Client setup

Every client runs the same package, richtools-mcp, with your key in RICHTOOLS_API_KEY. It needs Node 18 or newer.

Claude Desktop

Settings → Developer → Edit Config (claude_desktop_config.json), then restart Claude.
{
  "mcpServers": {
    "richtools": {
      "command": "npx",
      "args": [
        "-y",
        "richtools-mcp"
      ],
      "env": {
        "RICHTOOLS_API_KEY": "rt_live_…"
      }
    }
  }
}

Claude Code

Run once in a terminal.
claude mcp add richtools --env RICHTOOLS_API_KEY=rt_live_… -- npx -y richtools-mcp

Cursor

~/.cursor/mcp.json (or .cursor/mcp.json in a project).
{
  "mcpServers": {
    "richtools": {
      "command": "npx",
      "args": [
        "-y",
        "richtools-mcp"
      ],
      "env": {
        "RICHTOOLS_API_KEY": "rt_live_…"
      }
    }
  }
}

VS Code

.vscode/mcp.json (Copilot Chat, Agent mode). Or use Install in VS Code on rich.tools/agents.
{
  "servers": {
    "richtools": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "richtools-mcp"
      ],
      "env": {
        "RICHTOOLS_API_KEY": "rt_live_…"
      }
    }
  }
}

Windsurf

~/.codeium/windsurf/mcp_config.json, then Refresh in Cascade → MCP.
{
  "mcpServers": {
    "richtools": {
      "command": "npx",
      "args": [
        "-y",
        "richtools-mcp"
      ],
      "env": {
        "RICHTOOLS_API_KEY": "rt_live_…"
      }
    }
  }
}

Cline

Cline → MCP Servers → Configure (cline_mcp_settings.json).
{
  "mcpServers": {
    "richtools": {
      "command": "npx",
      "args": [
        "-y",
        "richtools-mcp"
      ],
      "env": {
        "RICHTOOLS_API_KEY": "rt_live_…"
      },
      "disabled": false,
      "autoApprove": [
        "account",
        "token_score",
        "narrative_list"
      ]
    }
  }
}

Raycast

Raycast → Install Server (MCP extension), paste this.
{
  "mcpServers": {
    "richtools": {
      "command": "npx",
      "args": [
        "-y",
        "richtools-mcp"
      ],
      "env": {
        "RICHTOOLS_API_KEY": "rt_live_…"
      }
    }
  }
}

Any client over HTTP

Starts a local Streamable HTTP endpoint at http://127.0.0.1:8787/mcp. It only listens on this machine.
RICHTOOLS_API_KEY=rt_live_… npx -y richtools-mcp --http

Key controls

Each key has its own limits in Agents & MCP → Manage. Changes apply on the next call; nothing to reinstall.

  • Scopes: read, audit, wallet, launch, fund, trade, export. Removing launch, fund or trade also removes the grant for it.
  • Credits per day: calls past the cap fail with rate until the next UTC day.
  • Max SOL per draft: launch and transfer drafts above it fail with validation.
  • Expiry: an expired key answers unauthorized.
  • IP allowlist: up to 10 IPv4/IPv6 addresses. Also enforced on the hosted server.
  • Activity: the last 100 calls with tool, credits, status and whether they came over local MCP, hosted MCP or REST.
  • Revoke: the key stops working on the next request.

How signing works

rich.tools never holds your main wallet's key, and neither does the agent. A write comes back in one of two forms:

  • signUrl (default): a link to rich.tools/sign/… where you review the draft, see the fee line, and sign in your browser. Side buys use this, because your bundle wallets live in your browser vault.
  • Unsigned transaction (signing: "tx"): base64 transactions your own wallet signs and sends. You then report the signatures, and rich.tools checks them on-chain before it calls the launch confirmed.

Wallets an agent makes with wallet_create are keypairs on your own machine in ~/.richtools/wallets; only the address is sent. Back that folder up.

Tools

ToolWhat it doesCreditsRead-only
accountScopes, grant, credits, limits, fee rulefreeyes
token_scoreBuyer-side risk check of any Solana token, with sources1yes
audit_run / audit_statusFull audit: holder map + chain forensics5yes
narrative_listLive narratives citing their signals1yes
pnl_readLaunch totals, fee drag, live holdings value1yes
launch_previewFee, wallets, supply estimate, guard plan1yes
launch_createDrafts a launch for you to sign25no
launch_status / launch_list / launch_submitTrack a draft until it confirmsfreeyes
wallet_create / wallet_listKeypair on your machine, or wallets in your browser vault1no
wallet_fundDrafts one transfer between your own wallets10no
trade_createDrafts a multi-wallet buy or sell you approve5no
export_csvLaunches, wallets or requests as CSV2yes
webhook_testSends a signed test eventfreeno

Resources: richtools://narratives/now, richtools://launch/last, richtools://fees. Prompts: plan-launch, review-token, defend-launch.

REST API

Everything the MCP server does is plain HTTPS under https://www.rich.tools/api/v1 with Authorization: Bearer rt_live_….

MethodPathScopeReturns
GET/mereadkey, scopes, grant, credits, fees, prices
GET/token/:chain/:mintreadscore, holders, clusters, flags, sources
GET/audit/:chain/:mintauditaudit id and first result
GET/audit/id/:idreadprogress; Accept: text/event-stream streams it
GET/narratives?chain=&window=readranked narratives with signal refs
GET/pnl?range=readlaunches, deployed, fee drag, unrealised
POST/launch/previewreadfee, wallets needed, supply, guard plan, warnings
POST/launch/createlaunchsignUrl, or unsigned transactions
GET/launchreadrecent launch drafts
GET/launch/:idreadstate, signature, mint
POST/launch/:id/submitlaunchreport signatures (signing: tx)
POST/wallet/createwalletregister an address, or a signUrl
GET/wallet/listreadpublic addresses
POST/wallet/fundfundsignUrl, or one unsigned transfer
GET/wallet/fund/:idreadstate, signature
POST/tradetradesignUrl for a multi-wallet buy or sell
GET/trade/:idreadstate, each wallet's result
GET/export.csv?what=exportlaunches | wallets | requests
POST/webhooks/testreadsends webhook.test
curl -s https://www.rich.tools/api/v1/token/solana/<mint> \
  -H "Authorization: Bearer rt_live_…"

curl -s -X POST https://www.rich.tools/api/v1/launch/create \
  -H "Authorization: Bearer rt_live_…" -H "content-type: application/json" \
  -d '{"name":"Example","symbol":"EXMPL","imageUrl":"https://…/logo.png","devBuySol":0.5,"signing":"url"}'

Errors always look like { "error": { "code", "message", "retryAfter"? } }. Codes: unauthorized (401), scope (403), validation (400), insufficient_credits (402, with topUpUrl), not_found (404), conflict (409), rate (429, with Retry-After), upstream (502). Failed calls are refunded.

Webhooks

Set a webhook URL on a key in Agents & API. rich.tools POSTs launch.confirmed, launch.failed, audit.completed, funding.settled and trade.settled with headers X-RT-Signature: sha256=…, X-RT-Timestamp, X-RT-Event and X-RT-Delivery. Anything but a 2xx is retried 5 times (30 s, 2 m, 10 m, 1 h, 6 h). Reject timestamps older than 5 minutes.

import { createHmac, timingSafeEqual } from "node:crypto";

// raw = the exact request body string, before JSON.parse
export function fromRichTools(raw: string, headers: Headers, secret: string) {
  const ts = headers.get("x-rt-timestamp") ?? "";
  const sig = headers.get("x-rt-signature") ?? "";
  if (Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false; // replay window: 5 minutes
  const want = "sha256=" + createHmac("sha256", secret).update(`${ts}.${raw}`).digest("hex");
  return want.length === sig.length && timingSafeEqual(Buffer.from(want), Buffer.from(sig));
}

Credits and limits

One credit is $0.15. Reads cost 1, audits 5, launch drafts 25, transfers 10, trade drafts 5, exports 2; status checks are free. Credits come from the same balance as Tekk and are bought in SOL. Each key has a daily credit cap you set, plus 60 reads and 10 writes a minute on Rich Pro.

API keys and MCP need Rich Pro or above. Rich Pro: 500 API credits a day across all keys, 3 keys. Whale: 1,500 and 5 keys, 120 reads and 20 writes a minute. Inner Circle: 5,000 and 10 keys, 240 reads and 40 writes a minute. If the membership lapses, calls answer plan (HTTP 402) with an upgrade link until it is renewed.

Launches made through an agent pay the same platform fee as anywhere else on rich.tools: 0.4% of the SOL deployed plus 0.02 SOL per wallet, shown on the sign page before you sign.

What agents can't do

  • Sign anything. Every transaction needs your wallet.
  • Use wallets that aren't yours. Side buys and transfers only go between wallets on your own account, and they show as yours on-chain.
  • Hide funding, route through third parties, or buy and sell wallets.
  • Invent numbers. A metric the source didn't return comes back as unknown, with its source named.