Install in Your AI Client
Connect Hive to Cursor
Add Hive to Cursor and the IDE's AI can query live crypto data while you code. Perfect for building trading bots, writing DeFi analytics dashboards, or prototyping crypto agents without leaving the editor.
Before you start
- Cursor installed from cursor.sh.
- A free Hive API key from /dashboard/keys.
Option 1: One-click deeplink (recommended)
If you're logged into Hive, the unified setup page shows a live "Open in Cursor" button that encodes your API key into the MCP install URL. Click it, Cursor opens, confirm, done.
Option 2: Manual config
1. Open the MCP settings
In Cursor, go to Settings → MCP Servers → Add Server (or edit ~/.cursor/mcp.json directly).
2. Paste this config
{
"mcpServers": {
"hive": {
"command": "npx",
"args": ["-y", "hive-intelligence@latest"],
"env": {
"HIVE_API_KEY": "YOUR_HIVE_API_KEY"
}
}
}
}
Replace YOUR_HIVE_API_KEY with the key from /dashboard/keys.
3. Reload Cursor
The MCP server should appear green in Settings → MCP Servers within a few seconds.
4. Verify it worked
Open the AI chat panel (⌘L on macOS) and ask:
"What's the current price of BTC, ETH, and SOL?"
You should see Cursor call the get_price tool.
What to ask in Cursor
Cursor's context-aware AI is especially good at code-adjacent crypto work:
- "Write a Node.js script that monitors the top 10 DeFi pools by APY on Base and alerts me when any new pool enters the top 10."
- "Check if this contract address is a honeypot before I hardcode it in the repo: 0x..."
- "Generate a TypeScript type from this Hive tool response so I can strongly type the wallet-balances call."
- "Fetch funding rates for BTC perpetuals across Binance, Bybit, and OKX and render them as a React component."
Cursor will mix Hive tool calls with file edits and code generation — the agent decides which to use.
Troubleshooting
MCP server shows red in Settings. Open the MCP panel, click the error, and check the log — usually a bad HIVE_API_KEY or Node.js missing.
"npx: command not found". Install Node.js 18 or higher from nodejs.org, then restart Cursor.
API key rejected. Regenerate at /dashboard/keys. Keys are sensitive to leading/trailing whitespace — paste carefully.
Deeplink doesn't open Cursor. Make sure Cursor is running and you're on Cursor 0.42+ (older versions didn't support MCP install deeplinks).
Other clients
- Claude Desktop — if you live in Claude instead of Cursor
- VS Code — for GitHub Copilot Chat users
- Windsurf — Codeium's IDE
- All clients — full list
Next steps
- Hive for AI Agents — what Cursor can build once connected
- JavaScript SDK — native TypeScript types for Cursor projects
- Tools Reference — every tool Cursor can call