veritail-solana
Integrates with Solana Mainnet JSON-RPC to inspect SPL Token and Token-2022 mint accounts, authorities/extensions, holder concentration, and wallet balances for due-diligence and pre-trade guardrail workflows.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
VeriTail — Solana Long-Tail Due-Diligence & Pre-Trade Guardrail AI Agent
Evidence-grounded Solana long-tail token intelligence, deterministic pre-swap guardrails (
PASS/WARN/BLOCK), autonomous DEX pool scouting, wallet auditing, and MCP server — with zero npm runtime dependencies and out-of-the-box zero-key execution.
Data powered by CoinGecko API & Solana Mainnet JSON-RPC.
Why VeriTail?
Long-tail tokens on Solana launch in seconds, and traders, analysts, and autonomous swap agents face rampant execution risks every day:
Unrenounced SPL Mint Authorities (infinite supply dilution) and Freeze Authorities (post-buy honeypot account freezing)
Dangerous Token-2022 extensions (
PermanentDelegate,DefaultAccountState = Frozen,TransferFeeConfig)Thin liquidity pools where a modest trade causes severe AMM slippage or stale/manipulated quote divergence against CoinGecko spot prices
Wash-traded turnover and extreme holder concentration
VeriTail solves this with a strict Zero-Hallucination & Machine-Verifiable Provenance rule: every single numeric claim in its memos, guardrail decisions, and MCP responses records [source_url, fetched_at, json_path]. Whenever an upstream endpoint (such as public Solana RPC getTokenLargestAccounts) rate-limits or omits data, VeriTail reports null plus the exact status instead of inventing or extrapolating numbers.
Related MCP server: SolRadar MCP Server
3-Command Quickstart
Requires Node.js >= 22.18 (uses Node's native TypeScript execution with zero npm install or build steps required!).
git clone https://github.com/wwwaang3/veritail-solana-agent.git
cd veritail-solana-agent
npm startOpen http://127.0.0.1:3088 in your browser, or run the test suite & CLI immediately:
npm test # Unit, binary SPL Mint, MCP stdio & live API smoke tests
node src/cli.ts dd JUP # Token due-diligence memo + provenance citations
node src/cli.ts guardrail BONK 2500 # Deterministic pre-swap PASS/WARN/BLOCK guardrail
node src/cli.ts scout 25000 8 # Autonomous trending + new Solana pool scanner
node src/cli.ts move JUP # Forensic OHLCV & order-flow price-move analyzer
node src/cli.ts wallet <SOLANA_PUBKEY> # Live SPL + Token-2022 wallet exposure auditLive UI Walkthrough
1. Token Due-Diligence & Provenance Citations

2. Deterministic Pre-Trade Guardrail Gate (PASS / WARN / BLOCK)

3. Autonomous Long-Tail Solana Pool Scout

4. Solana Wallet Audit & Live MCP JSON-RPC 2.0 Playground

Architecture
flowchart LR
U["Web UI / CLI / AI Agent (MCP Stdio)"] --> E["VeriTail Agent Engine (6 Workflows)"]
E --> CG["CoinGecko Dual-Mode Client"]
E --> RPC["Solana Mainnet JSON-RPC Client"]
CG -->|"Zero-Key Default"| PubCG["api.coingecko.com/api/v3 + api.geckoterminal.com/api/v2"]
CG -->|"When COINGECKO_API_KEY set"| ProCG["pro-api.coingecko.com/api/v3 (+ /onchain)"]
RPC -->|"Binary 82B + Token-2022 TLV"| Mainnet["Solana Mainnet RPC (getAccountInfo, getTokenLargestAccounts, getTokenAccountsByOwner)"]
E --> Prov["CitationCollector -> ProvenanceClaim[] [sourceUrl, fetchedAt, jsonPath]"]Core Modules
src/coingecko/client.ts: Dual-mode CoinGecko + GeckoTerminal client with automatic zero-key Public mode andCOINGECKO_API_KEYAnalyst/Pro auto-upgrade (x-cg-pro-api-key), TTL in-memory cache, request coalescing, polite rate pacing, and 429 exponential backoff.src/solana/rpc.ts: Pure TypeScript Base58 codec + canonical 82-byte binary SPL Token Mint decoder + Token-2022 TLV extension parser (PermanentDelegate,DefaultAccountState,TransferFeeConfig,MintCloseAuthority,TransferHook), plusgetTokenLargestAccountsandgetTokenAccountsByOwnerwallet reader.src/agent/engine.ts: Six complete autonomous workflows (dueDiligenceMemo,evaluateTradeGuardrail,scoutLongtailPools,explainPriceMove,auditSolanaWallet,listEvidenceSources).src/mcp/server.ts: JSON-RPC 2.0 MCP stdio server (auto-detecting newline-delimited JSON-RPC andContent-Lengthframing) exposing all 6 workflows.src/server.ts&public/: Fast HTTP REST + MCP server and 4-tab dark mission-control web UI.
MCP Integration (.mcp.json)
Add VeriTail directly to Claude Code, Cursor, or Antigravity via stdio MCP:
{
"mcpServers": {
"veritail-solana": {
"command": "node",
"args": ["src/mcp/server.ts"],
"cwd": "/path/to/veritail-solana-agent",
"env": {
"COINGECKO_API_KEY": "",
"SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com"
}
}
}
}Exposed MCP Tools
Tool | Inputs | Output |
|
| Risk score (0–100), SPL Mint authorities, DEX pools, comparables, memo & citations |
|
|
|
|
| Ranked Solana trending + new pools checked against on-chain Mint safety |
|
| 24h hourly OHLCV range, volume spike hour, buy/sell flow & SOL ecosystem beta comparison |
|
| Priced native SOL + SPL/Token-2022 balances, long-tail & unpriced alerts, rebalance brief |
| (none) | Active CoinGecko API tier, Solana slot health, cache stats & endpoint inventory |
CoinGecko API Endpoint Inventory
VeriTail runs out of the box with zero API key (api.coingecko.com/api/v3 + api.geckoterminal.com/api/v2) and automatically upgrades to CoinGecko Analyst/Pro (https://pro-api.coingecko.com/api/v3 + /onchain with x-cg-pro-api-key) when COINGECKO_API_KEY is configured (see .env.example):
Workflow | Endpoint | Role |
Token Resolution |
| Resolves tickers or obscure long-tail pairs to canonical SPL mints |
Due Diligence |
| Spot USD, market cap, FDV, rank, categories & Solana peer benchmarks |
On-Chain DEX Pools |
| Live pool reserves, spread vs CoinGecko spot, 1h/6h/24h volume & tx counts |
Pool Scout |
| Discovers high-velocity and newly launched Solana pools |
Price-Move Forensic |
| 24h hourly candles, volatility range & volume spike attribution |
Wallet Batch Pricing |
| Batch-prices up to 30 SPL mints per request with pool reserve depth |
Health |
| Verifies CoinGecko API availability & active tier |
Data powered by CoinGecko API.
Solana Mainnet JSON-RPC Integration
Default endpoint: https://api.mainnet-beta.solana.com (override with SOLANA_RPC_URL for dedicated RPCs such as Helius, QuickNode, or Triton).
getAccountInfo(base64): Decodes raw 82-byte SPL Token Mint state (mintAuthorityOption,mintAuthority,u64 supply,u8 decimals,isInitialized,freezeAuthorityOption,freezeAuthority) plus Token-2022 TLV extensions (PermanentDelegate,DefaultAccountState,TransferFeeConfig,MintCloseAuthority,TransferHook).getTokenLargestAccounts: Computes top-1 / top-5 / top-10 / top-20 concentration percentages against rawBigIntsupply, gracefully reportingnull(rate_limited) if the public RPC node throttles requests.getBalance&getTokenAccountsByOwner(jsonParsed): Reads live native SOL + both SPL Token and Token-2022 balances for wallet risk auditing.getSlot: Live cluster liveness telemetry in UI andlist_evidence_sources.
License
Released under the MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Solana on-chain intelligence — token scans, wallet profiling, bundle detection, 19 MCP tools.
Native Solana staking for AI agents. 26 MCP tools, one-shot signing, webhooks.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server giving AI agents access to Solana blockchain data. 7 tools: wallet balances, transaction history, token prices (Jupiter + CoinGecko), token metadata, DeFi yields (Raydium + Orca), and token safety checks (RugCheck scores, holder concentration, insider detection).82,350 PyPI1MIT
- AlicenseNot gradedqualityDmaintenanceExposes Solana meme-coin safety data as MCP tools, enabling AI assistants to check token trust scores, rug-risk flags, holder analysis, and trending tokens directly in conversation.ISC
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to analyze Solana wallets for realized PnL, win rate, trading cadence, and smart-money, bot, or exchange-like flags, plus screen trending tokens for liquidity, volume, and rug risk. Exposes wallet quick checks, full profiles, free previews, and trending-token scans as MCP tools.MIT

aetherofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to scan tokens, inspect contract security and holder concentration, analyze wallet and sector capital flow, check macro regime, and validate watch conditions across Solana, Base, Ethereum, and Robinhood Chain through MCP tools.MIT