Castle Finance - Power DeFi Solana — Claude Code MCP server
Castle Finance - Power DeFi Solana connects your agent to Solana DeFi to query DEX pool metrics, simulate Jupiter slippage, and trigger swaps using pay-per-call x402 micropayments.
no license 1,304 installs updated 2026-07-11
claude mcp add --transport http defi https://castlefinance-defi.run.toolsWhat Castle Finance - Power DeFi Solana does
This remote MCP server interfaces directly with Solana decentralized markets. Free endpoints fetch liquidity and trading volumes from Raydium or Orca, alongside swap route slippage checks evaluated through Jupiter.
Executing token swaps or inspecting wallet balances requires micropayments. Every execution costs 0.001 USDC via the x402 protocol. The agent receives a challenge, signs it with a Solana wallet key, and submits the transaction proof.
Paid calls fail immediately without a funded Solana keypair to sign the challenge. Setup requires no local binary installation because tools run over a remote HTTP endpoint.
What it helps with
- inspect liquidity and volume across Raydium or Orca pools
- calculate expected slippage through Jupiter aggregator
- execute token swaps on Solana with per-call x402 micropayments
- fetch balances for arbitrary Solana wallet addresses
Example prompts for the agent
- Search for SOL liquidity pools on Raydium and show their TVL.
- Check the expected slippage when swapping 5 SOL for USDC via Jupiter.
- Inspect token balances for wallet address 7xKXtg on Solana.
How to install Castle Finance - Power DeFi Solana
Platform CLI: remote server
claude mcp add --transport http defi https://castlefinance-defi.run.toolsPlatform CLI: remote server
codex mcp add castle-finance-power-defi-solana --url https://castlefinance-defi.run.toolsConfig file
{
"mcpServers": {
"castle-finance-power-defi-solana": {
"url": "https://castlefinance-defi.run.tools"
}
}
}Config file
{
"servers": {
"castle-finance-power-defi-solana": {
"type": "http",
"url": "https://castlefinance-defi.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http castle-finance-power-defi-solana https://castlefinance-defi.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Castle Finance - Power DeFi Solana
How to install Castle Finance - Power DeFi Solana in Claude Code?
Run claude mcp add --transport http defi https://castlefinance-defi.run.tools to register the remote server.
What does Castle Finance - Power DeFi Solana do?
It provides agent tools for querying Solana DEX markets and executing transactions. Pool scanning and slippage calculation are free, while swaps and balance checks cost 0.001 USDC per call.
How do x402 micropayments work for paid tools?
When invoking a paid tool, the server returns an authorization challenge. You send 0.001 USDC to the treasury wallet, sign the challenge with your Solana key, and resubmit the proof.