solanaprox-mcp
Description: Pay-per-request access to Claude and GPT models via Solana USDC using a Phantom wallet address. No accounts, no API keys — wallet-native authentication.
README
SolanaProx MCP Server
Pay for AI inference with Solana. No API keys. Your wallet is your identity.
Connect Claude Desktop, Cursor, or any MCP-compatible AI tool to SolanaProx — pay per request using USDC or SOL directly from your Phantom wallet.
What is SolanaProx?
SolanaProx is an AI API gateway where your Phantom wallet is your account. Deposit USDC or SOL, make AI requests, pay per use. No signups. No subscriptions. No API key management.
Your Phantom Wallet → SolanaProx → Claude / GPT-4
↑ ↓
USDC balance AI response
Quick Start
1. Install the MCP server
npx solanaprox-mcp
2. Add to Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"solanaprox": {
"command": "npx",
"args": ["solanaprox-mcp"],
"env": {
"SOLANA_WALLET": "YOUR_PHANTOM_WALLET_ADDRESS"
}
}
}
}
3. Add to Cursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"solanaprox": {
"command": "npx",
"args": ["solanaprox-mcp"],
"env": {
"SOLANA_WALLET": "YOUR_PHANTOM_WALLET_ADDRESS"
}
}
}
}
4. Deposit USDC
Visit solanaprox.com, connect your Phantom wallet, and deposit USDC or SOL.
That's it. Claude can now make AI requests that pay automatically from your balance.
Tools
ask_ai
Send a prompt to Claude or GPT-4. Cost deducted automatically from wallet balance.
Input:
prompt (required) — your question or task
model (optional) — claude-sonnet-4-20250514 (default) | gpt-4-turbo
max_tokens (optional) — 1-4096, default 1024
system (optional) — system prompt for context
check_balance
Check your current USDC/SOL balance on SolanaProx.
Input:
wallet (optional) — defaults to configured SOLANA_WALLET
estimate_cost
Estimate request cost before making it.
Input:
prompt (required)
model (optional)
max_tokens (optional)
list_models
List all available models and pricing.
Pricing
| Model | Input | Output |
|---|---|---|
| Claude Sonnet 4 | $3.60/1M tokens | $18.00/1M tokens |
| GPT-4 Turbo | $12.00/1M tokens | $36.00/1M tokens |
Cached responses receive a 50% discount.
Typical request costs:
- Short question/answer: ~$0.001–0.003
- Code review (500 lines): ~$0.01–0.03
- Long document analysis: ~$0.05–0.15
Use Cases
Personal AI assistant with micropayments
Pay only for what you use. No $20/month subscription burning while you sleep.
Autonomous AI agents
AI agents that pay for their own inference — no hardcoded API keys, no human in the loop.
// Agent pays autonomously on every request
const res = await fetch("https://solanaprox.com/v1/messages", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Wallet-Address": process.env.SOLANA_WALLET,
},
body: JSON.stringify({
model: "claude-sonnet-4-20250514",
max_tokens: 1024,
messages: [{ role: "user", content: prompt }],
}),
});
Solana app integration
Let your app's users pay for AI features directly from their Phantom wallet. No backend payment processing required.
Environment Variables
| Variable | Required | Description |
|---|---|---|
SOLANA_WALLET |
✅ | Your Phantom wallet address |
SOLANAPROX_URL |
❌ | Override API URL (default: https://solanaprox.com) |
Standalone Agent Example
git clone https://github.com/solanaprox/mcp-server
cd mcp-server
npm install
# Run the research agent
SOLANA_WALLET=your_wallet node agent-example.js research "Solana DeFi trends 2026"
# Check balance
SOLANA_WALLET=your_wallet node agent-example.js balance
# Quick demo
SOLANA_WALLET=your_wallet node agent-example.js
Integration Examples
LangChain (Python)
Coming soon — or use the REST API directly.
Direct REST API
# Check balance
curl https://solanaprox.com/api/balance/YOUR_WALLET
# Make AI request
curl -X POST https://solanaprox.com/v1/messages \
-H "Content-Type: application/json" \
-H "X-Wallet-Address: YOUR_WALLET" \
-d '{
"model": "claude-sonnet-4-20250514",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello!"}]
}'
Security
- Your wallet address is used as an identifier — it's public by design on Solana
- Private keys never leave your wallet
- SolanaProx only reads incoming transactions to your deposit address
- Rate limiting and spend limits protect against runaway costs
- All transactions verifiable on Solscan
Links
- 🌐 solanaprox.com
- 📖 API Docs
- 🐦 Twitter/X
- ⚡ LightningProx — same product, Bitcoin Lightning payments
Built by LPX Digital Group LLC
Part of the LPX ecosystem:
- LightningProx — AI APIs via Bitcoin Lightning
- SolanaProx — AI APIs via Solana/USDC
- LPXPoly — AI-powered Polymarket analysis
- IsItARug — Solana token safety scanner
MIT License
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。