Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"obol": {
"env": {
"OBOL_URL": "https://obol-production.up.railway.app"
},
"args": [
"-y",
"obol-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Obol is a pay-per-use Solana API for AI agents. No API keys, no subscriptions — agents pay per request in USDC using the x402 payment protocol. Solana's sub-cent transaction costs make micropayments viable for the first time.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'obol-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked obol-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
MCP server for QuickBooks Online — accounts, customers, invoices, bills, and reports.
Let AI agents create, discover, and track tokens across chains via Printr.
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
Batch send SOL or any SPL token to 1000+ wallets via x402. AI agent payments on Solana.
MCP Security Weekly
Get CVE alerts and security updates for io.github.halfkey/obol and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Pay the ferryman. Solana agent gateway via x402.
Obol is a pay-per-use Solana API for AI agents. No API keys, no subscriptions — agents pay per request in USDC using the x402 payment protocol. Solana's sub-cent transaction costs make micropayments viable for the first time.
Named after the coin placed on the tongue of the dead to pay Charon for passage across the River Styx. The original micropayment.
X-PAYMENT headerNo accounts. No tokens. No onboarding. Just pay and go.
| Endpoint | Price | Description |
|---|---|---|
GET /api/v1/wallet/:addr/overview | $0.01 | SOL balance, token count, total value |
GET /api/v1/wallet/:addr/portfolio | $0.05 | Full holdings with prices, NFTs, breakdown |
GET /api/v1/wallet/:addr/activity | $0.05 | Transaction history with categorization |
GET /api/v1/wallet/:addr/risk | $0.10 | Multi-factor risk assessment |
GET /api/v1/wallet/:addr/pnl | $0.15 | Token flow analysis, current values, P&L |
| Endpoint | Price | Description |
|---|---|---|
GET /api/v1/token/:mint/price | $0.005 | Real-time price via Jupiter |
GET /api/v1/token/:mint/metadata | $0.01 | Name, symbol, supply, decimals |
| Endpoint | Price | Description |
|---|---|---|
GET /api/v1/defi/swap/quote | $0.005 | Jupiter swap quote with route planning |
POST /api/v1/defi/swap/execute | $0.25 | Jupiter swap transaction builder |
GET /api/v1/defi/positions/:addr | $0.10 | DeFi positions — LSTs, LPs, lending |
GET /api/v1/defi/lst/yields | $0.02 | LST yield comparison across Solana |
| Endpoint | Description |
|---|---|
GET / | API info and pricing |
GET /health | Service status |
POST /api/v1/rpc | Proxied Helius RPC (allowlisted methods) |
See examples/agent-client.ts for a full reference implementation. The key flow:
import { ObolAgent } from './examples/agent-client';
const agent = new ObolAgent();
await agent.discover(); // fetch pricing
agent.loadWallet(process.env.AGENT_PRIVATE_KEY);
// Auto-discovers price, pays, and returns data
const price = await agent.fetch('/api/v1/token/USDC_MINT/price');
Run in discovery-only mode (no wallet needed):
npx tsx examples/agent-client.ts
Obol ships as an MCP server — any AI agent that supports the Model Context Protocol can discover and call Obol's tools natively.
npm install -g obol-mcp
Add to your MCP config:
{
"mcpServers": {
"obol": {
"command": "npx",
"args": ["-y", "obol-mcp"],
"env": {
"OBOL_URL": "https://obol-production.up.railway.app"
}
}
}
}
Or if developing locally:
{
"mcpServers": {
"obol": {
"command": "npx",
"args": ["tsx", "/path/to/obol/src/mcp.ts"],
"env": {
"OBOL_URL": "http://localhost:3000"
}
}
}
}
| Tool | Description |
|---|---|
obol_wallet_overview | SOL balance, token count, total value |
obol_wallet_portfolio | Full holdings with prices and breakdown |
obol_wallet_activity | Transaction history with categorization |
obol_wallet_risk | Multi-factor risk assessment |
obol_wallet_pnl | Token flow analysis and P&L |
obol_token_price | Real-time price via Jupiter |
obol_token_metadata | Name, symbol, supply, decimals |
obol_swap_quote | Jupiter swap quote with routing |
obol_swap_execute | Bu |