# Chain Data Agent

> On-chain data for AI agents, computed live from public chain state.
> Paid endpoints use x402: call the endpoint, receive HTTP 402 with payment
> requirements, retry with a PAYMENT-SIGNATURE header. No signup or API key.

Data covered: Solana validator stats.

## Questions this answers
- Check a Solana validator before staking: Judge one validator's performance and fees against the rest of the network.

## Use it from an AI assistant
Add the remote MCP server `https://chain-data-agent.wangzuo305.workers.dev/mcp` to an assistant that supports MCP connectors
(Claude, ChatGPT, Cursor, Codex and others), then ask in plain language. There is
nothing to sign up for. Summary tools are free, and each client gets
3 free paid-tool calls a day; after that a call costs $0.001 to $0.002 in USDC via x402.

## Docs
- [API overview](/docs/index.md): datasets, endpoints, prices, attribution
- [Dataset catalog](/v1/datasets): machine-readable JSON catalog
- [OpenAPI spec](/openapi.json): every endpoint, with x402 prices in `x-x402`
- [x402 manifest](/.well-known/x402): paid resources with full payment details
- [MCP server](/mcp): Streamable HTTP MCP endpoint; every endpoint is also a tool,
  paid tools use the x402 MCP transport (`_meta["x402/payment"]`)
- Missing data? The free MCP tool `request_data`, or POST /v1/data-requests with
  `{"request": "...", "use_case": "..."}`, tells the maintainers what you need

## Datasets
- [Solana validator stats](/docs/solana-validators.md): Live Solana network health and per-validator stats: stake and rank, commission, vote credits per SOL over the last 5 epochs relative to the cluster median, current-epoch block production and skip rate, delinquency. Computed from public chain state on each call (at most a minute old); no history is stored yet.
