Skip to main content
Glama

Hive Intelligence

用于加密货币、Web3 和金融市场分析的 MCP 服务器及 CLI。通过你的 AI 助手或终端访问 14 个类别下的 351 个工具

安装

npm install -g hive-intelligence

这将为你提供两个命令:

命令

用途

hive-intelligence

用于 AI 客户端(Claude Desktop, Cursor, VS Code 等)的 MCP stdio 服务器

hive

用于终端操作的 CLI 工具

Related MCP server: crypto-indicators-mcp

MCP 服务器设置

Claude Desktop

添加到你的配置文件中:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "hive": {
      "command": "npx",
      "args": ["-y", "hive-intelligence"]
    }
  }
}

Cursor

添加到 .cursor/mcp.json

{
  "mcpServers": {
    "hive": {
      "command": "npx",
      "args": ["-y", "hive-intelligence"]
    }
  }
}

VS Code

添加到 .vscode/mcp.json

{
  "servers": {
    "hive": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "hive-intelligence"]
    }
  }
}

Claude Code

claude mcp add hive-intelligence -- npx -y hive-intelligence

远程 MCP 服务器

对于支持 HTTP 传输的客户端:

https://mcp.hiveintelligence.xyz/mcp

更多详情:https://hiveintelligence.xyz/crypto-mcp

CLI 使用

hive CLI 是一个轻量级客户端,用于与 Hive API 通信。无需 API 密钥即可开始使用。

# Get Bitcoin price
hive market price --ids bitcoin --vs usd

# Top coins by market cap
hive market top --vs usd --limit 10

# DeFi protocol TVL
hive defi tvl --protocol aave

# Stock quote
hive stocks quote --symbol AAPL

# Search across all tools
hive tools search "price"

# Run any tool by name
hive tools call get_price --args '{"ids": "ethereum", "vs_currencies": "usd"}'

CLI 命令

领域

描述

market

加密货币价格、图表、排名、稳定币、Gas 费

defi

DeFi 协议 TVL、费用、收益率、跨链桥

portfolio

钱包余额、DeFi 持仓、NFT

security

代币安全扫描、授权、模拟

stocks

股票报价、K 线、财务数据、分析师评级

macro

GDP、CPI、利率、就业、经济日历

social

情绪、影响力人物、热门话题

exchange

CEX 交易对、订单簿、交易、资金费率

dex

DEX 池、热门交易对、交易、成交量

wallet

链上余额、转账、交易记录

nft

NFT 系列、市场、趋势

network

链、Gas 价格、区块

search

搜索代币和流动性池

altdata

内幕交易、财报、IPO

CLI 选项

--json          Force JSON output
--pretty        Force human-readable output
--fields <list> Comma-separated fields to include
--jq <expr>     Filter JSON output (jq-like syntax)
--csv           Output as CSV
--timeout <ms>  Request timeout (default: 30000)
--no-retry      Disable automatic retry
-q, --quiet     Suppress non-data output
-v, --verbose   Show debug info

身份验证与配置

# Log in with API key
hive auth login

# Check connectivity
hive doctor

# Show current profile
hive auth whoami

# Manage multiple profiles
hive auth profiles
hive auth switch production

Shell 自动补全

# Bash
eval "$(hive completion bash)"

# Zsh
eval "$(hive completion zsh)"

# Fish
hive completion fish > ~/.config/fish/completions/hive.fish

# Auto-install
hive completion bash --install

别名

hive alias set btc 'market price --ids bitcoin --vs usd'
hive btc

分析类别 (351 个工具)

#

类别

工具数

描述

1

市场数据与价格

83

实时/历史价格、OHLCV、市值、稳定币、衍生品、资金费率

2

链上 DEX 与流动性池

44

DEX 池、流动性、热门交易对、交易者统计、成交量、跨链桥

3

投资组合与钱包

38

钱包余额、交易历史、DeFi 持仓、多链追踪

4

代币与合约

27

代币元数据、持仓分布、合约分析、金库追踪

5

DeFi 协议

23

TVL 数据、协议费用、流动性挖矿、链上指标、金库

6

NFT 分析

37

系列数据、市场图表、流动性池、持有人分析

7

安全与风险

20

代币安全、蜜罐检测、钓鱼网站、Rugpull 分析

8

网络与基础设施

24

网络健康状况、Gas 价格、区块数据、链状态

9

搜索与发现

10

代币搜索、趋势分析、分类、代币发现

10

社交与情绪

17

社交分析、影响力追踪、新闻、Galaxy Score、AltRank

11

股票与权益

8

实时报价、K 线、公司概况、推荐建议

12

外汇与大宗商品

4

外汇汇率、大宗商品价格(黄金、白银、铂金)

13

经济指标

13

GDP、CPI、美联储利率、国债收益率、失业率、标普 500

14

另类数据

5

内幕交易、情绪评分、财报/IPO 日历

数据提供商

CoinGecko, LunarCrush, DefiLlama, GeckoTerminal, Codex, DeBank, GoPlus, GoldRush (Covalent), CCXT, Finnhub, FRED

环境变量

变量

描述

HIVE_API_KEY

API 密钥(或使用 hive auth login

HIVE_API_URL

自定义服务器 URL(默认:https://mcp.hiveintelligence.xyz

API_EXECUTE_ENDPOINT

覆盖 MCP 服务器后端 URL

开发

# Install dependencies
npm install

# Build
npm run build

# Test with MCP inspector
npm run inspector

# Start MCP server locally
npm start

许可证

MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hive-intel/hive-crypto-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server