loading…
Search for a command to run...
loading…
Zerion MCP let's your agent analyze EVM and Solana wallets and summarize total portfolio value, top holdings, DeFi positions, recent transactions, PnL and more.
Zerion MCP let's your agent analyze EVM and Solana wallets and summarize total portfolio value, top holdings, DeFi positions, recent transactions, PnL and more.
Maintained by Zerion.
zerion is the unified, JSON-first CLI for Zerion. It covers wallet analysis (portfolio, positions, transactions, PnL) and on-chain trading (swap, bridge, send, sign) across 14 EVM chains and Solana, plus encrypted local wallets and agent-token policy management.
npm install -g zerion
Or run directly without installing:
npx zerion --help
Requires Node.js 20 or later.
Three options. The CLI auto-detects which is active.
export ZERION_API_KEY="zk_dev_..."
zk_dev_No API key needed. Pay $0.01 USDC per request via the x402 protocol. Supports EVM (Base) and Solana.
Pay-per-call applies to analytics commands only (
portfolio,positions,history,pnl,analyze). Trading commands always use an API key.
export WALLET_PRIVATE_KEY="0x..." # EVM (Base) — 0x-prefixed hex
export WALLET_PRIVATE_KEY="5C1y..." # Solana — base58 encoded keypair
zerion wallet analyze 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 --x402
# or enable globally:
export ZERION_X402=true
Both chains simultaneously:
export EVM_PRIVATE_KEY="0x..."
export SOLANA_PRIVATE_KEY="5C1y..."
export ZERION_X402_PREFER_SOLANA=true # optional, prefers Solana when both set
No API key needed. Pay $0.01 USDC per request via the MPP protocol on Tempo. EVM only.
export WALLET_PRIVATE_KEY="0x..." # EVM key with USDC on Tempo
# or use a dedicated key:
export TEMPO_PRIVATE_KEY="0x..."
zerion portfolio 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 --mpp
# or enable globally:
export ZERION_MPP=true
npm install -g zerion
export ZERION_API_KEY="zk_dev_..."
zerion wallet analyze 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
Example output:
{
"wallet": { "query": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045" },
"portfolio": { "total": 450000, "currency": "usd" },
"positions": { "count": 42 },
"transactions": { "sampled": 10 },
"pnl": { "available": true }
}
# Wallet analysis (read-only, supports --x402 / --mpp)
zerion analyze <address|ens|wallet-name> # full analysis
zerion portfolio <address> # portfolio value + top positions
zerion positions <address> # token + DeFi positions
zerion history <address> # transaction history
zerion pnl <address> # profit & loss
# Trading (requires API key)
zerion swap <from> <to> <amount> --chain <chain>
zerion bridge <token> <chain> <amount> --from-chain <chain>
zerion send <token> <amount> --to <address> --chain <chain>
zerion search <query>
zerion chains
# Wallet management (interactive)
zerion wallet create --name <name>
zerion wallet import --name <name> --evm-key
zerion wallet list
zerion wallet sync --wallet <name>
# Agent tokens (autonomous trading with scoped policies)
zerion agent create-token --name <bot> --wallet <wallet>
zerion agent list-tokens
zerion agent create-policy --name <policy> --chains <list> --expires <duration>
# Signing
zerion sign-message <msg> --chain <chain>
zerion sign-typed-data --data '<json>'
Run zerion --help for the full command list and zerion <command> --help for per-command flags.
All commands emit JSON to stdout (default) for agent compatibility. Errors emit JSON to stderr. Use --pretty for human-readable output, --quiet for minimal.
Used throughout tests and docs:
vitalik.eth / 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA960450xFe89Cc7Abb2C4183683Ab71653c4cCd1b9cC194e0x25F2226B597E8F9514B3F68F00F494CF4F286491The CLI handles:
All errors are emitted as structured JSON on stderr with a code field for programmatic handling.
Maintained by the Zerion team.
This repo is intentionally narrow:
zerion JSON-first CLI for AI agents and OpenClaw-like environmentsFor agent skills, plugin manifests, and MCP setup, see the companion repo: zeriontech/zerion-agent.
Please prefer small, concrete improvements over broad abstractions.
npm install
npm test
node ./zerion.js --help
This repo uses release-please for automated versioning and publishing.
Commit conventions — use Conventional Commits prefixes:
feat: — new feature → minor version bumpfix: — bug fix → patch version bumpfeat!: or fix!: — breaking change → major version bumpdocs:, chore:, test: — no release triggeredRelease flow:
feat: or fix: commits to mainchore(main): release X.Y.Z) with version bump and CHANGELOGnpm publishTo force a specific version, add Release-As: 2.0.0 in a commit message body.
CI setup:
NPM_TOKEN repo secret is required for npm publish (use a granular access token).release-please-manifest.json tracks the current version.github/workflows/release-please.yml handles both release PR creation and npm publish.github/workflows/test.yml runs tests on PRs and pushes to mainFor Zerion API questions, start with the public docs:
MIT — see LICENSE.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"zerion-hosted-mcp": {
"command": "npx",
"args": []
}
}
}Web content fetching and conversion for efficient LLM usage.
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also