# Haiku MCP

*The Data and Execution Layer for AI Agents*

By [Haiku](https://blog.haiku.trade) · 2026-03-05

mcp, agents, ai, defi

---

AI agents can read the blockchain. They can check balances, parse token lists, monitor prices. But the moment they need to do something complex, they're stuck.

Executing a real DeFi strategy means navigating dozens of protocol interfaces, multi-step transaction sequences that break when markets move, and signing flows that differ across every chain. The result: agents that can talk about DeFi but struggle to participate in it.

We built Haiku MCP to close that gap.

### Not Just Execution. Discovery.

Most agent tooling in DeFi stops at execution. Give the agent a transaction to run, it runs it. But execution without context is a blind tool. An agent can't recommend the best lending yield on Arbitrum if it doesn't know what yields exist. It can't suggest portfolio rebalancing if it can't see what a wallet holds.

Haiku MCP is a full data and execution layer. Discovery, analysis, and execution through a single server. Here's what that looks like:

**Yield Discovery** lets agents scan across every integrated protocol and chain to surface yield-bearing opportunities, filtered by APY, TVL, category, and protocol. Results return actionable identifiers that plug directly into execution. No scraping, no third-party data wrappers.

**Portfolio Analysis** takes a wallet address and returns positions enriched with context: current APYs, available opportunities for each holding, collateral health factors with risk warnings, and a plain-English summary of the best next move. The agent doesn't just know what you hold. It knows what you should be doing with it.

### The Workflow

The pattern is clean:

1.  **Discover** what opportunities exist across DeFi
    
2.  **Analyze** a wallet's current positions and find gaps
    
3.  **Quote** the move from current state to target state
    
4.  **Execute** in a single transaction
    

Each step is a separate tool. Agents can use the data layer without ever executing a trade. They can use execution without discovery. Or they can chain the full workflow end-to-end.

### What This Means for Agent Builders

If you're building AI agents that touch DeFi, here's what you get:

**One server, full coverage.** 22 chains, 45+ protocols, yield data, portfolio intelligence, and execution. No stitching together five different APIs.

**Five-minute setup.** Install with `npx haiku-mcp-server` and connect to Claude Desktop, Cursor, OpenClaw, or any MCP-compatible client.

**Two execution modes.** Self-contained (set a private key, the server handles signing and broadcasting) or external wallet (returns unsigned transactions for Coinbase, AgentKit, Safe, or any wallet MCP to sign).

**No API key required.** The server works out of the box. Keys are available for higher rate limits in production.

### Why This Matters

The agent economy is growing fast, but agents are still mostly read-only in DeFi. The infrastructure to go from "what should I do?" to "done" doesn't exist in a single integration.

Haiku MCP closes that loop. Discovery, analysis, and execution through one server. The last DeFi integration an agent builder needs.

Install it: `npx haiku-mcp-server`

Docs: [docs.haiku.trade](https://docs.haiku.trade)

GitHub: [github.com/haiku-trading/haiku-mcp-server](https://github.com/haiku-trading/haiku-mcp-server)

npm: [npmjs.com/package/haiku-mcp-server](https://www.npmjs.com/package/haiku-mcp-server)

---

*Originally published on [Haiku](https://blog.haiku.trade/haiku-mcp)*
