# Solana risk checks for agents

Choose a pool liquidity check, real Orca LP-position report or pre-swap risk check. Connect over MCP or REST with the right inputs and account access.

## Choose by the user’s question

- [Check Solana pool risk and liquidity](https://dexra.dev/guides/solana-pool-risk)

Use a pool account for depth, slippage and liquidity history. Compare a hypothetical concentrated range without confusing it with a real LP position.

- [Check a real Orca LP position](https://dexra.dev/guides/orca-lp-position)

Read an Orca Position account for range state, principal and unclaimed gross fees. Understand coverage, freshness and the difference from a centered range.

- [Check risk before a Solana swap](https://dexra.dev/guides/solana-swap-preflight)

Send a token mint, side and amount to inspect route impact, historical sandwich exposure and token controls before a swap, without signing or executing it.

Dexra exposes read-only Solana analysis over MCP and REST. Use `pool_health` for a pool account, `clmm_range_stats` for a hypothetical centered range, `lp_position_check` for a real Orca Position account, and `swap_preflight` for a token mint and proposed buy/sell amount. These inputs are not interchangeable.

## When to use another source

These checks do not execute trades, control wallets, analyze EVM pools, compute lifetime position PnL or guarantee future returns or safety. Unsupported programs and missing observations need an explicit limitation or another source. Preserve `unknown`, `unverified` and partial coverage in the answer to the user.

Use the response timestamp and coverage rather than treating an old report as current. Each guide explains its limits. [Launch accuracy](https://dexra.dev/accuracy) describes historical launch outcomes; it does not validate every pool, LP position or swap.

## Account, cost and connection

Register at [dexra.dev/signup](https://dexra.dev/signup), confirm your email and create an API key in the account. Send `Authorization: Bearer $DEXRA_API_KEY` or `X-Api-Key` for analytical calls. The zero-credit `describe_address` still requires an account. Only `service_stats` and `score_performance` are anonymous public reports.

Pool, range, position and swap checks use account credits. Each task guide shows current per-call prices and requests from the public catalog; [credits and x402 payments](https://dexra.dev/docs/paying) and [account limits](https://dexra.dev/docs/limits) apply. x402 pay-per-call also requires an account key. Reading this guide does not run an analysis.

```sh
claude mcp add --transport http dexra https://api.dexra.dev/mcp \
  --header "Authorization: Bearer $DEXRA_API_KEY"
```

Set `DEXRA_API_KEY` locally; keep the value out of shared prompts and files. Connect through a client that supports Streamable HTTP, then use its normal `initialize`, `tools/list` and `tools/call` flow. The request bodies below are tool-call examples, not a separate protocol. See [MCP setup](https://dexra.dev/docs/mcp) and [REST setup](https://dexra.dev/docs/rest).

## Use the source contracts

[Tool reference](https://dexra.dev/docs/tools) · [Public MCP card](https://api.dexra.dev/.well-known/mcp.json) · [OpenAPI](https://api.dexra.dev/openapi.json) · [Responses and errors](https://dexra.dev/docs/responses)

For a reusable task-routing workflow, see the [agent skill source](https://github.com/dexra-dev/mcp/tree/13c3da1e29f18cabdea74cba286b7753608f2760/skills/dexra-solana-risk). A skill supplies instructions; it does not configure MCP, create an account or grant permission to spend credits.

[Read this page as Markdown](https://dexra.dev/agents.md). Automated observations inform the user’s decision; they are not financial advice.

Source: https://dexra.dev/agents
