
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A non-custodial Model Context Protocol server that lets AI agents read DeFi data across multiple chains and build unsigned swap and transfer transactions for user signing.
y0 MCP server for DeFi trading is cataloged as an MCP server attributed to y0exchange. A non-custodial Model Context Protocol server that lets AI agents read DeFi data across multiple chains and build unsigned swap and transfer transactions for user signing. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for y0 MCP server for DeFi trading are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No key is required for read-only tools; an API key is needed for swap and send operations.
No, the server and signing service only handle unsigned transaction payloads, and users sign on their own device.
README.md · 486943663604 · Fetched 2026-11-13 12:22:44 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
@y0exchange/mcp
Let AI agents trade crypto. Non-custodial. Multi-chain. One MCP server.
@y0exchange/mcp is a Model Context Protocol server that gives AI agents real-time access to DeFi — balances, prices, gas, swap quotes, transaction history, and the ability to execute swaps and transfers.
Connect it to Claude, ChatGPT, or any MCP-compatible AI client. Your users talk to AI, AI talks to the blockchain.
User → AI Agent → @y0exchange/mcp → Blockchain
↓
y0 Signing Service (user signs on their device)
Non-custodial by design. y0 never touches private keys. Write operations build unsigned transactions — the user always signs on their own device.
Sign in at app.y0.exchange → API Keys → copy your key.
The simplest way — works on Claude Desktop, claude.ai, Claude Mobile, and ChatGPT:
y0https://mcp.y0.exchange/mcp?key=YOUR_API_KEYNo installs, no config files, no terminal. The API key links to your wallet — the AI agent automatically knows your address and permissions.
Add to your MCP config (e.g. .cursor/mcp.json):
{
"mcpServers": {
"y0": {
"command": "npx",
"args": ["-y", "@y0exchange/mcp"],
"env": {
"Y0_API_KEY": "y0_your_api_key_here"
}
}
}
}
claude mcp add --transport http y0 https://mcp.y0.exchange/mcp?key=YOUR_API_KEY
Y0_API_KEY=y0_... npx @y0exchange/mcp
The server communicates over stdio — compatible with any MCP client.
Without Y0_API_KEY, read-only tools (balances, prices, gas, quotes, history) still work. Omit the key to experiment without an account.
The hosted remote server at mcp.y0.exchange powers the connector approach above. You can also self-host it.
# Build
pnpm --filter @y0exchange/mcp build
# Run
pnpm --filter @y0exchange/mcp start:remote
# Or with Docker
docker build -f mcp/Dockerfile -t y0-mcp-remote .
docker run -p 3100:3100 \
-e SIGNING_SERVICE_URL=https://api.y0.exchange \
-e ZEROX_API_KEY=your_key \
y0-mcp-remote
The remote server exposes:
POST /mcp — Streamable HTTP MCP endpointGET /health — health checkEnvironment variable PORT controls the listening port (default: 3100).
stdio (npx) | Remote (HTTP) | |
|---|---|---|
| Runs on | User's machine | Your server |
| Transport | stdin/stdout | Streamable HTTP |
| Works on mobile | No | Yes |
| Works on claude.ai | No | Yes |
| Auth | Y0_API_KEY env var | ?key= in URL or Authorization header |
| Deployment | None (npm) | Docker / any Node.js host |
| Tool | Description |
|---|---|
get_balance | Native + ERC-20 token balances for any wallet |
get_portfolio | Aggregated portfolio across all chains with USD values |
get_price | Real-time token prices with 24h change |
get_quote | Swap quotes with routing preview, fees, and gas estimate |
get_gas | Gas prices across chains with USD cost estimates |
get_history | Transaction history with smart classification |
Y0_API_KEY| Tool | Description |
|---|---|
swap | Build unsigned swap tx → user approves on device |
send | Build unsigned transfer tx → user approves on device |
Write tools use your API key to identify your wallet. The AI agent never needs to ask for your address — it's resolved automatically from the key.
| Chain | ID | Status |
|---|---|---|
| Ethereum | 1 | Production |
| BNB Chain | 56 | Production |
| Arbitrum | 42161 | Production |
| Base | 8453 | Production |
| Polygon | 137 | Production |
All configuration is via environment variables. None are required for read-only tools.
| Variable | Description | Default |
|---|---|---|
Y0_API_KEY | Your y0 API key (required for swap/send) | — |
SIGNING_SERVICE_URL | y0 Signing Service endpoint | https://api.y0.exchange |
| Variable | Description |
|---|---|
ZEROX_API_KEY | 0x swap API key (tried first) |
ONEINCH_API_KEY | 1inch swap API key (fallback) |
get_history)| Variable | Description |
|---|---|
ETHERSCAN_API_KEY | Etherscan API key |
BSCSCAN_API_KEY | BSCScan API key |
ARBISCAN_API_KEY | Arbiscan (falls back to Etherscan key) |
BASESCAN_API_KEY | BaseScan (falls back to Etherscan key) |
POLYGONSCAN_API_KEY | PolygonScan (falls back to Etherscan key) |
| Variable | Description |
|---|---|
COINGECKO_API_KEY | CoinGecko Pro key (optional, free tier works) |
1. User says: "Swap 1 ETH to USDC"
2. AI calls get_quote → shows price, fees, slippage
3. User confirms → AI calls swap (no wallet address needed — resolved from API key)
4. MCP authenticates with y0 Signing Service via Y0_API_KEY
→ builds unsigned transaction
→ sends push notification to user's mobile app
5. User reviews and signs on their device (biometric + wallet)
6. Transaction executes on-chain
Your keys never leave your device. The MCP server and y0 Signing Service only handle unsigned transaction payloads.
"What's my portfolio worth?"
AI calls
get_portfolio→ returns breakdown by chain, token allocations, total USD value
"How much gas would a swap cost on Base right now?"
AI calls
get_gaswith chainId 8453 → returns gas price + USD estimates for different tx types
"Swap 500 USDC to ETH on Arbitrum"
AI calls
get_quote→ shows expected output → user confirms →swapbuilds unsigned tx → user signs
"Send 0.5 ETH to vitalik.eth"
AI calls
send→ builds unsigned transfer → user signs on device
The MCP server gives Claude access to DeFi tools. The y0 DeFi Skill teaches Claude how to use them well — checking balances before swaps, warning about gas costs, recommending optimal chains, and following DeFi best practices automatically.
Claude.ai:
skill.zipClaude Code:
# Place the skill folder in your Claude Code skills directory
cp -r skill/ ~/.claude/skills/y0-defi-assistant/
Ask Claude: "Check my crypto portfolio" — it should automatically call get_portfolio, present a clear breakdown, and note any concentration risks or gas optimization opportunities.
Building an AI-powered trading product? y0 provides the infrastructure:
Get in touch to set up your integration.
┌───────────────────────────────────────────────────────────┐
│ AI Agents │
│ Claude Desktop / Claude Code / Cursor / GPT / custom │
│ claude.ai / Claude Mobile │
└──────────┬───────────────────────────────┬────────────────┘
│ stdio (local) │ HTTP (remote)
│ npx @y0exchange/mcp │ .../mcp?key=YOUR_API_KEY
▼ ▼
┌──────────────────────────────────────────────────────────┐
│ @y0exchange/mcp │
│ │
│ ┌─────────────────┐ ┌──────────────────┐ │
│ │ Read Tools │ │ Write Tools │ │
│ │ │ │ │ │
│ │ get_balance │ │ swap ─────────────► y0 Signing │
│ │ get_portfolio │ │ send ─────────────► Service │
│ │ get_price │ │ │ │
│ │ get_quote │ └──────────────────┘ │
│ │ get_gas │ │
│ │ get_history │ │
│ └────────┬─────────┘ │
└───────────┼───────────────────────────────────────────────┘
│
┌────────▼─────────┐
│ Blockchain RPCs │
│ CoinGecko API │
│ 0x / 1inch APIs │
│ Block Explorers │
└───────────────────┘
Mobile / Web (claude.ai, Claude Mobile):
Uses remote HTTP server — no local process needed.
Desktop / CLI (Claude Desktop, Claude Code, Cursor):
Can use either stdio (npx) or remote HTTP.
# Clone the monorepo
git clone https://github.com/y0exchange/y0exchange.git
cd y0exchange
# Install dependencies
pnpm install
# Build
pnpm --filter @y0exchange/mcp build
# Run stdio server (local dev)
pnpm --filter @y0exchange/mcp start
# Run remote HTTP server (local dev)
pnpm --filter @y0exchange/mcp start:remote
# Watch mode (rebuilds on change)
pnpm --filter @y0exchange/mcp dev
MIT — use it freely in your products. See LICENSE for details.
Built by y0.exchange — AI-native DeFi infrastructure
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for y0 MCP server for DeFi trading from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-y0exchange)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.