hive-intelligence 1.1.2 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/LICENSE +12 -10
  2. package/README.md +325 -351
  3. package/agent-skills/.claude-plugin/plugin.json +111 -0
  4. package/agent-skills/.mcp.json +11 -0
  5. package/agent-skills/AGENTS.md +37 -0
  6. package/agent-skills/LICENSE +21 -0
  7. package/agent-skills/README.md +145 -0
  8. package/agent-skills/SKILL.md +80 -0
  9. package/agent-skills/evals/README.md +20 -0
  10. package/agent-skills/evals/trigger-queries.json +464 -0
  11. package/agent-skills/package.json +49 -0
  12. package/agent-skills/packs/hive-build/SKILL.md +328 -0
  13. package/agent-skills/packs/hive-build/evals/evals.json +28 -0
  14. package/agent-skills/packs/hive-build-onboarding/SKILL.md +137 -0
  15. package/agent-skills/packs/hive-build-onboarding/evals/evals.json +27 -0
  16. package/agent-skills/packs/hive-cli/SKILL.md +141 -0
  17. package/agent-skills/packs/hive-cli/evals/evals.json +27 -0
  18. package/agent-skills/packs/hive-defi-research/SKILL.md +42 -0
  19. package/agent-skills/packs/hive-defi-research/evals/evals.json +27 -0
  20. package/agent-skills/packs/hive-defi-research/references/workflow.md +41 -0
  21. package/agent-skills/packs/hive-dex-pool-analysis/SKILL.md +41 -0
  22. package/agent-skills/packs/hive-dex-pool-analysis/evals/evals.json +27 -0
  23. package/agent-skills/packs/hive-dex-pool-analysis/references/workflow.md +42 -0
  24. package/agent-skills/packs/hive-market-research/SKILL.md +45 -0
  25. package/agent-skills/packs/hive-market-research/evals/evals.json +27 -0
  26. package/agent-skills/packs/hive-market-research/references/workflow.md +47 -0
  27. package/agent-skills/packs/hive-mcp/SKILL.md +147 -0
  28. package/agent-skills/packs/hive-mcp/evals/evals.json +38 -0
  29. package/agent-skills/packs/hive-mcp/references/client-install-matrix.md +83 -0
  30. package/agent-skills/packs/hive-mcp/references/clients.md +141 -0
  31. package/agent-skills/packs/hive-network-infrastructure/SKILL.md +44 -0
  32. package/agent-skills/packs/hive-network-infrastructure/evals/evals.json +27 -0
  33. package/agent-skills/packs/hive-network-infrastructure/references/workflow.md +41 -0
  34. package/agent-skills/packs/hive-nft-research/SKILL.md +41 -0
  35. package/agent-skills/packs/hive-nft-research/evals/evals.json +27 -0
  36. package/agent-skills/packs/hive-nft-research/references/workflow.md +42 -0
  37. package/agent-skills/packs/hive-prediction-markets/SKILL.md +44 -0
  38. package/agent-skills/packs/hive-prediction-markets/evals/evals.json +27 -0
  39. package/agent-skills/packs/hive-prediction-markets/references/workflow.md +42 -0
  40. package/agent-skills/packs/hive-query/SKILL.md +99 -0
  41. package/agent-skills/packs/hive-query/evals/evals.json +38 -0
  42. package/agent-skills/packs/hive-query/references/root-mcp-workflow.md +54 -0
  43. package/agent-skills/packs/hive-security-risk/SKILL.md +42 -0
  44. package/agent-skills/packs/hive-security-risk/evals/evals.json +27 -0
  45. package/agent-skills/packs/hive-security-risk/references/workflow.md +46 -0
  46. package/agent-skills/packs/hive-solana-analysis/SKILL.md +42 -0
  47. package/agent-skills/packs/hive-solana-analysis/evals/evals.json +27 -0
  48. package/agent-skills/packs/hive-solana-analysis/references/workflow.md +42 -0
  49. package/agent-skills/packs/hive-stateful-monitoring/SKILL.md +75 -0
  50. package/agent-skills/packs/hive-stateful-monitoring/evals/evals.json +49 -0
  51. package/agent-skills/packs/hive-token-diligence/SKILL.md +44 -0
  52. package/agent-skills/packs/hive-token-diligence/evals/evals.json +27 -0
  53. package/agent-skills/packs/hive-token-diligence/references/workflow.md +45 -0
  54. package/agent-skills/packs/hive-tool-discovery/SKILL.md +49 -0
  55. package/agent-skills/packs/hive-tool-discovery/evals/evals.json +38 -0
  56. package/agent-skills/packs/hive-tool-discovery/references/discovery-surfaces.md +62 -0
  57. package/agent-skills/packs/hive-wallet-investigation/SKILL.md +42 -0
  58. package/agent-skills/packs/hive-wallet-investigation/evals/evals.json +27 -0
  59. package/agent-skills/packs/hive-wallet-investigation/references/workflow.md +45 -0
  60. package/agent-skills/references/agents-routing.md +51 -0
  61. package/agent-skills/scripts/validate-agent-skills-package.mjs +216 -0
  62. package/agent-skills/skills.sh.json +41 -0
  63. package/bin/hive-mcp.js +33 -0
  64. package/build/{alias-INGXWFCG.js → alias-3OPMQF4X.js} +2 -3
  65. package/build/api-client-EPF6FD7A.js +28 -0
  66. package/build/auth-Q5Q24IRI.js +39 -0
  67. package/build/browser-auth-VPF5LZMZ.js +8 -0
  68. package/build/{cache-US4LSZPI.js → cache-T6KC5YEY.js} +2 -3
  69. package/build/{chunk-QMRVH5ZP.js → chunk-3WYWXTNN.js} +9 -2
  70. package/build/chunk-4F5CI6LX.js +340 -0
  71. package/build/chunk-5XXI25JE.js +496 -0
  72. package/build/chunk-7JWXBKEJ.js +252 -0
  73. package/build/chunk-CEWCB5YS.js +71 -0
  74. package/build/{chunk-CGXVV6WR.js → chunk-FH3YGSY5.js} +86 -105
  75. package/build/chunk-FRXMGRZQ.js +102 -0
  76. package/build/chunk-GZPDEXO4.js +126 -0
  77. package/build/chunk-IZPAMRHP.js +43 -0
  78. package/build/chunk-JTUKQWIO.js +79720 -0
  79. package/build/{chunk-CP3FXEQA.js → chunk-NP6NSOG2.js} +4 -6
  80. package/build/{chunk-XQJ6PB2L.js → chunk-POT2MBEK.js} +0 -1
  81. package/build/chunk-VBOKVQ74.js +280 -0
  82. package/build/{chunk-WKVZVQTG.js → chunk-YZ2PXBJK.js} +6 -4
  83. package/build/chunk-ZCU7XQKF.js +14 -0
  84. package/build/chunk-ZTJVOWDQ.js +85 -0
  85. package/build/chunk-ZXB53E7H.js +246 -0
  86. package/build/cli.js +138 -125
  87. package/build/{completion-J6HFY6PS.js → completion-46K674EL.js} +54 -50
  88. package/build/config-XE6Q5P4I.js +57 -0
  89. package/build/{config-dir-IEOID7Q6.js → config-dir-MAWX5AUF.js} +2 -3
  90. package/build/{doctor-7WZMCQC7.js → doctor-HGMQE6IN.js} +37 -13
  91. package/build/{errors-U6UZWVSD.js → errors-J2PH3NLJ.js} +2 -3
  92. package/build/format-5X2HIVDT.js +42 -0
  93. package/build/{init-CAVIFVSH.js → init-JMDNM7ZZ.js} +1 -2
  94. package/build/init-all-5SKNV75X.js +273 -0
  95. package/build/mcpServer-5TKKSKJM.js +21 -0
  96. package/build/monitor-worker.js +1140 -0
  97. package/build/{namespace-7JWWBWBL.js → namespace-FSX2G3NM.js} +2 -3
  98. package/build/{open-FUXYIHFO.js → open-5A6ZQMGC.js} +5 -6
  99. package/build/{output-7PGQWJY2.js → output-V3D4YZ6U.js} +2 -3
  100. package/build/serve-AGCOXXFM.js +49 -0
  101. package/build/server.js +5042 -14125
  102. package/build/setup-RMETGJWK.js +135 -0
  103. package/build/stdio.js +32 -0
  104. package/build/{telemetry-KNWMQURH.js → telemetry-WCME5XEU.js} +4 -4
  105. package/build/{tools-VRRMBCZQ.js → tools-KAB6QBZC.js} +15 -15
  106. package/build/uninstall-FLJMBBSC.js +114 -0
  107. package/build/update-check-LNZQK3XA.js +18 -0
  108. package/build/upgrade-DTUIHVPS.js +171 -0
  109. package/build/version-I6HDAF4L.js +14 -0
  110. package/build/{watch-A75SVIQ6.js → watch-YNN255QX.js} +7 -7
  111. package/package.json +124 -53
  112. package/bin/hive.js +0 -25
  113. package/build/alias-INGXWFCG.js.map +0 -1
  114. package/build/auth-77MKFFBQ.js +0 -233
  115. package/build/auth-77MKFFBQ.js.map +0 -1
  116. package/build/cache-US4LSZPI.js.map +0 -1
  117. package/build/chunk-CGXVV6WR.js.map +0 -1
  118. package/build/chunk-CP3FXEQA.js.map +0 -1
  119. package/build/chunk-DTUDM6HX.js +0 -3108
  120. package/build/chunk-DTUDM6HX.js.map +0 -1
  121. package/build/chunk-LBTLYTZS.js +0 -115
  122. package/build/chunk-LBTLYTZS.js.map +0 -1
  123. package/build/chunk-OK3LSM73.js +0 -22
  124. package/build/chunk-OK3LSM73.js.map +0 -1
  125. package/build/chunk-QMRVH5ZP.js.map +0 -1
  126. package/build/chunk-RRI526CJ.js +0 -212
  127. package/build/chunk-RRI526CJ.js.map +0 -1
  128. package/build/chunk-WKVZVQTG.js.map +0 -1
  129. package/build/chunk-XQJ6PB2L.js.map +0 -1
  130. package/build/cli.js.map +0 -1
  131. package/build/completion-J6HFY6PS.js.map +0 -1
  132. package/build/config-ANFERP7A.js +0 -99
  133. package/build/config-ANFERP7A.js.map +0 -1
  134. package/build/config-dir-IEOID7Q6.js.map +0 -1
  135. package/build/doctor-7WZMCQC7.js.map +0 -1
  136. package/build/errors-U6UZWVSD.js.map +0 -1
  137. package/build/format-CVLLK6GD.js +0 -75
  138. package/build/format-CVLLK6GD.js.map +0 -1
  139. package/build/init-CAVIFVSH.js.map +0 -1
  140. package/build/namespace-7JWWBWBL.js.map +0 -1
  141. package/build/open-FUXYIHFO.js.map +0 -1
  142. package/build/output-7PGQWJY2.js.map +0 -1
  143. package/build/server.js.map +0 -1
  144. package/build/telemetry-KNWMQURH.js.map +0 -1
  145. package/build/tools-VRRMBCZQ.js.map +0 -1
  146. package/build/version-3TZ3U4IR.js +0 -9
  147. package/build/version-3TZ3U4IR.js.map +0 -1
  148. package/build/watch-A75SVIQ6.js.map +0 -1
package/README.md CHANGED
@@ -1,493 +1,467 @@
1
- <div align="center">
2
-
3
1
  # Hive Intelligence
4
2
 
5
- **Institutional-grade crypto market infrastructure for AI agents.**
6
-
7
- One MCP server. [376+ live tools](https://mcp.hiveintelligence.xyz/api/v1/tools). 10 categories. 9 data providers — [CoinGecko, DefiLlama, Moralis, GoldRush, Codex, GoPlus, Helius, Tenderly, and CCXT](#powered-by) normalized into a single agent-ready surface, so your agent gets prices, DeFi, wallets, security, and DEX flows in one request instead of nine APIs. Built for Claude, Cursor, ChatGPT, and any agent that speaks Model Context Protocol.
8
-
9
- [![npm version](https://img.shields.io/npm/v/hive-intelligence.svg?color=blue&label=npm)](https://www.npmjs.com/package/hive-intelligence)
10
- [![npm downloads](https://img.shields.io/npm/dw/hive-intelligence.svg?color=blue&label=downloads%2Fweek)](https://www.npmjs.com/package/hive-intelligence)
11
- [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
12
- [![MCP](https://img.shields.io/badge/MCP-compatible-orange.svg)](https://modelcontextprotocol.io)
13
- [![Docs](https://img.shields.io/badge/docs-hiveintelligence.xyz-purple.svg)](https://hiveintelligence.xyz)
14
-
15
- [**Quick Start**](#quickstart) · [**Example prompts**](#example-prompts) · [**Tool catalog**](#tool-catalog) · [**FAQ**](#faq) · [**Get an API key**](https://hiveintelligence.xyz/dashboard/keys)
3
+ [![npm version](https://img.shields.io/npm/v/hive-intelligence.svg)](https://www.npmjs.com/package/hive-intelligence)
4
+ [![Node.js 20+](https://img.shields.io/badge/node-%3E%3D20-339933.svg)](https://nodejs.org/)
5
+ [![License: Proprietary](https://img.shields.io/badge/license-Proprietary-red.svg)](./LICENSE)
6
+ [![MCP compatible](https://img.shields.io/badge/MCP-compatible-111827.svg)](https://modelcontextprotocol.io/)
16
7
 
17
- </div>
8
+ Crypto intelligence for AI agents, shipped as a hosted MCP server, local
9
+ `stdio` MCP runtime, CLI, and REST API.
18
10
 
19
- > **New here?** [Try the Free Demo](https://hiveintelligence.xyz/dashboard/keys) (10K credits/month, no card required) · [See install guides](https://hiveintelligence.xyz/install) · [Run a test prompt](#example-prompts)
11
+ Hive gives Claude Code, Cursor, VS Code, OpenAI Responses API, Gemini CLI,
12
+ Codex, and supported custom agents one compact way to discover and call live
13
+ crypto data. Agents route through task toolsets, inspect schemas before
14
+ execution, keep calls bounded, and return provider provenance plus runtime
15
+ status instead of browsing a wall of raw endpoints.
20
16
 
21
- ---
22
-
23
- ## What is Hive Intelligence?
24
-
25
- Hive Intelligence is a managed MCP server that gives AI agents structured, runtime access to live cryptocurrency market data, DeFi activity, wallet positions, token security signals, DEX flows, NFT analytics, prediction markets, and on-chain network data. One API key, one tool surface, nine upstream providers normalized into a single agent-ready schema.
17
+ ```bash
18
+ npx -y -p hive-intelligence@latest hive init --all --browser
19
+ ```
20
+
21
+ Use the hosted MCP when you want Hive to run auth, rate limits, provider
22
+ infrastructure, and runtime status. Use local `stdio` when you want desktop
23
+ client setup, self-hosting, or provider-key experiments.
24
+
25
+ ## What You Get
26
+
27
+ - 369 tools across market data, wallets, DeFi, DEX, NFTs, token and
28
+ contract data, security risk, network infrastructure, search, Solana, and
29
+ prediction markets, including Hive-native stateful monitoring tools.
30
+ - A compact root MCP endpoint with 13 discovery/execution tools, so agents can
31
+ route before they call.
32
+ - Task toolsets for market research, token diligence, wallet investigation,
33
+ security checks, DEX pool analysis, DeFi research, NFT research, Solana
34
+ analysis, network infrastructure, prediction markets, and stateful monitoring.
35
+ - CLI commands for auth, client setup, tool discovery, schema inspection,
36
+ direct execution, diagnostics, aliases, polling, and config generation.
37
+ - Runtime resources for providers, categories, full tool catalog, task
38
+ toolsets, canaries, skills, and status metadata.
39
+ - Bundled agent skills that teach assistants the right Hive workflow:
40
+ discovery -> schema lookup -> bounded execution -> provenance-aware answer.
26
41
 
27
- Stop stitching CoinGecko + DefiLlama + Moralis + GoPlus + half a dozen others. Point your agent at Hive once, get every crypto answer it needs.
42
+ ## Quickstart
28
43
 
29
- **Used by:** AI agents in Claude Desktop, Cursor, ChatGPT Desktop, Claude Code, Windsurf, VS Code (Copilot Chat), Gemini CLI, and any client that speaks MCP or REST.
44
+ Requirements:
30
45
 
31
- ## Powered by
46
+ - Node.js 20+
47
+ - npm
48
+ - A Hive API key for hosted MCP or REST API
32
49
 
33
- Nine production data providers, normalized into one tool surface:
50
+ Create a key:
34
51
 
35
- ```
36
- CoinGecko · DefiLlama · Moralis · GoldRush · Codex · GoPlus · Helius · Tenderly · CCXT
52
+ ```text
53
+ https://www.hiveintelligence.xyz/login?next=/dashboard/keys
37
54
  ```
38
55
 
39
- | Provider | Coverage |
40
- |----------|----------|
41
- | **CoinGecko** | Market data, prices, OHLCV, exchanges, NFT collections |
42
- | **DefiLlama** | TVL, yield pools, protocol metrics, bridges, treasuries |
43
- | **Moralis** | Wallet analytics, NFT data, token transfers, EVM coverage |
44
- | **GoldRush** (Covalent) | Multi-chain wallet activity, transaction history, 100+ chains |
45
- | **Codex** (Defined.fi) | DEX pair OHLCV, prediction markets (Polymarket) |
46
- | **GoPlus** | Token security, honeypot detection, contract risk, malicious-address reputation |
47
- | **Helius** | Solana RPC, DAS, compressed NFTs, priority fees |
48
- | **Tenderly** | EVM transaction simulation, contract decode, debugging |
49
- | **CCXT** | Centralized exchange data, order books, derivatives, funding rates |
50
-
51
- ## Quickstart
52
-
53
- The fastest way to use Hive is `npx`. No install required.
56
+ Log in and configure your local AI clients:
54
57
 
55
58
  ```bash
56
- HIVE_API_KEY=hive_live_... npx -y -p hive-intelligence hive market price --ids bitcoin --vs usd
59
+ npx -y -p hive-intelligence@latest hive auth login
60
+ npx -y -p hive-intelligence@latest hive init --all --browser
57
61
  ```
58
62
 
59
- Get an API key at [hiveintelligence.xyz/dashboard/keys](https://hiveintelligence.xyz/dashboard/keys). The free **Demo** plan ships with 10,000 monthly credits and access to every tool — no credit card required.
60
-
61
- ### What you get
62
-
63
- ```
64
- hive-intelligence → MCP stdio server. Plug into Claude Desktop, Cursor, VS Code, etc.
65
- hive → CLI. Run any tool from your terminal or scripts.
66
- ```
67
-
68
- `hive-intelligence` is a stdio transport. Running it directly opens a JSON-RPC channel and waits for an MCP client. It is **not** an interactive command. For terminal use, use the `hive` CLI.
69
-
70
- ### Install globally (optional)
63
+ Make a first successful call:
71
64
 
72
65
  ```bash
73
- npm install -g hive-intelligence
66
+ npx -y -p hive-intelligence@latest hive market price --ids bitcoin --vs usd --json
74
67
  ```
75
68
 
76
- After this, both `hive-intelligence` and `hive` are on your `PATH`.
77
-
78
- ## Connect to your AI client
79
-
80
- Drop Hive into any MCP-compatible client. Replace `hive_live_...` with your API key.
81
-
82
- ### Claude Desktop
83
-
84
- `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
69
+ Expected output shape:
85
70
 
86
71
  ```json
87
72
  {
88
- "mcpServers": {
89
- "hive": {
90
- "command": "npx",
91
- "args": ["-y", "hive-intelligence"],
92
- "env": { "HIVE_API_KEY": "hive_live_..." }
73
+ "ok": true,
74
+ "data": {
75
+ "bitcoin": {
76
+ "usd": 0
93
77
  }
78
+ },
79
+ "meta": {
80
+ "provider": "CoinGecko",
81
+ "duration_ms": 0
94
82
  }
95
83
  }
96
84
  ```
97
85
 
98
- ### Cursor
86
+ Use `--json` for scripts and agents. Use `--pretty` for human-readable output.
99
87
 
100
- `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project):
88
+ ## Connect Hosted MCP
101
89
 
102
- ```json
103
- {
104
- "mcpServers": {
105
- "hive": {
106
- "command": "npx",
107
- "args": ["-y", "hive-intelligence"],
108
- "env": { "HIVE_API_KEY": "hive_live_..." }
109
- }
110
- }
111
- }
112
- ```
90
+ One-click install, then replace `YOUR_HIVE_API_KEY` with your key from
91
+ [hiveintelligence.xyz](https://hiveintelligence.xyz) (the deep link cannot carry
92
+ your secret):
113
93
 
114
- ### VS Code (GitHub Copilot Chat)
94
+ [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=hive&config=eyJ1cmwiOiJodHRwczovL21jcC5oaXZlaW50ZWxsaWdlbmNlLnh5ei9tY3AiLCJoZWFkZXJzIjp7IkF1dGhvcml6YXRpb24iOiJCZWFyZXIgWU9VUl9ISVZFX0FQSV9LRVkifX0%3D)
95
+ [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=hive&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.hiveintelligence.xyz%2Fmcp%22%2C%22headers%22%3A%7B%22Authorization%22%3A%22Bearer%20YOUR_HIVE_API_KEY%22%7D%7D)
115
96
 
116
- `.vscode/mcp.json`:
97
+ Hosted MCP URL:
117
98
 
118
- ```json
119
- {
120
- "servers": {
121
- "hive": {
122
- "type": "stdio",
123
- "command": "npx",
124
- "args": ["-y", "hive-intelligence"],
125
- "env": { "HIVE_API_KEY": "hive_live_..." }
126
- }
127
- }
128
- }
99
+ ```text
100
+ https://mcp.hiveintelligence.xyz/mcp
129
101
  ```
130
102
 
131
- ### Claude Code
103
+ Claude Code:
132
104
 
133
105
  ```bash
134
- claude mcp add hive -e HIVE_API_KEY=hive_live_... -- npx -y hive-intelligence
106
+ claude mcp add --transport http --header "Authorization: Bearer YOUR_HIVE_API_KEY" hive https://mcp.hiveintelligence.xyz/mcp
135
107
  ```
136
108
 
137
- ### Windsurf
138
-
139
- `~/.codeium/windsurf/mcp_config.json`:
109
+ Generic MCP JSON for clients that support remote HTTP and custom headers:
140
110
 
141
111
  ```json
142
112
  {
143
113
  "mcpServers": {
144
114
  "hive": {
145
- "command": "npx",
146
- "args": ["-y", "hive-intelligence"],
147
- "env": { "HIVE_API_KEY": "hive_live_..." }
115
+ "url": "https://mcp.hiveintelligence.xyz/mcp",
116
+ "headers": {
117
+ "Authorization": "Bearer YOUR_HIVE_API_KEY"
118
+ }
148
119
  }
149
120
  }
150
121
  }
151
122
  ```
152
123
 
153
- ### Gemini CLI
124
+ ## Client Compatibility
125
+
126
+ | Client | Hosted HTTP MCP | Custom auth headers | Local stdio | Recommended setup |
127
+ | --- | --- | --- | --- | --- |
128
+ | Claude Code | Yes | Yes | Yes | `hive init --all --browser` or `claude mcp add ...` |
129
+ | Cursor | Yes | Yes | Yes | `hive config cursor` or `hive init --all --browser` |
130
+ | VS Code | Yes | Yes | Yes | `hive config vscode` or `hive init --all --browser` |
131
+ | Windsurf | Yes | Yes | Yes | `hive init --all --browser` |
132
+ | Gemini CLI | Yes | Yes | Yes | `hive init --all --browser` |
133
+ | Codex | Yes | Yes | Yes | `hive init --all --browser` |
134
+ | OpenAI Responses API | Yes | Yes | No | Use a server-side remote MCP `tools` entry |
135
+ | ChatGPT developer-mode apps | Beta / auth-dependent | Requires OAuth-compatible auth | No | Use Responses API or an OAuth-compatible proxy until Hive exposes OAuth/CIMD |
136
+ | Claude.ai custom connectors/directory | Not yet | No static bearer-token flow | No | Requires OAuth-compatible auth; Hive does not implement OAuth/CIMD yet |
154
137
 
155
- `~/.gemini/settings.json`:
138
+ Header-based API key auth works today for clients or API surfaces that support
139
+ custom headers or authorization tokens. Claude.ai custom connectors, directory
140
+ submissions, and direct ChatGPT app connectors require OAuth-compatible auth, so
141
+ they are planned separately from this API-key MCP path.
142
+
143
+ ## Run Local stdio MCP
144
+
145
+ Use local `stdio` when you want a self-hosted MCP process, local desktop config,
146
+ or your own upstream provider keys.
156
147
 
157
148
  ```json
158
149
  {
159
150
  "mcpServers": {
160
- "hive": {
151
+ "hive-local": {
161
152
  "command": "npx",
162
- "args": ["-y", "hive-intelligence"],
163
- "env": { "HIVE_API_KEY": "hive_live_..." }
153
+ "args": ["-y", "-p", "hive-intelligence@latest", "hive"],
154
+ "env": {
155
+ "COINGECKO_PRO_API_KEY": "optional",
156
+ "ALCHEMY_API_KEY": "optional",
157
+ "HELIUS_API_KEY": "optional",
158
+ "MORALIS_API_KEY": "optional"
159
+ }
164
160
  }
165
161
  }
166
162
  }
167
163
  ```
168
164
 
169
- ### Remote MCP (HTTP)
165
+ Running `hive` with no subcommand starts the `stdio` MCP server. `hive-mcp`
166
+ remains available as a backward-compatible binary alias.
170
167
 
171
- For clients that support Streamable HTTP transport (skips the local Node process entirely):
168
+ ## Staying Current
172
169
 
173
- ```
174
- URL: https://mcp.hiveintelligence.xyz/mcp
175
- Headers: Authorization: Bearer hive_live_...
176
- ```
177
-
178
- Full setup guides: [hiveintelligence.xyz/install](https://hiveintelligence.xyz/install)
170
+ The hosted MCP (`https://mcp.hiveintelligence.xyz/mcp`) is managed by Hive.
171
+ Local `stdio` installs are pinned to whatever your client last fetched, so:
179
172
 
180
- ## Example prompts
173
+ - Keep `hive-intelligence@latest` in your client config (as shown above) so each
174
+ host restart re-resolves the newest version.
175
+ - Run `hive upgrade` to update a global install and clear the npx cache, then
176
+ restart your MCP client to load it:
181
177
 
182
- Once Hive is connected, talk to your AI client in plain English. Every prompt below maps to a real tool call you don't have to write.
183
-
184
- **Market data**
185
-
186
- ```
187
- What's the price of BTC, ETH, and SOL right now in USD?
188
- Show me the top 10 coins by market cap with 24h change.
189
- What's the OHLCV for ETH/USD over the last 30 days?
190
- Which coins gained the most this week?
191
- What are the current funding rates for BTC perps across exchanges?
192
- ```
193
-
194
- **DeFi**
195
-
196
- ```
197
- What's the current TVL of Aave?
198
- List the top 20 yield pools above 10% APY on Ethereum.
199
- Compare Uniswap and PancakeSwap fee revenue this month.
200
- Show me protocol TVL rankings for Solana.
201
- Which bridges have the highest weekly volume?
202
- ```
203
-
204
- **Wallets and portfolios**
205
-
206
- ```
207
- Show me the portfolio of vitalik.eth across all chains.
208
- What tokens does this wallet hold? 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
209
- Show DeFi positions for this address on Arbitrum.
210
- What was this wallet's PnL over the last 30 days?
211
- List recent NFT trades from this wallet.
178
+ ```bash
179
+ npx -y -p hive-intelligence@latest hive upgrade
212
180
  ```
213
181
 
214
- **Token security**
182
+ `hive` checks npm for newer versions once a day and surfaces the result through
183
+ `hive doctor` and the MCP server instructions, so your agent can prompt you when
184
+ an update is available. Set `HIVE_NO_UPDATE_CHECK=1` to disable the check.
215
185
 
216
- ```
217
- Is this token a honeypot? 0x...
218
- Run a rugpull check on $PEPE.
219
- Show me the top holders of this token and how concentrated they are.
220
- What approvals does this wallet have? Are any risky?
221
- Simulate this transaction before I sign it: <tx hash or calldata>
222
- ```
186
+ ## Use The CLI
223
187
 
224
- **On-chain DEX**
188
+ Search the catalog:
225
189
 
226
- ```
227
- What are the trending pairs on Uniswap V3 right now?
228
- Show me top trades on Solana DEXes in the last hour.
229
- What's the liquidity profile of this pool? <pool address>
230
- Find pairs that whales are accumulating today.
190
+ ```bash
191
+ npx -y -p hive-intelligence@latest hive tools search "token risk"
231
192
  ```
232
193
 
233
- **NFT analytics**
194
+ Inspect a schema before execution:
234
195
 
235
- ```
236
- What's the floor price of CryptoPunks? Show 24h trend.
237
- Compare Bored Apes and Pudgy Penguins on volume.
238
- Show me the trait floor for this collection.
239
- List recent compressed NFT mints on Solana.
196
+ ```bash
197
+ npx -y -p hive-intelligence@latest hive tools info get_price
240
198
  ```
241
199
 
242
- **Prediction markets**
200
+ Call a tool from the terminal:
243
201
 
244
- ```
245
- What are the most-traded events on Polymarket this week?
246
- Show me the top traders on Polymarket by P&L.
247
- What's the implied probability of this market right now?
248
- Trace this trader's position history.
202
+ ```bash
203
+ npx -y -p hive-intelligence@latest hive market price --ids bitcoin --vs usd --json
249
204
  ```
250
205
 
251
- **Network infrastructure**
206
+ Check setup and provider status:
252
207
 
208
+ ```bash
209
+ npx -y -p hive-intelligence@latest hive doctor
210
+ npx -y -p hive-intelligence@latest hive status
253
211
  ```
254
- What are current gas prices on Ethereum, Arbitrum, and Base?
255
- Show me Solana priority fees right now.
256
- List supported chains and their RPC status.
257
- ```
258
-
259
- ## Tool catalog
260
212
 
261
- 376+ tools across 10 categories. Every tool is callable directly via `hive tools call <name>` or through the MCP `tools/call` method.
213
+ Generate client config:
262
214
 
263
- | # | Category | Tools | What's inside |
264
- |---|----------|-------|---------------|
265
- | 1 | **Market Data and Price** | 70+ | Prices, OHLCV, market caps, derivatives, funding rates, stablecoins, gainers/losers, exchange tickers |
266
- | 2 | **On-Chain DEX & Pool Analytics** | 58+ | DEX pools, liquidity, trending pairs, swap history, bridges, GoldRush XY=K analytics |
267
- | 3 | **Portfolio & Wallet** | 49+ | Balances, PnL, DeFi positions, swap history, NFT holdings, multi-chain history |
268
- | 4 | **Token & Contract Data** | 44+ | Token metadata, holders, top traders, ENS resolution, treasury tracking, transfers |
269
- | 5 | **DeFi Protocol Analytics** | 21+ | TVL, fees, yield farming, chain metrics, treasuries, emissions |
270
- | 6 | **NFT Analytics** | 41+ | Collection data, floors, market charts, NFT pools, trait metadata, sales |
271
- | 7 | **Security & Risk Analysis** | 37+ | Honeypot detection, rugpull checks, approval risk, Tenderly simulation, gas estimation |
272
- | 8 | **Network & Infrastructure** | 20+ | Chain health, blocks, gas prices, supported networks, event logs |
273
- | 9 | **Search & Discovery** | 10+ | Cross-provider search, trending coins, categories, token discovery |
274
- | 10 | **Prediction Markets** | 19+ | Polymarket events, traders, outcome prices, trade history, market stats |
275
-
276
- Live category endpoints (for clients that want a smaller scoped tool surface):
277
-
278
- ```
279
- https://mcp.hiveintelligence.xyz/hive_market_data/mcp
280
- https://mcp.hiveintelligence.xyz/hive_onchain_dex/mcp
281
- https://mcp.hiveintelligence.xyz/hive_portfolio_wallet/mcp
282
- https://mcp.hiveintelligence.xyz/hive_token_contract/mcp
283
- https://mcp.hiveintelligence.xyz/hive_defi_protocol/mcp
284
- https://mcp.hiveintelligence.xyz/hive_nft_analytics/mcp
285
- https://mcp.hiveintelligence.xyz/hive_security_risk/mcp
286
- https://mcp.hiveintelligence.xyz/hive_network_infrastructure/mcp
287
- https://mcp.hiveintelligence.xyz/hive_search_discovery/mcp
288
- https://mcp.hiveintelligence.xyz/hive_prediction_markets/mcp
215
+ ```bash
216
+ npx -y -p hive-intelligence@latest hive config claude-code
217
+ npx -y -p hive-intelligence@latest hive config cursor
218
+ npx -y -p hive-intelligence@latest hive config vscode
289
219
  ```
290
220
 
291
- Full live tool list: `https://mcp.hiveintelligence.xyz/api/v1/tools` (requires API key) or [hiveintelligence.xyz/tools/live-catalog](https://hiveintelligence.xyz/tools/live-catalog).
221
+ ## How Agents Should Use Hive
292
222
 
293
- ## Why Hive over a single-provider MCP?
223
+ Hive is designed for retrieval-led agent work:
294
224
 
295
- | | Hive | CoinGecko MCP | Moralis MCP | DefiLlama MCP | GoPlus only |
296
- |---|---|---|---|---|---|
297
- | Providers normalized | **9** | 1 | 1 | 1 | 1 |
298
- | Categories | **10** | 2 | 3 | 1 | 1 |
299
- | Total tools | **376+** | ~50 | ~60 | ~15 | ~20 |
300
- | Market data | | | partial | – | – |
301
- | DeFi TVL + yields | ✓ | – | – | ✓ | – |
302
- | Wallet portfolio | | | | – | – |
303
- | Pre-signing security | **✓** | – | – | – | ✓ |
304
- | DEX pool analytics | ✓ | – | partial | – | – |
305
- | Prediction markets | **✓** | – | – | – | – |
306
- | Solana depth (DAS) | ✓ | – | – | – | – |
307
- | Managed (no ops) | ✓ | ✓ | partial | varies | varies |
225
+ 1. Discover the task surface with `search_tools`, `hive://toolsets`, or
226
+ `hive tools search`.
227
+ 2. Inspect exact parameters with `get_api_endpoint_schema` or
228
+ `hive tools info`.
229
+ 3. Execute through `invoke_api_endpoint`, category tools, REST, or the CLI.
230
+ 4. Preserve provider, freshness, cache, `_hive`, `meta`, and runtime status in
231
+ the final answer.
232
+ 5. Keep reads bounded with `limit`, `page`, `per_page`, or `offset`.
308
233
 
309
- Single-provider MCPs win on niche depth. Hive wins when the agent needs **broad crypto context in one request** — prices + DeFi + wallet + security + DEX in a single conversation, without the user (or the agent) figuring out which tool lives in which provider.
234
+ This flow lets an agent answer questions like:
310
235
 
311
- ## CLI
236
+ - "Is this token safe to buy?"
237
+ - "What changed in this wallet over the last week?"
238
+ - "Compare Aave and Curve by TVL, fees, chains, and risk."
239
+ - "Find active prediction markets for the next Fed decision."
240
+ - "Show the best pools for this token and explain liquidity risk."
241
+ - "Remember this wallet monitor and report when important activity changes."
312
242
 
313
- The `hive` CLI is a thin terminal client over the same Hive API. Set `HIVE_API_KEY` (or `hive auth login` once) and you're done.
243
+ ## MCP Contract
314
244
 
315
- ```bash
316
- # Crypto prices
317
- hive market price --ids bitcoin,ethereum,solana --vs usd
245
+ Root endpoint:
318
246
 
319
- # Top 20 coins by market cap
320
- hive market top --vs usd --limit 20
247
+ ```text
248
+ https://mcp.hiveintelligence.xyz/mcp
249
+ ```
321
250
 
322
- # DeFi protocol TVL
323
- hive defi tvl --protocol aave
251
+ Local development endpoint:
324
252
 
325
- # Token security scan
326
- hive security scan --token 0x...
253
+ ```text
254
+ http://localhost:8080/mcp
255
+ ```
327
256
 
328
- # Wallet portfolio across chains
329
- hive portfolio balance --address 0x...
257
+ Root MCP tools:
330
258
 
331
- # Polymarket event stats
332
- hive prediction markets --event "us-presidential-election-2028"
259
+ - `search_tools`
260
+ - 10 category listing tools, one per crypto domain
261
+ - `get_api_endpoint_schema`
262
+ - `invoke_api_endpoint`
333
263
 
334
- # Search across all 376+ tools
335
- hive tools search "funding rate"
264
+ ## Stateful Monitoring And B2B State
336
265
 
337
- # Run any tool by name
338
- hive tools call get_price --args '{"ids":"bitcoin","vs_currencies":"usd"}'
339
- ```
266
+ Hive's stateful monitor tools let authenticated agents store durable crypto
267
+ intelligence intent in Hive instead of relying on chat memory. Direct users get
268
+ one default state subject per Hive account. B2B partners can use one Hive API
269
+ key from a trusted backend adapter while isolating downstream customers by
270
+ signed tenant/end-user subject headers.
340
271
 
341
- ### CLI domains
272
+ The stateful surface includes monitor CRUD, stored run reads, observations,
273
+ alerts, latest snapshots, memory facts, generated reports, and B2B subject admin
274
+ tools. The scheduled worker runs wallet, token, protocol, market,
275
+ prediction-market, watchlist digest, token discovery risk, and risk watch
276
+ workflows. See
277
+ [`docs/DOCUMENTATION.md`](docs/DOCUMENTATION.md#stateful-monitoring) for the
278
+ full monitor, subject-signing, worker, table, and smoke-test contract.
279
+ For partner products, use
280
+ [`docs/B2B_PARTNER_ADOPTION.md`](docs/B2B_PARTNER_ADOPTION.md) as the
281
+ implementation checklist.
342
282
 
343
- | Domain | What's there |
344
- |--------|--------------|
345
- | `market` | Crypto prices, charts, rankings, stablecoins, gas |
346
- | `defi` | DeFi protocol TVL, fees, yields, bridges |
347
- | `dex` | DEX pools, trending pairs, trades, volume |
348
- | `portfolio` | Wallet balances, DeFi positions, NFTs |
349
- | `security` | Token security scans, approvals, simulations |
350
- | `wallet` | On-chain balances, transfers, transactions |
351
- | `nft` | NFT collections, markets, trends |
352
- | `prediction` | Prediction markets, events, traders, outcomes |
353
- | `exchange` | CEX tickers, orderbooks, trades, funding rates |
354
- | `network` | Chains, gas prices, blocks |
355
- | `search` | Search tokens and pools |
283
+ TypeScript B2B adapters should use `hive-mcp-client/b2b` instead
284
+ of hand-building subject headers or raw monitor calls. If npm returns 404,
285
+ publish the client package with
286
+ [`docs/MCP_CLIENT_RELEASE.md`](docs/MCP_CLIENT_RELEASE.md) before partners
287
+ depend on it:
356
288
 
357
- Run `hive <domain> --help` to see commands within a domain. Run `hive tools list` for the full 376+ tool catalog.
289
+ ```ts
290
+ import { createHiveB2BAdapter } from "hive-mcp-client/b2b";
358
291
 
359
- ### CLI flags
292
+ const hive = await createHiveB2BAdapter({
293
+ apiKey: process.env.HIVE_API_KEY!,
294
+ subjectSigningSecret: process.env.HIVE_SUBJECT_SIGNING_SECRET!,
295
+ });
360
296
 
361
- ```
362
- --json Force JSON envelope output
363
- --pretty Force human-readable output
364
- --fields <list> Comma-separated fields to include
365
- --jq <expr> Filter JSON output (jq-like syntax)
366
- --csv Output as CSV
367
- --timeout <ms> Request timeout (default: 30000)
368
- --no-retry Disable automatic retry
369
- -q, --quiet Suppress non-data output
370
- -v, --verbose Show debug info
297
+ await hive.createWatchlistDigestMonitor(
298
+ { tenantId: workspaceId, endUserId: userId },
299
+ {
300
+ name: "Daily portfolio brief",
301
+ target: { wallets, tokens },
302
+ cadence: "daily",
303
+ },
304
+ );
371
305
  ```
372
306
 
373
- ### Auth and profiles
307
+ Verify a B2B key and signed-subject isolation with:
374
308
 
375
309
  ```bash
376
- hive auth login # Save API key once
377
- hive auth whoami # Show current profile
378
- hive auth profiles # List all profiles
379
- hive auth switch prod # Switch profiles
380
- hive doctor # Check connectivity
310
+ curl https://mcp.hiveintelligence.xyz/api/v1/b2b/readiness \
311
+ -H "Authorization: Bearer $HIVE_API_KEY"
381
312
  ```
382
313
 
383
- ### Shell completion
384
-
385
314
  ```bash
386
- # Bash
387
- eval "$(hive completion bash)"
315
+ HIVE_API_KEY="hive_live_..." \
316
+ HIVE_SUBJECT_SIGNING_SECRET="hive_subject_..." \
317
+ npm run smoke:b2b-partner
318
+ ```
388
319
 
389
- # Zsh
390
- eval "$(hive completion zsh)"
320
+ Discovery resources:
391
321
 
392
- # Fish
393
- hive completion fish > ~/.config/fish/completions/hive.fish
322
+ - `hive://providers`
323
+ - `hive://categories`
324
+ - `hive://tools`
325
+ - `hive://toolsets`
326
+ - `hive://task-canaries`
327
+ - `hive://skills`
328
+ - `hive://status`
394
329
 
395
- # Auto-install
396
- hive completion bash --install
397
- ```
330
+ Reusable prompts:
398
331
 
399
- ### Aliases
332
+ - `analyze_token`
333
+ - `compare_protocols`
334
+ - `portfolio_audit`
400
335
 
401
- ```bash
402
- hive alias set btc 'market price --ids bitcoin --vs usd'
403
- hive btc
404
- ```
336
+ Category-scoped MCP endpoints remain available for clients that need direct
337
+ tool lists:
405
338
 
406
- ## Pricing
339
+ - `/hive_market_data/mcp`
340
+ - `/hive_onchain_dex/mcp`
341
+ - `/hive_portfolio_wallet/mcp`
342
+ - `/hive_token_contract/mcp`
343
+ - `/hive_defi_protocol/mcp`
344
+ - `/hive_nft_analytics/mcp`
345
+ - `/hive_security_risk/mcp`
346
+ - `/hive_network_infrastructure/mcp`
347
+ - `/hive_search_discovery/mcp`
348
+ - `/hive_prediction_markets/mcp`
407
349
 
408
- | Plan | Monthly credits | Rate limit | API keys | Price |
409
- |------|-----------------|------------|----------|-------|
410
- | **Demo** | 10,000 | 30 req/min | 1 | Free |
411
- | **Analyst** | 500,000 | 500 req/min | 10 | $129/mo |
412
- | **Pro** | 2,000,000 | 1,000 req/min | 25 | $499/mo |
413
- | **Enterprise** | Custom | 3,000 req/min | 100 | Custom |
350
+ ## Providers
414
351
 
415
- One credit = one tool call, regardless of upstream provider or response size. Discovery calls (`tools/list`, `GET /api/v1/tools`) are free.
352
+ | Provider | Coverage | Env var |
353
+ | --- | --- | --- |
354
+ | Alchemy | EVM wallet, token, NFT, transfer, simulation, gas, and RPC data | `ALCHEMY_API_KEY` |
355
+ | CoinGecko | Prices, OHLC, trending, news | `COINGECKO_PRO_API_KEY` |
356
+ | DeFiLlama | TVL, yields, fees, bridges | Free |
357
+ | CCXT | CEX data, funding rates, perpetuals | Free |
358
+ | GoPlus | Token, wallet, and dApp security | `GOPLUS_APP_KEY` + `GOPLUS_APP_SECRET` |
359
+ | Codex | DEX analytics and Polymarket prediction markets | `CODEX_API_KEY` |
360
+ | Helius | Solana RPC, DAS, priority fees, wallet history | `HELIUS_API_KEY` |
361
+ | Moralis | Wallet, token, NFT, PnL, DeFi positions | `MORALIS_API_KEY` |
362
+ | Tenderly | EVM simulation, tracing, gas estimation | `TENDERLY_API_KEY` |
416
363
 
417
- Full pricing: [hiveintelligence.xyz/pricing](https://hiveintelligence.xyz/pricing)
364
+ Providers without configured keys remain discoverable and return classified
365
+ runtime status such as `missing_key`, `plan_required`, `rate_limited`,
366
+ `degraded`, or `failing` when execution is unavailable.
418
367
 
419
- Machine-readable pricing for AI agents: [hiveintelligence.xyz/pricing.md](https://hiveintelligence.xyz/pricing.md)
368
+ ## REST API
420
369
 
421
- ## Configuration
370
+ Use REST when your app does not speak MCP.
422
371
 
423
- | Variable | Description |
424
- |----------|-------------|
425
- | `HIVE_API_KEY` | **Required.** API key — or run `hive auth login` |
426
- | `HIVE_API_URL` | Custom base URL (default: `https://mcp.hiveintelligence.xyz`) |
427
- | `API_EXECUTE_ENDPOINT` | Override execute endpoint (advanced) |
372
+ List tools:
428
373
 
429
- ## FAQ
374
+ ```bash
375
+ curl -X GET "https://mcp.hiveintelligence.xyz/api/v1/tools?search=price&limit=20" \
376
+ -H "Authorization: Bearer $HIVE_API_KEY"
377
+ ```
430
378
 
431
- **What is Hive Intelligence?**
432
- A managed MCP server, REST API, and CLI that gives AI agents structured access to live crypto market data, DeFi activity, wallet positions, token security signals, DEX flows, NFTs, prediction markets, and on-chain network data through one normalized tool surface.
379
+ Execute a tool:
433
380
 
434
- **What does an API key cost?**
435
- Free Demo plan with 10,000 monthly credits — no credit card required. Paid plans start at $129/month for 500K credits. Get a key at [hiveintelligence.xyz/dashboard/keys](https://hiveintelligence.xyz/dashboard/keys).
381
+ ```bash
382
+ curl -X POST https://mcp.hiveintelligence.xyz/api/v1/execute \
383
+ -H "Authorization: Bearer $HIVE_API_KEY" \
384
+ -H "Content-Type: application/json" \
385
+ -d '{
386
+ "tool": "get_price",
387
+ "args": {
388
+ "ids": "bitcoin",
389
+ "vs_currencies": "usd"
390
+ }
391
+ }'
392
+ ```
436
393
 
437
- **Why doesn't `npx -y hive-intelligence` show subcommands?**
438
- `hive-intelligence` is the MCP stdio server bin — it opens a JSON-RPC transport and waits for an MCP client. For interactive terminal use, use the `hive` CLI: `npx -y -p hive-intelligence hive --help`.
394
+ ## Troubleshooting
439
395
 
440
- **Which AI clients support MCP?**
441
- Claude Desktop, Claude Code, Claude Mobile, ChatGPT Desktop, Cursor, Windsurf, VS Code (via Copilot Chat), Gemini CLI, and any client implementing the [Model Context Protocol](https://modelcontextprotocol.io). Setup guides for each: [hiveintelligence.xyz/install](https://hiveintelligence.xyz/install).
396
+ | Symptom | What to check |
397
+ | --- | --- |
398
+ | `API key required` | Run `hive auth login`, pass `--api-key`, or set the hosted MCP `Authorization: Bearer ...` header. |
399
+ | `Unsupported engine` or install failure | Use Node.js 20 or newer. |
400
+ | Hosted MCP works in one client but not another | Confirm the client supports custom headers. Claude.ai custom connectors need OAuth-compatible auth, which Hive does not implement yet. |
401
+ | A provider tool returns `missing_key` | The tool is discoverable, but that provider needs an env var such as `ALCHEMY_API_KEY`, `HELIUS_API_KEY`, or `MORALIS_API_KEY`. |
402
+ | A provider returns `rate_limited`, `degraded`, or `failing` | Check `hive status`, `hive doctor`, or `hive://status` for runtime status and retry guidance. |
403
+ | `npx` install/cache errors | Retry with a clean cache: `NPM_CONFIG_CACHE=$(mktemp -d) npx -y -p hive-intelligence@latest hive --help`. |
442
404
 
443
- **Can I use the remote HTTP endpoint instead of stdio?**
444
- Yes. Point your MCP client at `https://mcp.hiveintelligence.xyz/mcp` with `Authorization: Bearer <key>`. Skips the local Node process entirely. Recommended for ChatGPT Desktop, Cursor (cloud), and any HTTP-MCP-aware client.
405
+ ## Develop Locally
445
406
 
446
- **What chains are supported?**
447
- EVM (Ethereum, Arbitrum, Optimism, Base, Polygon, BNB Chain, Avalanche, and 90+ more), Solana with full Helius DAS coverage including compressed NFTs, Bitcoin, and others depending on the provider mix per category.
407
+ Install:
448
408
 
449
- **Is the source code open?**
450
- This package (the CLI and stdio MCP server bin) is MIT-licensed and open source. The managed backend that serves `mcp.hiveintelligence.xyz` is operated as a service.
409
+ ```bash
410
+ npm install
411
+ ```
451
412
 
452
- **How does Hive prevent hallucinated answers?**
453
- Every tool call returns explicit error envelopes with provider attribution and timestamps. Security tools (`get_token_security`, `detect_rugpull`) wrap GoPlus and return structured risk flags. Time-series tools accept point-in-time params (`at`, `block_number`) so agents can answer historical questions without drifting to "latest."
413
+ Run:
454
414
 
455
- **Hive vs CoinGecko MCP / Moralis MCP / DefiLlama MCP?**
456
- Hive normalizes nine providers into one tool surface (376+ tools) covering market data, DeFi, wallets, security, DEX, NFTs, prediction markets, and network infrastructure. Single-provider MCPs go deeper inside their provider's data; Hive goes broader so agents can answer cross-domain questions in one request.
415
+ ```bash
416
+ npm run dev # stdio MCP
417
+ npm run dev:http # HTTP MCP and REST API on :8080
418
+ ```
457
419
 
458
- ## Documentation
420
+ Verify:
459
421
 
460
- - **Quick Start** — [hiveintelligence.xyz/quick-start](https://hiveintelligence.xyz/quick-start)
461
- - **API Reference** — [hiveintelligence.xyz/api-integration](https://hiveintelligence.xyz/api-integration)
462
- - **All Install Guides** — [hiveintelligence.xyz/install](https://hiveintelligence.xyz/install)
463
- - **CLI Reference** — [hiveintelligence.xyz/cli](https://hiveintelligence.xyz/cli)
464
- - **Tool Catalog** — [hiveintelligence.xyz/tools/live-catalog](https://hiveintelligence.xyz/tools/live-catalog)
465
- - **Use Cases** — [hiveintelligence.xyz/use-cases](https://hiveintelligence.xyz/use-cases)
466
- - **What is MCP for crypto?** — [hiveintelligence.xyz/glossary/mcp-crypto](https://hiveintelligence.xyz/glossary/mcp-crypto)
422
+ ```bash
423
+ npm run check
424
+ ```
467
425
 
468
- ## Development
426
+ Focused checks:
469
427
 
470
428
  ```bash
471
- # Install dependencies
472
- npm install
473
-
474
- # Build
475
429
  npm run build
430
+ npm run test:unit
431
+ npm run test:mcp-compliance
432
+ npm run verify:toolsets
433
+ npm run verify:agent-skills
434
+ npm run env:render:check
435
+ ```
476
436
 
477
- # Test with the MCP inspector
478
- npm run inspector
437
+ ## Package Contents
479
438
 
480
- # Run the MCP server locally
481
- npm start
482
- ```
439
+ The `hive-intelligence` npm package includes:
440
+
441
+ - `hive`, `hive-intelligence`, `hive-mcp`, and `hive-mcp-server` binaries.
442
+ - Built MCP server and CLI files in `build/`.
443
+ - Bundled Hive agent skills in `agent-skills/`.
444
+ - Local `stdio` MCP runtime for desktop clients and self-hosting.
445
+
446
+ ## Contributor Context
483
447
 
484
- ## Support
448
+ Core implementation areas:
485
449
 
486
- - **GitHub Issues** [github.com/hive-intel/hive-crypto-mcp/issues](https://github.com/hive-intel/hive-crypto-mcp/issues)
487
- - **Email** — [support@hiveintelligence.xyz](mailto:support@hiveintelligence.xyz)
488
- - **Telegram** [t.me/HiveIntelligence](https://t.me/HiveIntelligence)
489
- - **Twitter / X** — [@Hive_Intel](https://x.com/Hive_Intel)
450
+ - `src/mcpServer.ts` builds the MCP servers, tools, resources, prompts, and
451
+ runtime instructions.
452
+ - `src/server.ts` runs Express, Streamable HTTP MCP, REST routes, auth,
453
+ middleware, discovery descriptors, and shutdown.
454
+ - `src/taskToolsets.ts` defines the workflow surface agents should prefer over
455
+ raw endpoint browsing.
456
+ - `src/cli.ts` and `src/cli/` expose auth, setup, discovery, execution,
457
+ diagnostics, config generation, aliases, and watch mode.
458
+ - `agent-skills/` ships agent-installable Hive skills.
490
459
 
491
- ## License
460
+ ## Links
492
461
 
493
- MIT © Hive Intelligence
462
+ - Website: https://www.hiveintelligence.xyz
463
+ - Hosted MCP: https://mcp.hiveintelligence.xyz/mcp
464
+ - Public SDK and issues: https://github.com/hive-intel/hive-sdk
465
+ - Public tool catalog: https://mcp.hiveintelligence.xyz/api/v1/tools
466
+ - Install guides: https://www.hiveintelligence.xyz/install
467
+ - Quick start: https://www.hiveintelligence.xyz/quick-start