mcpField
S
Solana Pools X402

Solana Pools X402

Remote
github.comFinance0Updated 8w ago

About Solana Pools X402

Solana Pools X402 is a liquidity lookup API for AI agents that returns Solana DEX pool depth and trading metrics by token mint. It offers MCP access and x402 per-call payments in USDC on Base.

Key features

  1. 01Query Raydium, Orca, and Meteora pools
  2. 02Return TVL, volume, and fee tier
  3. 03Estimate slippage at 1%, 2%, and 5%
  4. 04Find the deepest pool by token mint
  5. 05Pay per call through x402

Use cases

  1. 01Estimate slippage before large swaps
  2. 02Compare DEX pool depth for a token
  3. 03Analyze liquidity for position planning

MCP support

A remote MCP server exposes a Solana pool liquidity lookup tool, allowing MCP clients to query pool data by mint. The API also supports per-call x402 payments in USDC on Base.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://solana-pools.api.klymax402.com/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

Details

From the project README

Solana Pool Liquidity Scanner API

MCP Server x402 License: MIT

Solana DEX pool liquidity depth -- TVL, slippage at 1/2/5%, volume, fee tier. Raydium, Orca, Meteora. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.

Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

{
  "mcpServers": {
    "solana-pools": {
      "url": "https://solana-pools.api.klymax402.com/mcp"
    }
  }
}

Quickstart -- HTTP (x402)

curl "https://solana-pools.api.klymax402.com/api/pool?mint=..."
# -> 402 Payment Required, with an x402 payment challenge in the response body

Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.

Tools

ToolMethodPathPriceDescription
solana_scan_pool_liquidityGET/api/pool$0.008Get liquidity depth for Solana DEX pools by token mint
solana_scan_pool_liquidityPOST/api/pool$0.008Get liquidity depth for Solana DEX pools by token mint (POST variant)
solana_scan_pool_liquidity

Use this when you need to check liquidity depth of a Solana DEX pool before trading. Returns TVL, slippage estimates, volume, and fee tier for pools matching a token mint.

Parameters

NameTypeRequiredDescription
mintstringyesSolana token mint address to look up pools for (e.g. So11111111111111111111111111111111111111112 for SOL).

Returns

  • pools -- array of DEX pools for the given token
  • depth -- slippage estimates at 1%, 2%, 5% trade sizes in USD
  • bestPool -- the pool with deepest liquidity
  • totalTvl -- combined TVL across all pools for this token

Example response:

{"pools":[{"dex":"Raydium","pairName":"SOL/USDC","tvlUsd":45000000,"volume24h":12000000,"feeTier":0.25,"poolAge":"342d"}],"depth":{"1pct":500000,"2pct":950000,"5pct":2100000},"bestPool":"Raydium SOL/USDC","totalTvl":62000000}

When to use: executing large swaps to estimate slippage. Essential for position sizing, liquidity analysis, and avoiding thin pools.

solana_scan_pool_liquidity

Use this when you need to check liquidity depth of a Solana DEX pool before trading. Returns TVL, slippage estimates, volume, and fee tier for pools matching a token mint. POST variant of solana_scan_pool_liquidity -- same params passed as JSON body instead of query string.

Parameters

NameTypeRequiredDescription
mintstringyesSolana token mint address to look up pools for (e.g. So11111111111111111111111111111111111111112 for SOL).

Returns

  • pools -- array of DEX pools for the given token
  • depth -- slippage estimates at 1%, 2%, 5% trade sizes in USD
  • bestPool -- the pool with deepest liquidity
  • totalTvl -- combined TVL across all pools for this token

Example response:

{"pools":[{"dex":"Raydium","pairName":"SOL/USDC","tvlUsd":45000000,"volume24h":12000000,"feeTier":0.25,"poolAge":"342d"}],"depth":{"1pct":500000,"2pct":950000,"5pct":2100000},"bestPool":"Raydium SOL/USDC","totalTvl":62000000}

When to use: executing large swaps to estimate slippage. Essential for position sizing, liquidity analysis, and avoiding thin pools.

Example agent prompts

  • "Check liquidity depth of a Solana DEX pool before trading"
  • "Check liquidity depth of a Solana DEX pool before trading"

Payment

  • Protocol: x402 -- HTTP-native pay-per-call, no signup, no API key
  • Network: Base L2 (eip155:8453)
  • Asset: USDC
  • Facilitator: Coinbase CDP (primary), PayAI (fallback)
  • Also reachable via ATXP (OAuth-wrapped x402, RFC 9728 protected-resource metadata)

Part of klymax402

100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.