hive-intelligence 1.1.0 → 1.1.3

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 (163) hide show
  1. package/README.md +243 -166
  2. package/agent-skills/.claude-plugin/plugin.json +105 -0
  3. package/{LICENSE → agent-skills/LICENSE} +1 -1
  4. package/agent-skills/README.md +146 -0
  5. package/agent-skills/SKILL.md +68 -0
  6. package/agent-skills/evals/README.md +20 -0
  7. package/agent-skills/evals/trigger-queries.json +194 -0
  8. package/agent-skills/package.json +49 -0
  9. package/agent-skills/packs/hive-build/SKILL.md +327 -0
  10. package/agent-skills/packs/hive-build/evals/evals.json +28 -0
  11. package/agent-skills/packs/hive-build-onboarding/SKILL.md +137 -0
  12. package/agent-skills/packs/hive-build-onboarding/evals/evals.json +27 -0
  13. package/agent-skills/packs/hive-cli/SKILL.md +141 -0
  14. package/agent-skills/packs/hive-cli/evals/evals.json +27 -0
  15. package/agent-skills/packs/hive-defi-research/SKILL.md +42 -0
  16. package/agent-skills/packs/hive-defi-research/evals/evals.json +27 -0
  17. package/agent-skills/packs/hive-defi-research/references/workflow.md +41 -0
  18. package/agent-skills/packs/hive-dex-pool-analysis/SKILL.md +41 -0
  19. package/agent-skills/packs/hive-dex-pool-analysis/evals/evals.json +27 -0
  20. package/agent-skills/packs/hive-dex-pool-analysis/references/workflow.md +42 -0
  21. package/agent-skills/packs/hive-market-research/SKILL.md +45 -0
  22. package/agent-skills/packs/hive-market-research/evals/evals.json +27 -0
  23. package/agent-skills/packs/hive-market-research/references/workflow.md +47 -0
  24. package/agent-skills/packs/hive-mcp/SKILL.md +224 -0
  25. package/agent-skills/packs/hive-mcp/evals/evals.json +38 -0
  26. package/agent-skills/packs/hive-mcp/references/client-install-matrix.md +83 -0
  27. package/agent-skills/packs/hive-network-infrastructure/SKILL.md +44 -0
  28. package/agent-skills/packs/hive-network-infrastructure/evals/evals.json +27 -0
  29. package/agent-skills/packs/hive-network-infrastructure/references/workflow.md +41 -0
  30. package/agent-skills/packs/hive-nft-research/SKILL.md +41 -0
  31. package/agent-skills/packs/hive-nft-research/evals/evals.json +27 -0
  32. package/agent-skills/packs/hive-nft-research/references/workflow.md +42 -0
  33. package/agent-skills/packs/hive-prediction-markets/SKILL.md +44 -0
  34. package/agent-skills/packs/hive-prediction-markets/evals/evals.json +27 -0
  35. package/agent-skills/packs/hive-prediction-markets/references/workflow.md +42 -0
  36. package/agent-skills/packs/hive-query/SKILL.md +98 -0
  37. package/agent-skills/packs/hive-query/evals/evals.json +38 -0
  38. package/agent-skills/packs/hive-query/references/root-mcp-workflow.md +54 -0
  39. package/agent-skills/packs/hive-security-risk/SKILL.md +42 -0
  40. package/agent-skills/packs/hive-security-risk/evals/evals.json +27 -0
  41. package/agent-skills/packs/hive-security-risk/references/workflow.md +46 -0
  42. package/agent-skills/packs/hive-solana-analysis/SKILL.md +42 -0
  43. package/agent-skills/packs/hive-solana-analysis/evals/evals.json +27 -0
  44. package/agent-skills/packs/hive-solana-analysis/references/workflow.md +42 -0
  45. package/agent-skills/packs/hive-token-diligence/SKILL.md +44 -0
  46. package/agent-skills/packs/hive-token-diligence/evals/evals.json +27 -0
  47. package/agent-skills/packs/hive-token-diligence/references/workflow.md +45 -0
  48. package/agent-skills/packs/hive-tool-discovery/SKILL.md +49 -0
  49. package/agent-skills/packs/hive-tool-discovery/evals/evals.json +38 -0
  50. package/agent-skills/packs/hive-tool-discovery/references/discovery-surfaces.md +62 -0
  51. package/agent-skills/packs/hive-wallet-investigation/SKILL.md +42 -0
  52. package/agent-skills/packs/hive-wallet-investigation/evals/evals.json +27 -0
  53. package/agent-skills/packs/hive-wallet-investigation/references/workflow.md +45 -0
  54. package/agent-skills/references/agents-routing.md +49 -0
  55. package/agent-skills/scripts/validate-agent-skills-package.mjs +178 -0
  56. package/agent-skills/skills.sh.json +40 -0
  57. package/bin/hive-mcp.js +33 -0
  58. package/build/{alias-INGXWFCG.js → alias-CZ3DEYHF.js} +3 -3
  59. package/build/api-client-I23XLSHU.js +28 -0
  60. package/build/auth-KKINNBXT.js +40 -0
  61. package/build/browser-auth-EEFGRHWY.js +9 -0
  62. package/build/{cache-US4LSZPI.js → cache-EGNMENNA.js} +3 -3
  63. package/build/chunk-2MYMHMBF.js +340 -0
  64. package/build/chunk-2MYMHMBF.js.map +1 -0
  65. package/build/chunk-2X3U4DFK.js +77369 -0
  66. package/build/chunk-2X3U4DFK.js.map +1 -0
  67. package/build/chunk-B6G222LS.js +265 -0
  68. package/build/chunk-B6G222LS.js.map +1 -0
  69. package/build/{chunk-WKVZVQTG.js → chunk-DYJBTKNR.js} +4 -4
  70. package/build/chunk-DYJBTKNR.js.map +1 -0
  71. package/build/chunk-IDZD2NVG.js +247 -0
  72. package/build/chunk-IDZD2NVG.js.map +1 -0
  73. package/build/chunk-IZTN7WFH.js +250 -0
  74. package/build/chunk-IZTN7WFH.js.map +1 -0
  75. package/build/{chunk-QMRVH5ZP.js → chunk-KBVPIZS4.js} +10 -2
  76. package/build/chunk-KGYBTXIN.js +86 -0
  77. package/build/chunk-KGYBTXIN.js.map +1 -0
  78. package/build/{chunk-X7ETBCBP.js → chunk-MPIUUE3T.js} +60 -272
  79. package/build/chunk-MPIUUE3T.js.map +1 -0
  80. package/build/chunk-PGBVNMNZ.js +127 -0
  81. package/build/chunk-PGBVNMNZ.js.map +1 -0
  82. package/build/chunk-QNCI4DEB.js +88 -0
  83. package/build/chunk-QNCI4DEB.js.map +1 -0
  84. package/build/chunk-RKICZ6DZ.js +497 -0
  85. package/build/chunk-RKICZ6DZ.js.map +1 -0
  86. package/build/chunk-UKHZIVDT.js +44 -0
  87. package/build/chunk-UKHZIVDT.js.map +1 -0
  88. package/build/{chunk-XQJ6PB2L.js → chunk-V77LO4RO.js} +1 -1
  89. package/build/chunk-V77LO4RO.js.map +1 -0
  90. package/build/{chunk-CP3FXEQA.js → chunk-XYBEFFZ3.js} +5 -6
  91. package/build/chunk-XYBEFFZ3.js.map +1 -0
  92. package/build/cli.js +134 -122
  93. package/build/cli.js.map +1 -1
  94. package/build/{completion-SBTSXTR3.js → completion-BELZL7ND.js} +55 -50
  95. package/build/completion-BELZL7ND.js.map +1 -0
  96. package/build/config-TDX4VUGW.js +58 -0
  97. package/build/{config-dir-IEOID7Q6.js → config-dir-V43W2WIA.js} +3 -3
  98. package/build/{doctor-7WZMCQC7.js → doctor-5K5UWHNX.js} +13 -13
  99. package/build/doctor-5K5UWHNX.js.map +1 -0
  100. package/build/{errors-U6UZWVSD.js → errors-E6MVUBNA.js} +3 -3
  101. package/build/format-TSFSI2K7.js +43 -0
  102. package/build/format-TSFSI2K7.js.map +1 -0
  103. package/build/{init-CAVIFVSH.js → init-YQ5NBICF.js} +2 -2
  104. package/build/init-all-6OWEQALB.js +274 -0
  105. package/build/init-all-6OWEQALB.js.map +1 -0
  106. package/build/mcpServer-AEX3RQ4U.js +20 -0
  107. package/build/mcpServer-AEX3RQ4U.js.map +1 -0
  108. package/build/{namespace-7SBV4G7R.js → namespace-PVHBFDW2.js} +3 -3
  109. package/build/namespace-PVHBFDW2.js.map +1 -0
  110. package/build/{open-FUXYIHFO.js → open-YUIJP37F.js} +6 -6
  111. package/build/open-YUIJP37F.js.map +1 -0
  112. package/build/{output-7PGQWJY2.js → output-IYJBFCYK.js} +3 -3
  113. package/build/output-IYJBFCYK.js.map +1 -0
  114. package/build/serve-KWNJK6EY.js +44 -0
  115. package/build/serve-KWNJK6EY.js.map +1 -0
  116. package/build/server.js +4749 -14332
  117. package/build/server.js.map +1 -1
  118. package/build/setup-YTUKMPNP.js +136 -0
  119. package/build/setup-YTUKMPNP.js.map +1 -0
  120. package/build/stdio.js +31 -0
  121. package/build/stdio.js.map +1 -0
  122. package/build/{telemetry-KNWMQURH.js → telemetry-5IPRKZBL.js} +4 -4
  123. package/build/telemetry-5IPRKZBL.js.map +1 -0
  124. package/build/{tools-XEGCLA4I.js → tools-PJHWFCAG.js} +15 -15
  125. package/build/uninstall-HWXEIP6K.js +115 -0
  126. package/build/uninstall-HWXEIP6K.js.map +1 -0
  127. package/build/{watch-A75SVIQ6.js → watch-KZ5EDZK3.js} +7 -7
  128. package/package.json +124 -24
  129. package/bin/hive.js +0 -25
  130. package/build/auth-77MKFFBQ.js +0 -233
  131. package/build/auth-77MKFFBQ.js.map +0 -1
  132. package/build/chunk-CP3FXEQA.js.map +0 -1
  133. package/build/chunk-DTUDM6HX.js +0 -3108
  134. package/build/chunk-DTUDM6HX.js.map +0 -1
  135. package/build/chunk-LBTLYTZS.js +0 -115
  136. package/build/chunk-LBTLYTZS.js.map +0 -1
  137. package/build/chunk-OK3LSM73.js +0 -22
  138. package/build/chunk-OK3LSM73.js.map +0 -1
  139. package/build/chunk-RRI526CJ.js +0 -212
  140. package/build/chunk-RRI526CJ.js.map +0 -1
  141. package/build/chunk-WKVZVQTG.js.map +0 -1
  142. package/build/chunk-X7ETBCBP.js.map +0 -1
  143. package/build/chunk-XQJ6PB2L.js.map +0 -1
  144. package/build/completion-SBTSXTR3.js.map +0 -1
  145. package/build/config-2VDB2ZHE.js +0 -100
  146. package/build/config-2VDB2ZHE.js.map +0 -1
  147. package/build/doctor-7WZMCQC7.js.map +0 -1
  148. package/build/format-CVLLK6GD.js +0 -75
  149. package/build/format-CVLLK6GD.js.map +0 -1
  150. package/build/open-FUXYIHFO.js.map +0 -1
  151. package/build/version-3TZ3U4IR.js +0 -9
  152. /package/build/{alias-INGXWFCG.js.map → alias-CZ3DEYHF.js.map} +0 -0
  153. /package/build/{chunk-QMRVH5ZP.js.map → api-client-I23XLSHU.js.map} +0 -0
  154. /package/build/{config-dir-IEOID7Q6.js.map → auth-KKINNBXT.js.map} +0 -0
  155. /package/build/{errors-U6UZWVSD.js.map → browser-auth-EEFGRHWY.js.map} +0 -0
  156. /package/build/{cache-US4LSZPI.js.map → cache-EGNMENNA.js.map} +0 -0
  157. /package/build/{namespace-7SBV4G7R.js.map → chunk-KBVPIZS4.js.map} +0 -0
  158. /package/build/{output-7PGQWJY2.js.map → config-TDX4VUGW.js.map} +0 -0
  159. /package/build/{telemetry-KNWMQURH.js.map → config-dir-V43W2WIA.js.map} +0 -0
  160. /package/build/{version-3TZ3U4IR.js.map → errors-E6MVUBNA.js.map} +0 -0
  161. /package/build/{init-CAVIFVSH.js.map → init-YQ5NBICF.js.map} +0 -0
  162. /package/build/{tools-XEGCLA4I.js.map → tools-PJHWFCAG.js.map} +0 -0
  163. /package/build/{watch-A75SVIQ6.js.map → watch-KZ5EDZK3.js.map} +0 -0
package/README.md CHANGED
@@ -1,269 +1,346 @@
1
1
  # Hive Intelligence
2
2
 
3
- MCP server and CLI for cryptocurrency, Web3, and financial market analytics. Access **389 tools** across **14 categories** from your AI assistant or terminal.
3
+ Crypto intelligence for AI agents, shipped as an MCP server and CLI.
4
4
 
5
- ## Install
5
+ `hive-intelligence` gives Claude Code, Cursor, VS Code, ChatGPT Desktop,
6
+ Gemini CLI, Codex, and custom agents one way to discover and call live crypto
7
+ data. Agents get a compact MCP surface, schema lookup, bounded execution,
8
+ provider provenance, and runtime status instead of a wall of raw endpoints.
6
9
 
7
10
  ```bash
8
- npm install -g hive-intelligence
11
+ npx -y -p hive-intelligence@latest hive init --all --browser
9
12
  ```
10
13
 
11
- This gives you two commands:
14
+ Use the hosted MCP when you want Hive to run the server, auth, rate limits, and
15
+ provider infrastructure. Use local `stdio` when you want a desktop/self-hosted
16
+ MCP process or provider-key experiments.
12
17
 
13
- | Command | Purpose |
14
- |---------|---------|
15
- | `hive-intelligence` | MCP stdio server for AI clients (Claude Desktop, Cursor, VS Code, etc.) |
16
- | `hive` | CLI tool for terminal usage |
18
+ ## What You Get
17
19
 
18
- > **Note:** `hive-intelligence` is an MCP stdio server running it directly opens a stdio transport that waits for JSON-RPC messages. It is not interactive and does not accept subcommands. For terminal usage, use the `hive` CLI.
20
+ - 351 provider tools across market data, wallets, DeFi, DEX, NFTs, token and
21
+ contract data, security risk, network infrastructure, search, Solana, and
22
+ prediction markets.
23
+ - A compact root MCP endpoint with 13 discovery and execution tools, so agents
24
+ can route before they call.
25
+ - Task toolsets for market research, token diligence, wallet investigation,
26
+ security checks, DEX pool analysis, DeFi research, NFT research, Solana
27
+ analysis, network infrastructure, and prediction markets.
28
+ - A CLI for auth, client setup, tool discovery, schema inspection, direct tool
29
+ calls, diagnostics, aliases, and polling.
30
+ - Runtime resources for providers, categories, full tool catalog, task
31
+ toolsets, canaries, skills, and status metadata.
32
+ - Shipped agent skills that teach assistants how to use Hive through discovery,
33
+ schema lookup, bounded execution, and provenance-aware reporting.
19
34
 
20
- ### Run without installing
35
+ ## Install Fast
21
36
 
22
- The CLI is a separate bin in the same package, so with `npx` you must select it explicitly via `-p`:
37
+ Requirements:
23
38
 
24
- ```bash
25
- # Run the CLI via npx (note: -p selects the package, `hive` is the bin)
26
- HIVE_API_KEY=hive_live_... npx -y -p hive-intelligence hive --help
27
- HIVE_API_KEY=hive_live_... npx -y -p hive-intelligence hive market price --ids bitcoin --vs usd
39
+ - Node.js 20+
40
+ - npm
41
+ - A Hive API key for the hosted MCP or hosted REST API
28
42
 
29
- # Plain `npx -y hive-intelligence` launches the MCP stdio server, not the CLI.
30
- ```
43
+ Create a key in the Hive dashboard:
31
44
 
32
- ## API Key
45
+ ```text
46
+ https://www.hiveintelligence.xyz/login?next=/dashboard/keys
47
+ ```
33
48
 
34
- An API key is required. Get one at [hiveintelligence.xyz](https://hiveintelligence.xyz) and set it as an environment variable:
49
+ Then configure your client:
35
50
 
36
51
  ```bash
37
- export HIVE_API_KEY="hive_live_..."
52
+ npx -y -p hive-intelligence@latest hive auth login
53
+ npx -y -p hive-intelligence@latest hive config claude-code
38
54
  ```
39
55
 
40
- Or use the CLI login:
56
+ For one-command setup across detected local clients:
41
57
 
42
58
  ```bash
43
- hive auth login
59
+ npx -y -p hive-intelligence@latest hive init --all --browser
44
60
  ```
45
61
 
46
- ## MCP Server Setup
62
+ ## Connect Hosted MCP
47
63
 
48
- ### Claude Desktop
64
+ Hosted MCP URL:
49
65
 
50
- Add to your config file:
66
+ ```text
67
+ https://mcp.hiveintelligence.xyz/mcp
68
+ ```
69
+
70
+ Claude Code:
71
+
72
+ ```bash
73
+ claude mcp add --transport http --header "Authorization: Bearer YOUR_HIVE_API_KEY" hive https://mcp.hiveintelligence.xyz/mcp
74
+ ```
51
75
 
52
- - **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
53
- - **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
76
+ Generic MCP JSON for clients that support remote HTTP and custom headers:
54
77
 
55
78
  ```json
56
79
  {
57
80
  "mcpServers": {
58
81
  "hive": {
59
- "command": "npx",
60
- "args": ["-y", "hive-intelligence"],
61
- "env": {
62
- "HIVE_API_KEY": "hive_live_..."
82
+ "url": "https://mcp.hiveintelligence.xyz/mcp",
83
+ "headers": {
84
+ "Authorization": "Bearer YOUR_HIVE_API_KEY"
63
85
  }
64
86
  }
65
87
  }
66
88
  }
67
89
  ```
68
90
 
69
- ### Cursor
91
+ Header-based API key auth works for MCP clients that support custom headers,
92
+ including Claude Code, Cursor, VS Code, Windsurf, Gemini CLI, Codex, and
93
+ ChatGPT Desktop. Claude.ai custom connectors and directory submissions require
94
+ OAuth-compatible auth; Hive does not implement OAuth/CIMD yet.
95
+
96
+ ## Run Local stdio MCP
70
97
 
71
- Add to `.cursor/mcp.json`:
98
+ Use local `stdio` when you want a self-hosted MCP process, local desktop config,
99
+ or your own upstream provider keys.
72
100
 
73
101
  ```json
74
102
  {
75
103
  "mcpServers": {
76
- "hive": {
104
+ "hive-local": {
77
105
  "command": "npx",
78
- "args": ["-y", "hive-intelligence"],
106
+ "args": ["-y", "-p", "hive-intelligence@latest", "hive"],
79
107
  "env": {
80
- "HIVE_API_KEY": "hive_live_..."
108
+ "COINGECKO_PRO_API_KEY": "optional",
109
+ "ALCHEMY_API_KEY": "optional",
110
+ "HELIUS_API_KEY": "optional",
111
+ "MORALIS_API_KEY": "optional"
81
112
  }
82
113
  }
83
114
  }
84
115
  }
85
116
  ```
86
117
 
87
- ### VS Code
118
+ Running `hive` with no subcommand starts the `stdio` MCP server. `hive-mcp`
119
+ remains available as a backward-compatible binary alias.
88
120
 
89
- Add to `.vscode/mcp.json`:
121
+ ## Use The CLI
90
122
 
91
- ```json
92
- {
93
- "servers": {
94
- "hive": {
95
- "type": "stdio",
96
- "command": "npx",
97
- "args": ["-y", "hive-intelligence"],
98
- "env": {
99
- "HIVE_API_KEY": "hive_live_..."
100
- }
101
- }
102
- }
103
- }
123
+ Search the catalog:
124
+
125
+ ```bash
126
+ npx -y -p hive-intelligence@latest hive tools search "token risk"
104
127
  ```
105
128
 
106
- ### Claude Code
129
+ Inspect a schema before execution:
107
130
 
108
131
  ```bash
109
- claude mcp add hive-intelligence -e HIVE_API_KEY=hive_live_... -- npx -y hive-intelligence
132
+ npx -y -p hive-intelligence@latest hive tools info get_price
110
133
  ```
111
134
 
112
- ### Remote MCP Server
135
+ Call a tool from the terminal:
136
+
137
+ ```bash
138
+ npx -y -p hive-intelligence@latest hive market price --ids bitcoin --vs usd --json
139
+ ```
113
140
 
114
- For clients that support HTTP transport:
141
+ Check setup and provider status:
115
142
 
143
+ ```bash
144
+ npx -y -p hive-intelligence@latest hive doctor
145
+ npx -y -p hive-intelligence@latest hive status
116
146
  ```
117
- URL: https://mcp.hiveintelligence.xyz/mcp
118
- Headers: { "Authorization": "Bearer hive_live_..." }
147
+
148
+ Useful setup commands:
149
+
150
+ ```bash
151
+ npx -y -p hive-intelligence@latest hive config claude-desktop
152
+ npx -y -p hive-intelligence@latest hive config cursor
153
+ npx -y -p hive-intelligence@latest hive config vscode
119
154
  ```
120
155
 
121
- More details: https://hiveintelligence.xyz/crypto-mcp
156
+ Use `--json` for scripts and agents. Use `--pretty` for human-readable output.
122
157
 
123
- ## CLI Usage
158
+ ## How Agents Should Use Hive
124
159
 
125
- The `hive` CLI is a lightweight client that talks to the Hive API. Set `HIVE_API_KEY` (or run `hive auth login`) before making calls.
160
+ Hive is designed for retrieval-led agent work:
126
161
 
127
- ```bash
128
- # Get Bitcoin price
129
- hive market price --ids bitcoin --vs usd
162
+ 1. Discover the task surface with `search_tools`, `hive://toolsets`, or
163
+ `hive tools search`.
164
+ 2. Inspect exact parameters with `get_api_endpoint_schema` or
165
+ `hive tools info`.
166
+ 3. Execute through `invoke_api_endpoint`, category tools, REST, or the CLI.
167
+ 4. Preserve provider, freshness, cache, `_hive`, `meta`, and runtime status in
168
+ the final answer.
169
+ 5. Keep reads bounded with `limit`, `page`, `per_page`, or `offset`.
130
170
 
131
- # Top coins by market cap
132
- hive market top --vs usd --limit 10
171
+ This flow lets an agent answer questions like:
133
172
 
134
- # DeFi protocol TVL
135
- hive defi tvl --protocol aave
173
+ - "Is this token safe to buy?"
174
+ - "What changed in this wallet over the last week?"
175
+ - "Compare Aave and Curve by TVL, fees, chains, and risk."
176
+ - "Find active prediction markets for the next Fed decision."
177
+ - "Show the best pools for this token and explain liquidity risk."
136
178
 
137
- # Stock quote
138
- hive stocks quote --symbol AAPL
179
+ ## MCP Contract
139
180
 
140
- # Search across all tools
141
- hive tools search "price"
181
+ Root endpoint:
142
182
 
143
- # Run any tool by name
144
- hive tools call get_price --args '{"ids": "ethereum", "vs_currencies": "usd"}'
183
+ ```text
184
+ https://mcp.hiveintelligence.xyz/mcp
145
185
  ```
146
186
 
147
- ### CLI Commands
148
-
149
- | Domain | Description |
150
- |--------|-------------|
151
- | `market` | Crypto prices, charts, rankings, stablecoins, gas |
152
- | `defi` | DeFi protocol TVL, fees, yields, bridges |
153
- | `portfolio` | Wallet balances, DeFi positions, NFTs |
154
- | `security` | Token security scans, approvals, simulations |
155
- | `stocks` | Stock quotes, candles, financials, analyst ratings |
156
- | `macro` | Economic calendar, market status, country data |
157
- | `prediction` | Prediction markets, events, traders, outcomes |
158
- | `exchange` | CEX tickers, orderbooks, trades, funding rates |
159
- | `dex` | DEX pools, trending pairs, trades, volume |
160
- | `wallet` | On-chain balances, transfers, transactions |
161
- | `nft` | NFT collections, markets, trends |
162
- | `network` | Chains, gas prices, blocks |
163
- | `search` | Search tokens and pools |
164
- | `altdata` | Insider trades, earnings, IPOs |
165
-
166
- ### CLI Options
187
+ Local development endpoint:
167
188
 
168
- ```
169
- --json Force JSON output
170
- --pretty Force human-readable output
171
- --fields <list> Comma-separated fields to include
172
- --jq <expr> Filter JSON output (jq-like syntax)
173
- --csv Output as CSV
174
- --timeout <ms> Request timeout (default: 30000)
175
- --no-retry Disable automatic retry
176
- -q, --quiet Suppress non-data output
177
- -v, --verbose Show debug info
189
+ ```text
190
+ http://localhost:8080/mcp
178
191
  ```
179
192
 
180
- ### Authentication and Profiles
193
+ Root MCP tools:
181
194
 
182
- ```bash
183
- # Log in with API key
184
- hive auth login
195
+ - `search_tools`
196
+ - 10 category listing tools, one per crypto domain
197
+ - `get_api_endpoint_schema`
198
+ - `invoke_api_endpoint`
185
199
 
186
- # Check connectivity
187
- hive doctor
200
+ Discovery resources:
188
201
 
189
- # Show current profile
190
- hive auth whoami
202
+ - `hive://providers`
203
+ - `hive://categories`
204
+ - `hive://tools`
205
+ - `hive://toolsets`
206
+ - `hive://task-canaries`
207
+ - `hive://skills`
208
+ - `hive://status`
191
209
 
192
- # Manage multiple profiles
193
- hive auth profiles
194
- hive auth switch production
195
- ```
210
+ Reusable prompts:
196
211
 
197
- ### Shell Completion
212
+ - `analyze_token`
213
+ - `compare_protocols`
214
+ - `portfolio_audit`
198
215
 
199
- ```bash
200
- # Bash
201
- eval "$(hive completion bash)"
216
+ Category-scoped MCP endpoints remain available for clients that need direct
217
+ tool lists:
202
218
 
203
- # Zsh
204
- eval "$(hive completion zsh)"
219
+ - `/hive_market_data/mcp`
220
+ - `/hive_onchain_dex/mcp`
221
+ - `/hive_portfolio_wallet/mcp`
222
+ - `/hive_token_contract/mcp`
223
+ - `/hive_defi_protocol/mcp`
224
+ - `/hive_nft_analytics/mcp`
225
+ - `/hive_security_risk/mcp`
226
+ - `/hive_network_infrastructure/mcp`
227
+ - `/hive_search_discovery/mcp`
228
+ - `/hive_prediction_markets/mcp`
205
229
 
206
- # Fish
207
- hive completion fish > ~/.config/fish/completions/hive.fish
230
+ ## Providers
208
231
 
209
- # Auto-install
210
- hive completion bash --install
211
- ```
232
+ | Provider | Coverage | Env var |
233
+ | --- | --- | --- |
234
+ | Alchemy | EVM wallet, token, NFT, transfer, simulation, gas, and RPC data | `ALCHEMY_API_KEY` |
235
+ | CoinGecko | Prices, OHLC, trending, news | `COINGECKO_PRO_API_KEY` |
236
+ | DeFiLlama | TVL, yields, fees, bridges | Free |
237
+ | CCXT | CEX data, funding rates, perpetuals | Free |
238
+ | GoPlus | Token, wallet, and dApp security | `GOPLUS_APP_KEY` + `GOPLUS_APP_SECRET` |
239
+ | Codex | DEX analytics and Polymarket prediction markets | `CODEX_API_KEY` |
240
+ | Helius | Solana RPC, DAS, priority fees, wallet history | `HELIUS_API_KEY` |
241
+ | Moralis | Wallet, token, NFT, PnL, DeFi positions | `MORALIS_API_KEY` |
242
+ | Tenderly | EVM simulation, tracing, gas estimation | `TENDERLY_API_KEY` |
212
243
 
213
- ### Aliases
244
+ Providers without configured keys remain discoverable and return classified
245
+ runtime status such as `missing_key`, `plan_required`, `rate_limited`,
246
+ `degraded`, or `failing` when execution is unavailable.
214
247
 
215
- ```bash
216
- hive alias set btc 'market price --ids bitcoin --vs usd'
217
- hive btc
218
- ```
248
+ ## REST API
219
249
 
220
- ## Analytics Categories (389 Tools)
250
+ Use REST when your app does not speak MCP.
221
251
 
222
- | # | Category | Tools | Description |
223
- |---|----------|-------|-------------|
224
- | 1 | Market Data & Price | 70 | Real-time/historical prices, OHLCV, market caps, stablecoins, derivatives, funding rates |
225
- | 2 | On-Chain DEX & Pool | 58 | DEX pools, liquidity, trending pairs, volume, bridges, GoldRush XY=K analytics |
226
- | 3 | Portfolio & Wallet | 50 | Wallet balances, PnL, DeFi positions, swap history, Moralis & GoldRush intelligence |
227
- | 4 | Token & Contract | 44 | Token metadata, holders, Moralis analytics, ENS resolution, treasury tracking |
228
- | 5 | DeFi Protocol | 21 | TVL data, protocol fees, yield farming, chain metrics, treasuries |
229
- | 6 | NFT Analytics | 41 | Collection data, market charts, liquidity pools, GoldRush NFT metadata & traits |
230
- | 7 | Security & Risk | 37 | Token security, honeypot detection, Tenderly simulation, gas estimation |
231
- | 8 | Network & Infrastructure | 20 | Network health, block data, chain statuses, event logs |
232
- | 9 | Search & Discovery | 10 | Coin search, trending analysis, categories, token discovery |
233
- | 10 | Stocks & Equities | 8 | Real-time quotes, candles, company profiles, recommendations |
234
- | 11 | Forex & Commodities | 4 | Forex rates, commodity prices (gold, silver, platinum) |
235
- | 12 | Economic Indicators | 3 | Economic calendar, market status, country data |
236
- | 13 | Alternative Data | 5 | Insider trading, sentiment scores, earnings/IPO calendar |
237
- | 14 | Prediction Markets | 19 | Polymarket/Kalshi events, trader stats, outcome prices, trade history |
252
+ List tools:
238
253
 
239
- ## Data Providers
254
+ ```bash
255
+ curl -X GET "https://mcp.hiveintelligence.xyz/api/v1/tools?search=price&limit=20" \
256
+ -H "Authorization: Bearer $HIVE_API_KEY"
257
+ ```
240
258
 
241
- CoinGecko, DefiLlama, GeckoTerminal, Codex (Defined.fi), Moralis, GoPlus, GoldRush (Covalent), Tenderly, CCXT, Finnhub
259
+ Execute a tool:
242
260
 
243
- ## Environment Variables
261
+ ```bash
262
+ curl -X POST https://mcp.hiveintelligence.xyz/api/v1/execute \
263
+ -H "Authorization: Bearer $HIVE_API_KEY" \
264
+ -H "Content-Type: application/json" \
265
+ -d '{
266
+ "tool": "get_price",
267
+ "args": {
268
+ "ids": "bitcoin",
269
+ "vs_currencies": "usd"
270
+ }
271
+ }'
272
+ ```
244
273
 
245
- | Variable | Description |
246
- |----------|-------------|
247
- | `HIVE_API_KEY` | **Required.** API key (or use `hive auth login`) |
248
- | `HIVE_API_URL` | Custom server URL (default: `https://mcp.hiveintelligence.xyz`) |
249
- | `API_EXECUTE_ENDPOINT` | Override MCP server backend URL |
274
+ ## Develop Locally
250
275
 
251
- ## Development
276
+ Install:
252
277
 
253
278
  ```bash
254
- # Install dependencies
255
279
  npm install
280
+ ```
256
281
 
257
- # Build
258
- npm run build
282
+ Run:
259
283
 
260
- # Test with MCP inspector
261
- npm run inspector
284
+ ```bash
285
+ npm run dev # stdio MCP
286
+ npm run dev:http # HTTP MCP and REST API on :8080
287
+ ```
262
288
 
263
- # Start MCP server locally
264
- npm start
289
+ Verify:
290
+
291
+ ```bash
292
+ npm run check
265
293
  ```
266
294
 
267
- ## License
295
+ Focused checks:
296
+
297
+ ```bash
298
+ npm run build
299
+ npm run test:unit
300
+ npm run test:mcp-compliance
301
+ npm run verify:toolsets
302
+ npm run verify:agent-skills
303
+ npm run env:render:check
304
+ ```
268
305
 
269
- MIT
306
+ Use focused checks while iterating. Run `npm run check` before releases and
307
+ after changes to shared MCP behavior, auth, middleware, provider routing, task
308
+ toolsets, generated metadata, or CLI setup paths.
309
+
310
+ ## Package Contents
311
+
312
+ The `hive-intelligence` npm package includes:
313
+
314
+ - `hive`, `hive-intelligence`, `hive-mcp`, and `hive-mcp-server` binaries.
315
+ - Built MCP server and CLI files in `build/`.
316
+ - Bundled Hive agent skills in `agent-skills/`.
317
+ - Local `stdio` MCP runtime for desktop clients and self-hosting.
318
+
319
+ ## Architecture Map
320
+
321
+ - `src/mcpServer.ts` builds root/category MCP servers, tools, resources,
322
+ prompts, and runtime instructions.
323
+ - `src/server.ts` runs Express, Streamable HTTP MCP, REST routes, auth, rate
324
+ limits, CORS, security headers, discovery descriptors, and shutdown.
325
+ - `src/toolRegistry.ts` defines the 10 category surfaces.
326
+ - `src/wrapper/allEndpoints.ts` maps provider tools into the public Hive tool
327
+ catalog.
328
+ - `src/taskToolsets.ts` defines the workflow surface agents should prefer over
329
+ raw endpoint browsing.
330
+ - `src/agentSkills.ts` and `agent-skills/` ship agent-installable Hive skills.
331
+ - `src/cli.ts` and `src/cli/` expose auth, setup, discovery, execution,
332
+ diagnostics, config generation, aliases, and watch mode.
333
+ - `packages/mcp-client/` contains the typed client adapter.
334
+ - `tests/` covers unit, integration, E2E, MCP compliance, live, security, and
335
+ Docker readiness paths.
336
+
337
+ ## Links
338
+
339
+ - Website: https://www.hiveintelligence.xyz
340
+ - Hosted MCP: https://mcp.hiveintelligence.xyz/mcp
341
+ - Docs overview: https://github.com/sharpe-labs/hive-mcp2/blob/master/docs/DOCUMENTATION.md
342
+ - Tool reference: https://github.com/sharpe-labs/hive-mcp2/blob/master/docs/TOOLS_REFERENCE.md
343
+ - Agent instructions: https://github.com/sharpe-labs/hive-mcp2/blob/master/AGENTS.md
344
+ - Contributing: https://github.com/sharpe-labs/hive-mcp2/blob/master/CONTRIBUTING.md
345
+ - Security: https://github.com/sharpe-labs/hive-mcp2/blob/master/SECURITY.md
346
+ - Changelog: https://github.com/sharpe-labs/hive-mcp2/blob/master/CHANGELOG.md
@@ -0,0 +1,105 @@
1
+ {
2
+ "name": "hive-agent-skills",
3
+ "version": "1.0.0",
4
+ "description": "Hive Intelligence skills for Claude Code, Cursor, Codex, and other agents. Covers Hive MCP setup, tool discovery, crypto workflows, CLI flows, and PKCE-based authentication. Install via `npx -y -p hive-intelligence@latest hive init --all --browser` or copy the packs into the target agent skills directory.",
5
+ "author": {
6
+ "name": "Hive Intelligence",
7
+ "url": "https://www.hiveintelligence.xyz",
8
+ "email": "support@hiveintelligence.xyz"
9
+ },
10
+ "homepage": "https://www.hiveintelligence.xyz",
11
+ "repository": "https://github.com/sharpe-labs/hive-mcp2",
12
+ "license": "MIT",
13
+ "skills": [
14
+ {
15
+ "name": "hive-cli",
16
+ "path": "../packs/hive-cli/SKILL.md",
17
+ "description": "Use the `hive` CLI inline from a chat — query prices, scan wallets, check token security, automate briefings."
18
+ },
19
+ {
20
+ "name": "hive-mcp",
21
+ "path": "../packs/hive-mcp/SKILL.md",
22
+ "description": "Add Hive's MCP server to Claude Code, Cursor, VS Code, Windsurf, Claude Desktop, ChatGPT, or Gemini CLI. Per-client instructions."
23
+ },
24
+ {
25
+ "name": "hive-build-onboarding",
26
+ "path": "../packs/hive-build-onboarding/SKILL.md",
27
+ "description": "Walk the user through PKCE-based browser auth. Use when the user has no API key or cannot find theirs."
28
+ },
29
+ {
30
+ "name": "hive-build",
31
+ "path": "../packs/hive-build/SKILL.md",
32
+ "description": "Integrate Hive into app code via REST or MCP SDK. Python, TypeScript, Go, Java, Rust patterns with retry / async / typed responses."
33
+ },
34
+ {
35
+ "name": "hive-query",
36
+ "path": "../packs/hive-query/SKILL.md",
37
+ "description": "Route crypto questions through canonical task toolsets, schema lookup, and exact tool invocation."
38
+ },
39
+ {
40
+ "name": "hive-tool-discovery",
41
+ "path": "../packs/hive-tool-discovery/SKILL.md",
42
+ "description": "Find the right Hive tool, task toolset, schema, or endpoint before execution."
43
+ },
44
+ {
45
+ "name": "hive-market-research",
46
+ "path": "../packs/hive-market-research/SKILL.md",
47
+ "description": "Research live prices, liquidity, exchanges, OHLC, order books, funding rates, and derivatives."
48
+ },
49
+ {
50
+ "name": "hive-token-diligence",
51
+ "path": "../packs/hive-token-diligence/SKILL.md",
52
+ "description": "Investigate token metadata, market context, liquidity, holders, enrichment, and risk."
53
+ },
54
+ {
55
+ "name": "hive-wallet-investigation",
56
+ "path": "../packs/hive-wallet-investigation/SKILL.md",
57
+ "description": "Inspect wallet balances, transfers, NFTs, PnL, DeFi positions, and notable activity."
58
+ },
59
+ {
60
+ "name": "hive-security-risk",
61
+ "path": "../packs/hive-security-risk/SKILL.md",
62
+ "description": "Check token, approval, address, dApp, phishing, contract, and simulation risk."
63
+ },
64
+ {
65
+ "name": "hive-dex-pool-analysis",
66
+ "path": "../packs/hive-dex-pool-analysis/SKILL.md",
67
+ "description": "Analyze pools, pairs, liquidity, trades, OHLCV, and DEX flow."
68
+ },
69
+ {
70
+ "name": "hive-defi-research",
71
+ "path": "../packs/hive-defi-research/SKILL.md",
72
+ "description": "Analyze DeFi protocols, TVL, fees, revenue, stablecoins, bridges, and yields."
73
+ },
74
+ {
75
+ "name": "hive-nft-research",
76
+ "path": "../packs/hive-nft-research/SKILL.md",
77
+ "description": "Research NFT collections, ownership, metadata, floors, sales, rarity, and spam checks."
78
+ },
79
+ {
80
+ "name": "hive-solana-analysis",
81
+ "path": "../packs/hive-solana-analysis/SKILL.md",
82
+ "description": "Analyze Solana wallets, SPL accounts, DAS assets, parsed transactions, and priority fees."
83
+ },
84
+ {
85
+ "name": "hive-network-infrastructure",
86
+ "path": "../packs/hive-network-infrastructure/SKILL.md",
87
+ "description": "Read chain state, gas, blocks, receipts, logs, transaction status, and RPC diagnostics."
88
+ },
89
+ {
90
+ "name": "hive-prediction-markets",
91
+ "path": "../packs/hive-prediction-markets/SKILL.md",
92
+ "description": "Research prediction markets, events, outcomes, market stats, traders, holders, and trades."
93
+ }
94
+ ],
95
+ "tags": [
96
+ "crypto",
97
+ "mcp",
98
+ "api",
99
+ "agent-skill",
100
+ "defi",
101
+ "wallet-analytics",
102
+ "token-security",
103
+ "solana"
104
+ ]
105
+ }
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Hive Intelligence
3
+ Copyright (c) 2026 Hive Intelligence
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal