About Solana Clawd
Solana Clawd is an MCP server published by x402agent in the Blockchain category: open-source Solana AI agent framework — Claude Code architecture × Solana. MCP-native, no private key required. Conduid read 130 tools from its source: agentkit_list_agents, agentkit_runtime_profile, amm_build_order_tx, amm_execute_order, amm_get_aggregated_positions, amm_get_funding and 124 more. No package is published for it, so it installs from a source checkout.
The repository has 26 stars and 23 forks, and its last commit was on 3 Jun 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include blockchain.
Install
git clone https://github.com/x402agent/solana-clawdTools (130)
agentkit_list_agents[Agent Kit] List Solana Clawd agents through the local @solana-clawd/agent-kit packageagentkit_runtime_profile[Agent Kit] Build a runtime profile for a local agent identifier, including catalog entry, templates, and manifest dataamm_build_order_txBuild a paper-safe order transaction payload.amm_execute_orderExecute an order. Defaults to paper mode unless live execution is explicitly enabled.amm_get_aggregated_positionsFetch netted positions and liquidation risk bands for a wallet.amm_get_fundingGet funding rates across enabled venues for a symbol.amm_get_marksGet mark prices across enabled venues for a symbol.amm_get_orderbookGet a venue orderbook when supported. Phoenix is the default.amm_get_poolsGet AMM pool state, per-side capacity, utilization, predicted funding, borrow rates, and health by venue.amm_get_positionsFetch raw cross-venue positions for a wallet.amm_get_quoteQuote all enabled venues for a symbol, side, and notional.amm_healthReturn safety config and enabled venue status.amm_liquidation_risksReturn non-low liquidation risks for a wallet.amm_list_marketsList markets across enabled venues.amm_list_venuesList enabled AMM/perps venues.amm_route_tradeBuild the best route plan for a trade.amm_route_trade_splitBuild a pool-aware split route across AMM/perps venues when marginal cost or capacity demands it.amm_score_marketScore a market across venues using quote, funding, liquidity, and slippage.amm_simulate_orderSimulate margin, risk, fees, slippage, and route acceptance.build_amm_depositBuild instructions to deposit liquidity into a PumpAMM poolbuild_amm_swapBuild swap instructions for graduated tokens on PumpAMM (buy or sell)build_amm_withdrawBuild instructions to withdraw liquidity from a PumpAMM poolbuild_buy_instructionsBuild transaction instructions to buy tokens on the bonding curve with SOLbuild_claim_cashbackBuild instructions to claim accumulated cashback rewardsbuild_claim_incentivesBuild instructions to claim token incentives from both Pump and PumpAMM programsbuild_claim_shareBuild instructions to distribute accumulated fees to all shareholdersbuild_collect_creator_feesBuild instructions for a creator to collect accumulated fees from both Pump and PumpAMMbuild_create_and_buyBuild instructions to launch a new token AND make the initial buy in a single transactionbuild_create_fee_sharingBuild instructions to create a fee sharing config for a token (enables revenue sharing)build_create_tokenBuild instructions to launch a new token on PumpFun with createV2build_distribute_feesBuild instructions to distribute accumulated fees to all shareholdersbuild_migrate_instructionsBuild instructions to migrate (graduate) a token from bonding curve to PumpAMMbuild_revoke_adminBuild instructions to permanently lock fee sharing config (irreversible!)build_sell_instructionsBuild transaction instructions to sell tokens back to the bonding curve for SOLbuild_update_fee_sharesBuild instructions to update shareholder allocation (BPS must total 10000)build_update_shareholdersBuild instructions to update fee sharing shareholders and their BPS allocationsclawd_holder_checkCheck CLAWD token holder status for a wallet. Returns balance, discount tier (Bronze/Silver/Gold/Platinum), and active x402 fee reduction. Holders get reduced x402 facilitator fees.compute_unit_optimizerCalculate compute unit usage and fee estimates for SPL Token vs P-Token for any transaction profile. Shows exactly how much you save by using p-token on Solana Clawd x402 payments.deep_clawd_analyze[Deep Clawd] Analyze a specific token or trade idea using the DeepSeek agent. Returns structured analysis with confidence score, entry zone, risk assessment, and recommended action. Supports mint addresses, symbols, or raw trade ideas.deep_clawd_backtest[Deep Clawd] Run a quick backtest simulation. Checks how the current strategy would have performed against recent market data (last 7 days). Returns simulated P&L, win rate, max drawdown, and trade count. Results are saved to ~/.openclawd/deep-clawd/backtests/.deep_clawd_portfolio[Deep Clawd] Show Deep Clawd's tracked portfolio: active positions, entry prices, current P&L, and performance metrics. Positions are read from ~/.openclawd/deep-clawd/portfolio.json.deep_clawd_status[Deep Clawd] Full agent status: DeepSeek API key presence, dFlow routing mode, position count, strategy summary, and last tick timestamp. Use this to check if the Deep Clawd agent is ready before dispatching tasks.deep_clawd_strategy[Deep Clawd] Read or update the agent's trading strategy parameters. With no arguments, shows current strategy. Pass parameters to update them. Strategy is persisted in ~/.openclawd/deep-clawd/strategy.json.deep_clawd_tick[Deep Clawd] Run one full analysis/tick cycle. Blocks for ~10-20s. The agent pulls market data, runs its LLM inference (DeepSeek V4), updates its state file, and returns a structured tick summary with signals, decisions, and portfolio impact. Cost: ~$0.0005 in DeepSeek API fees per tick.deleteDelete documents or vault pages from the knowledge vault.
Provide a path to delete a single file, or a glob pattern to delete multiple.
Examples:
- `path="old-notes.md"` — delete a single file
- `path="/wiki/drafts/*"` — delete all files in a folder
- `path="/wiki/**"` — delete the entire vault research tree
Note: overview.md and log.md are structural pages and cannot be deleted.
Returns a list of deleted files. This action cannot be undone.estimate_vanity_timeEstimate how long it will take to generate a vanity address with a given patterngateway_health[Gateway] Check the connected Solana Clawd gateway health endpointgateway_registry[Gateway] Read the public agent registry exposed by the connected gatewaygateway_skill_catalog[Gateway] Read the Skill Hub catalog exposed by the connected gatewaygenerate_keypairGenerate a new Solana keypair (Ed25519). Key material is zeroized after return.generate_vanity_addressGenerate a Solana keypair with a vanity prefix and/or suffix patternget_amm_poolGet PumpAMM pool state for a graduated token: reserves, LP supply, mint addressesget_amm_priceGet the current token price derived from AMM pool reservesget_amm_quoteGet a quote for trading a graduated token on PumpAMMget_amm_reservesGet current pool reserves in both token and SOL unitsget_bonding_curve_stateGet raw bonding curve account data: reserves, supply, completion status, creatorget_bonding_curve_summaryGet a comprehensive summary of a token's bonding curve: reserves, market cap, price, graduation progressget_buy_quoteCalculate how many tokens you receive for a given SOL amount on the bonding curveget_creator_profileGet creator profile including vault balance and fee earningsget_creator_vault_balanceCheck how much SOL a creator has accumulated in their fee vault across both programsget_current_day_tokensPreview the current day's projected token incentive earningsget_distributable_amountCheck the current distributable fee balance for a token's shareholdersget_fee_breakdownDecompose fees for a specific trade amount into platform, creator, and referral componentsget_fee_sharing_configGet the fee sharing configuration for a tokenget_fee_tierGet the current fee tier (buy/sell fee percentages) based on token market capget_graduation_progressCheck how close a token is to graduating from bonding curve to AMM poolget_graduation_statusCheck whether a token has graduated to AMM and its progress percentageget_market_capGet the current market cap of a token on the bonding curve in SOLget_minimum_distributable_feeCheck the minimum fee threshold required before distribution to shareholdersget_price_impactCalculate the price impact percentage of a buy or sell tradeget_recent_tradesGet guidance on fetching recent trades from transaction historyget_sell_quoteCalculate how much SOL you receive for selling a given number of tokensget_shareholdersList current shareholders and their fee share percentages for a tokenget_sol_usd_priceGet the current SOL/USD price from Jupiter Price APIget_token_holdersGet holder information for a token (guidance for RPC query)get_token_infoGet token information: creator, market cap, reserves, graduation statusget_token_metadata_uriGet guidance on fetching a token's metadata URI from Metaplexget_token_priceGet the current buy and sell price per token, including spreadget_token_socialsGet guidance on extracting social links from token metadataget_unclaimed_tokensCheck how many PUMP token incentives a user has unclaimed across both programsget_volume_statsGet aggregate volume accumulator stats for a user (total volume, claimed, unclaimed)guideGet started with Clawd Vault. Call this to understand the Solana research workflow and see your available knowledge bases.integration_status[Integration] Verify MCP visibility into agent-kit, gateway, sdk, x402, agents, Leviathan, Deep Clawd, packages/*, perps, and service packagesleviathan_journalRead recent Leviathan SENSE→THINK→STRIKE→DRIFT journal entries. Each entry records what the agent observed, decided, and did.leviathan_shell_readRead the Leviathan agent's SHELL.md working memory file. SHELL.md is the agent's persistent context — it writes observations, hypotheses, and strategies here between ticks.leviathan_shell_writeAppend an observation or note to the Leviathan agent's SHELL.md. Use this to inject context into the agent's working memory before a tick.leviathan_statusRead the current Leviathan autonomous agent state: depth tier, tick count, last activity, wallet balance, and the first 500 chars of SHELL.md (working memory).leviathan_three_lawsPrint the Three Laws of Solana Clawd — the constitutional constraints that govern all Leviathan agents. These cannot be overridden by config.leviathan_tick_requestWrite a tick request file that signals the running Leviathan loop to execute one OODA tick. The loop polls for this file every second. Returns immediately — the tick runs asynchronously.market_regimeDetect current Solana market regime: BULL / BEAR / CRAB / PUMP / CRASH. Uses SOL + BTC price action, volume, and volatility indicators. Premium: $0.0003 per call.market_signalComposite Solana market signal: aggregates SOL price, top trending tokens, Pump.fun new launches, and momentum indicators into one STRONG/MODERATE/WEAK signal with a top-3 opportunity list. Saves you 3+ separate tool calls. Premium: $0.0005 per call.ooda_actRun the ACT phase: record a completed OODA action to the Leviathan journal and append a DRIFT note to SHELL.md. This closes the loop.ooda_decideRun the DECIDE phase: format a structured decision block from an orientation analysis. Returns a DECISION with action, confidence, stop-loss, and rationale.ooda_observeRun the OBSERVE phase of the OODA loop: pull live Solana market signals (SOL price, top 10 trending tokens, Pump.fun new launches) and combine with any Leviathan SHELL.md context. Returns a structured observation block.ooda_orientRun the ORIENT phase: given an observation block, generate a structured orientation analysis. Cross-references against recent journal entries and extracts signal, regime, and risk assessment.perps_build_deposit_txBuild a sponsored deposit or withdraw tx (base64). Caller signs and submits.perps_build_order_txBuild the on-wire order payload (and route plan) without submitting. Safe to call without live mode.perps_execute_orderExecute an order. Paper-first by default — submits a real on-chain order only when IMPERIAL_LIVE=true and PERPS_AGG_PAPER!=true.perps_get_balancesUSDC subaccount balances across profile indices (requires IMPERIAL_JWT).perps_get_fundingFunding + borrow rates per venue. Positive long rate = longs pay shorts.perps_get_marksCurrent mark prices across all venues for a symbol or all symbols.perps_get_poolsAMM pool state per venue for a symbol: per-side utilization, capacity, OI skew, borrow rates, predicted funding, pool-health score.perps_get_positionsAggregated cross-venue positions for a wallet, with totals.perps_get_quoteQuote a market order across all enabled venues. Returns per-venue expected price, slippage, fee, and funding cost.perps_liquidation_risksLiquidation distance per open position, sorted most-at-risk first.perps_list_marketsList perps markets across all venues, optionally filtered by symbol.perps_list_venuesList Solana perps venues enabled in this aggregator.perps_route_tradeSmart-order-route a perps trade and return the chosen venue with full candidate breakdown and rationale.perps_route_trade_splitSplit-execution router: fans the order across venues when AMM capacity or slippage demands it. Always returns one route plan with one or more legs and a rationale.perps_score_marketRealtime composite market score for (symbol, venue): momentum + funding + liquidity.perps_simulate_orderSimulate an order: routes, checks fillability, fees, slippage, and policy caps.perps_stream_snapshotSnapshot the realtime market cache (marks, funding, books). Starts the stream lazily.readRead document content from the knowledge vault.
Accepts a single file path OR a glob pattern to batch-read multiple files:
- `path="notes.md"` — read one file
- `path="*.md"` — read all markdown files in root
- `path="/wiki/**"` — read all vault pages
- `path="**/*.md"` — read all markdown files everywhere
Batch reads are the PREFERRED way to read multiple documents at once — use them generously.
Glob reads sample the first few pages from each document (including PDFs) up to a 120k char budget. This gives you a broad overview of an entire folder in one call. Read individual files for full content.
For PDFs and office docs, use `pages` to read specific page ranges (e.g. '1-50', '3', '10-30').
You can read up to 50+ pages in a single call — use wide ranges to avoid unnecessary round trips.
For spreadsheets, each sheet is a page (call without pages first to see sheet names).
Set `include_images=true` to include embedded images (e.g. figures in PDFs, standalone image files). Off by default to save context — enable when you need to see charts, diagrams, or photos.
When reading sources to compile vault pages, note the filename and page ranges for citation.restore_keypairRestore a Solana keypair from a 64-byte secret key arraysearchBrowse or search the knowledge vault.
Sources (raw documents) live at `/`. Vault pages (LLM-compiled research) live at `/wiki/`.
Modes:
- list: browse files and folders
- search: keyword search across document content (searches chunks for precise results with page numbers)
Use `path` to scope: `*` for root, `/wiki/**` for vault pages only, `*.pdf` for PDFs, etc.
Use `tags` to filter by document tags.search_tokensSearch PumpFun tokens by name or symbol (provides guidance for external APIs)sign_messageSign an arbitrary message with a private key (Ed25519 detached signature). Key is zeroized after use.smart_money_flowTrack 'smart money' flow across multiple Solana wallets simultaneously. Returns what each wallet holds, their PnL, and whether flow is bullish or bearish. Up to 5 wallets in one call. Premium: $0.001 per call.token_heat_mapGenerate a text heat map of Solana market momentum: tokens bucketed by 24h change into HOT / WARM / COOL / COLD / CRASHED. Quick visual of market breadth.validate_addressCheck if a string is a valid Solana address and whether it's on-curve or a PDAverify_signatureVerify an Ed25519 message signature against a Solana public keywriteCreate or edit notes and vault pages in the knowledge vault.
Vault pages should be created under `/wiki/` and should cite their sources using markdown footnotes (e.g. `[^1]: paper.pdf, p.3`).
Use this for token dossiers, protocol pages, wallet profiles, strategy memos, and research assets.
You can also create SVG diagrams and CSV data files as vault assets:
- `write(command="create", path="/wiki/", title="liquidity-map.svg", content="<svg>...</svg>", tags=["diagram"])`
- `write(command="create", path="/wiki/", title="holder-distribution.csv", content="wallet,pct\nA,12.3", tags=["data"])`
SVGs and other assets can be embedded in vault pages via ``
Commands:
- create: create a new page (title and tags are REQUIRED)
- str_replace: replace exact text in an existing page (read first)
- append: add content to the end of an existing pagex402_billing_statusShow current MCP session billing status: how much has been charged, remaining budget, and which premium tools were used.x402_facilitator_pingPing pay.solanaclawd.com to check relay health, current network, and p-token support status.x402_payment_historyShow persistent x402 payment history from ~/.config/solana-claude/x402-payments.jsonl. Includes MCP session charges, manual payments, and facilitator settlements.x402_ptoken_statsP-Token CU savings report: compute the total CU and fee savings across all recorded x402 payments that used p-token. Shows real-time economic impact.x402_session_closeClose a metered stream session and compute the final bill. Returns exact cost for tokens consumed — agents never overpay for unused authorisation.x402_session_meterRecord tokens consumed against an open metered session. Returns running total and cost. In streamed mode, triggers a settlement checkpoint every 50 tokens.x402_session_openOpen a p-token metered stream session. Returns a sessionId and MeterChallenge that the agent pre-authorises. Tokens consumed are billed via x402_session_meter and settled at x402_session_close. This is the per-output-token billing model made viable by p-token's 98% CU reduction.x402_statusFull x402 payment protocol status: wallet config, p-token program, CU savings, session budget, pay.solanaclawd.com facilitator, and CLAWD discount eligibility.Security checks
- ✓README presentThe repository's README runs to about 11K words.
5 checks have not been run yet.
README
The repository's README runs to about 11K words. The original in the repository is authoritative.
Read full README