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.
- package/README.md +243 -166
- package/agent-skills/.claude-plugin/plugin.json +105 -0
- package/{LICENSE → agent-skills/LICENSE} +1 -1
- package/agent-skills/README.md +146 -0
- package/agent-skills/SKILL.md +68 -0
- package/agent-skills/evals/README.md +20 -0
- package/agent-skills/evals/trigger-queries.json +194 -0
- package/agent-skills/package.json +49 -0
- package/agent-skills/packs/hive-build/SKILL.md +327 -0
- package/agent-skills/packs/hive-build/evals/evals.json +28 -0
- package/agent-skills/packs/hive-build-onboarding/SKILL.md +137 -0
- package/agent-skills/packs/hive-build-onboarding/evals/evals.json +27 -0
- package/agent-skills/packs/hive-cli/SKILL.md +141 -0
- package/agent-skills/packs/hive-cli/evals/evals.json +27 -0
- package/agent-skills/packs/hive-defi-research/SKILL.md +42 -0
- package/agent-skills/packs/hive-defi-research/evals/evals.json +27 -0
- package/agent-skills/packs/hive-defi-research/references/workflow.md +41 -0
- package/agent-skills/packs/hive-dex-pool-analysis/SKILL.md +41 -0
- package/agent-skills/packs/hive-dex-pool-analysis/evals/evals.json +27 -0
- package/agent-skills/packs/hive-dex-pool-analysis/references/workflow.md +42 -0
- package/agent-skills/packs/hive-market-research/SKILL.md +45 -0
- package/agent-skills/packs/hive-market-research/evals/evals.json +27 -0
- package/agent-skills/packs/hive-market-research/references/workflow.md +47 -0
- package/agent-skills/packs/hive-mcp/SKILL.md +224 -0
- package/agent-skills/packs/hive-mcp/evals/evals.json +38 -0
- package/agent-skills/packs/hive-mcp/references/client-install-matrix.md +83 -0
- package/agent-skills/packs/hive-network-infrastructure/SKILL.md +44 -0
- package/agent-skills/packs/hive-network-infrastructure/evals/evals.json +27 -0
- package/agent-skills/packs/hive-network-infrastructure/references/workflow.md +41 -0
- package/agent-skills/packs/hive-nft-research/SKILL.md +41 -0
- package/agent-skills/packs/hive-nft-research/evals/evals.json +27 -0
- package/agent-skills/packs/hive-nft-research/references/workflow.md +42 -0
- package/agent-skills/packs/hive-prediction-markets/SKILL.md +44 -0
- package/agent-skills/packs/hive-prediction-markets/evals/evals.json +27 -0
- package/agent-skills/packs/hive-prediction-markets/references/workflow.md +42 -0
- package/agent-skills/packs/hive-query/SKILL.md +98 -0
- package/agent-skills/packs/hive-query/evals/evals.json +38 -0
- package/agent-skills/packs/hive-query/references/root-mcp-workflow.md +54 -0
- package/agent-skills/packs/hive-security-risk/SKILL.md +42 -0
- package/agent-skills/packs/hive-security-risk/evals/evals.json +27 -0
- package/agent-skills/packs/hive-security-risk/references/workflow.md +46 -0
- package/agent-skills/packs/hive-solana-analysis/SKILL.md +42 -0
- package/agent-skills/packs/hive-solana-analysis/evals/evals.json +27 -0
- package/agent-skills/packs/hive-solana-analysis/references/workflow.md +42 -0
- package/agent-skills/packs/hive-token-diligence/SKILL.md +44 -0
- package/agent-skills/packs/hive-token-diligence/evals/evals.json +27 -0
- package/agent-skills/packs/hive-token-diligence/references/workflow.md +45 -0
- package/agent-skills/packs/hive-tool-discovery/SKILL.md +49 -0
- package/agent-skills/packs/hive-tool-discovery/evals/evals.json +38 -0
- package/agent-skills/packs/hive-tool-discovery/references/discovery-surfaces.md +62 -0
- package/agent-skills/packs/hive-wallet-investigation/SKILL.md +42 -0
- package/agent-skills/packs/hive-wallet-investigation/evals/evals.json +27 -0
- package/agent-skills/packs/hive-wallet-investigation/references/workflow.md +45 -0
- package/agent-skills/references/agents-routing.md +49 -0
- package/agent-skills/scripts/validate-agent-skills-package.mjs +178 -0
- package/agent-skills/skills.sh.json +40 -0
- package/bin/hive-mcp.js +33 -0
- package/build/{alias-INGXWFCG.js → alias-CZ3DEYHF.js} +3 -3
- package/build/api-client-I23XLSHU.js +28 -0
- package/build/auth-KKINNBXT.js +40 -0
- package/build/browser-auth-EEFGRHWY.js +9 -0
- package/build/{cache-US4LSZPI.js → cache-EGNMENNA.js} +3 -3
- package/build/chunk-2MYMHMBF.js +340 -0
- package/build/chunk-2MYMHMBF.js.map +1 -0
- package/build/chunk-2X3U4DFK.js +77369 -0
- package/build/chunk-2X3U4DFK.js.map +1 -0
- package/build/chunk-B6G222LS.js +265 -0
- package/build/chunk-B6G222LS.js.map +1 -0
- package/build/{chunk-WKVZVQTG.js → chunk-DYJBTKNR.js} +4 -4
- package/build/chunk-DYJBTKNR.js.map +1 -0
- package/build/chunk-IDZD2NVG.js +247 -0
- package/build/chunk-IDZD2NVG.js.map +1 -0
- package/build/chunk-IZTN7WFH.js +250 -0
- package/build/chunk-IZTN7WFH.js.map +1 -0
- package/build/{chunk-QMRVH5ZP.js → chunk-KBVPIZS4.js} +10 -2
- package/build/chunk-KGYBTXIN.js +86 -0
- package/build/chunk-KGYBTXIN.js.map +1 -0
- package/build/{chunk-X7ETBCBP.js → chunk-MPIUUE3T.js} +60 -272
- package/build/chunk-MPIUUE3T.js.map +1 -0
- package/build/chunk-PGBVNMNZ.js +127 -0
- package/build/chunk-PGBVNMNZ.js.map +1 -0
- package/build/chunk-QNCI4DEB.js +88 -0
- package/build/chunk-QNCI4DEB.js.map +1 -0
- package/build/chunk-RKICZ6DZ.js +497 -0
- package/build/chunk-RKICZ6DZ.js.map +1 -0
- package/build/chunk-UKHZIVDT.js +44 -0
- package/build/chunk-UKHZIVDT.js.map +1 -0
- package/build/{chunk-XQJ6PB2L.js → chunk-V77LO4RO.js} +1 -1
- package/build/chunk-V77LO4RO.js.map +1 -0
- package/build/{chunk-CP3FXEQA.js → chunk-XYBEFFZ3.js} +5 -6
- package/build/chunk-XYBEFFZ3.js.map +1 -0
- package/build/cli.js +134 -122
- package/build/cli.js.map +1 -1
- package/build/{completion-SBTSXTR3.js → completion-BELZL7ND.js} +55 -50
- package/build/completion-BELZL7ND.js.map +1 -0
- package/build/config-TDX4VUGW.js +58 -0
- package/build/{config-dir-IEOID7Q6.js → config-dir-V43W2WIA.js} +3 -3
- package/build/{doctor-7WZMCQC7.js → doctor-5K5UWHNX.js} +13 -13
- package/build/doctor-5K5UWHNX.js.map +1 -0
- package/build/{errors-U6UZWVSD.js → errors-E6MVUBNA.js} +3 -3
- package/build/format-TSFSI2K7.js +43 -0
- package/build/format-TSFSI2K7.js.map +1 -0
- package/build/{init-CAVIFVSH.js → init-YQ5NBICF.js} +2 -2
- package/build/init-all-6OWEQALB.js +274 -0
- package/build/init-all-6OWEQALB.js.map +1 -0
- package/build/mcpServer-AEX3RQ4U.js +20 -0
- package/build/mcpServer-AEX3RQ4U.js.map +1 -0
- package/build/{namespace-7SBV4G7R.js → namespace-PVHBFDW2.js} +3 -3
- package/build/namespace-PVHBFDW2.js.map +1 -0
- package/build/{open-FUXYIHFO.js → open-YUIJP37F.js} +6 -6
- package/build/open-YUIJP37F.js.map +1 -0
- package/build/{output-7PGQWJY2.js → output-IYJBFCYK.js} +3 -3
- package/build/output-IYJBFCYK.js.map +1 -0
- package/build/serve-KWNJK6EY.js +44 -0
- package/build/serve-KWNJK6EY.js.map +1 -0
- package/build/server.js +4749 -14332
- package/build/server.js.map +1 -1
- package/build/setup-YTUKMPNP.js +136 -0
- package/build/setup-YTUKMPNP.js.map +1 -0
- package/build/stdio.js +31 -0
- package/build/stdio.js.map +1 -0
- package/build/{telemetry-KNWMQURH.js → telemetry-5IPRKZBL.js} +4 -4
- package/build/telemetry-5IPRKZBL.js.map +1 -0
- package/build/{tools-XEGCLA4I.js → tools-PJHWFCAG.js} +15 -15
- package/build/uninstall-HWXEIP6K.js +115 -0
- package/build/uninstall-HWXEIP6K.js.map +1 -0
- package/build/{watch-A75SVIQ6.js → watch-KZ5EDZK3.js} +7 -7
- package/package.json +124 -24
- package/bin/hive.js +0 -25
- package/build/auth-77MKFFBQ.js +0 -233
- package/build/auth-77MKFFBQ.js.map +0 -1
- package/build/chunk-CP3FXEQA.js.map +0 -1
- package/build/chunk-DTUDM6HX.js +0 -3108
- package/build/chunk-DTUDM6HX.js.map +0 -1
- package/build/chunk-LBTLYTZS.js +0 -115
- package/build/chunk-LBTLYTZS.js.map +0 -1
- package/build/chunk-OK3LSM73.js +0 -22
- package/build/chunk-OK3LSM73.js.map +0 -1
- package/build/chunk-RRI526CJ.js +0 -212
- package/build/chunk-RRI526CJ.js.map +0 -1
- package/build/chunk-WKVZVQTG.js.map +0 -1
- package/build/chunk-X7ETBCBP.js.map +0 -1
- package/build/chunk-XQJ6PB2L.js.map +0 -1
- package/build/completion-SBTSXTR3.js.map +0 -1
- package/build/config-2VDB2ZHE.js +0 -100
- package/build/config-2VDB2ZHE.js.map +0 -1
- package/build/doctor-7WZMCQC7.js.map +0 -1
- package/build/format-CVLLK6GD.js +0 -75
- package/build/format-CVLLK6GD.js.map +0 -1
- package/build/open-FUXYIHFO.js.map +0 -1
- package/build/version-3TZ3U4IR.js +0 -9
- /package/build/{alias-INGXWFCG.js.map → alias-CZ3DEYHF.js.map} +0 -0
- /package/build/{chunk-QMRVH5ZP.js.map → api-client-I23XLSHU.js.map} +0 -0
- /package/build/{config-dir-IEOID7Q6.js.map → auth-KKINNBXT.js.map} +0 -0
- /package/build/{errors-U6UZWVSD.js.map → browser-auth-EEFGRHWY.js.map} +0 -0
- /package/build/{cache-US4LSZPI.js.map → cache-EGNMENNA.js.map} +0 -0
- /package/build/{namespace-7SBV4G7R.js.map → chunk-KBVPIZS4.js.map} +0 -0
- /package/build/{output-7PGQWJY2.js.map → config-TDX4VUGW.js.map} +0 -0
- /package/build/{telemetry-KNWMQURH.js.map → config-dir-V43W2WIA.js.map} +0 -0
- /package/build/{version-3TZ3U4IR.js.map → errors-E6MVUBNA.js.map} +0 -0
- /package/build/{init-CAVIFVSH.js.map → init-YQ5NBICF.js.map} +0 -0
- /package/build/{tools-XEGCLA4I.js.map → tools-PJHWFCAG.js.map} +0 -0
- /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
|
-
|
|
3
|
+
Crypto intelligence for AI agents, shipped as an MCP server and CLI.
|
|
4
4
|
|
|
5
|
-
|
|
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
|
-
|
|
11
|
+
npx -y -p hive-intelligence@latest hive init --all --browser
|
|
9
12
|
```
|
|
10
13
|
|
|
11
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
35
|
+
## Install Fast
|
|
21
36
|
|
|
22
|
-
|
|
37
|
+
Requirements:
|
|
23
38
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
30
|
-
```
|
|
43
|
+
Create a key in the Hive dashboard:
|
|
31
44
|
|
|
32
|
-
|
|
45
|
+
```text
|
|
46
|
+
https://www.hiveintelligence.xyz/login?next=/dashboard/keys
|
|
47
|
+
```
|
|
33
48
|
|
|
34
|
-
|
|
49
|
+
Then configure your client:
|
|
35
50
|
|
|
36
51
|
```bash
|
|
37
|
-
|
|
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
|
-
|
|
56
|
+
For one-command setup across detected local clients:
|
|
41
57
|
|
|
42
58
|
```bash
|
|
43
|
-
hive
|
|
59
|
+
npx -y -p hive-intelligence@latest hive init --all --browser
|
|
44
60
|
```
|
|
45
61
|
|
|
46
|
-
##
|
|
62
|
+
## Connect Hosted MCP
|
|
47
63
|
|
|
48
|
-
|
|
64
|
+
Hosted MCP URL:
|
|
49
65
|
|
|
50
|
-
|
|
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
|
-
|
|
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
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
"
|
|
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
|
-
|
|
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
|
-
|
|
121
|
+
## Use The CLI
|
|
90
122
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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
|
-
|
|
129
|
+
Inspect a schema before execution:
|
|
107
130
|
|
|
108
131
|
```bash
|
|
109
|
-
|
|
132
|
+
npx -y -p hive-intelligence@latest hive tools info get_price
|
|
110
133
|
```
|
|
111
134
|
|
|
112
|
-
|
|
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
|
-
|
|
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
|
-
|
|
118
|
-
|
|
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
|
-
|
|
156
|
+
Use `--json` for scripts and agents. Use `--pretty` for human-readable output.
|
|
122
157
|
|
|
123
|
-
##
|
|
158
|
+
## How Agents Should Use Hive
|
|
124
159
|
|
|
125
|
-
|
|
160
|
+
Hive is designed for retrieval-led agent work:
|
|
126
161
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
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
|
-
|
|
132
|
-
hive market top --vs usd --limit 10
|
|
171
|
+
This flow lets an agent answer questions like:
|
|
133
172
|
|
|
134
|
-
|
|
135
|
-
|
|
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
|
-
|
|
138
|
-
hive stocks quote --symbol AAPL
|
|
179
|
+
## MCP Contract
|
|
139
180
|
|
|
140
|
-
|
|
141
|
-
hive tools search "price"
|
|
181
|
+
Root endpoint:
|
|
142
182
|
|
|
143
|
-
|
|
144
|
-
|
|
183
|
+
```text
|
|
184
|
+
https://mcp.hiveintelligence.xyz/mcp
|
|
145
185
|
```
|
|
146
186
|
|
|
147
|
-
|
|
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
|
-
|
|
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
|
-
|
|
193
|
+
Root MCP tools:
|
|
181
194
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
195
|
+
- `search_tools`
|
|
196
|
+
- 10 category listing tools, one per crypto domain
|
|
197
|
+
- `get_api_endpoint_schema`
|
|
198
|
+
- `invoke_api_endpoint`
|
|
185
199
|
|
|
186
|
-
|
|
187
|
-
hive doctor
|
|
200
|
+
Discovery resources:
|
|
188
201
|
|
|
189
|
-
|
|
190
|
-
hive
|
|
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
|
-
|
|
193
|
-
hive auth profiles
|
|
194
|
-
hive auth switch production
|
|
195
|
-
```
|
|
210
|
+
Reusable prompts:
|
|
196
211
|
|
|
197
|
-
|
|
212
|
+
- `analyze_token`
|
|
213
|
+
- `compare_protocols`
|
|
214
|
+
- `portfolio_audit`
|
|
198
215
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
eval "$(hive completion bash)"
|
|
216
|
+
Category-scoped MCP endpoints remain available for clients that need direct
|
|
217
|
+
tool lists:
|
|
202
218
|
|
|
203
|
-
|
|
204
|
-
|
|
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
|
-
|
|
207
|
-
hive completion fish > ~/.config/fish/completions/hive.fish
|
|
230
|
+
## Providers
|
|
208
231
|
|
|
209
|
-
|
|
210
|
-
|
|
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
|
-
|
|
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
|
-
|
|
216
|
-
hive alias set btc 'market price --ids bitcoin --vs usd'
|
|
217
|
-
hive btc
|
|
218
|
-
```
|
|
248
|
+
## REST API
|
|
219
249
|
|
|
220
|
-
|
|
250
|
+
Use REST when your app does not speak MCP.
|
|
221
251
|
|
|
222
|
-
|
|
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
|
-
|
|
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
|
-
|
|
259
|
+
Execute a tool:
|
|
242
260
|
|
|
243
|
-
|
|
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
|
-
|
|
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
|
-
|
|
276
|
+
Install:
|
|
252
277
|
|
|
253
278
|
```bash
|
|
254
|
-
# Install dependencies
|
|
255
279
|
npm install
|
|
280
|
+
```
|
|
256
281
|
|
|
257
|
-
|
|
258
|
-
npm run build
|
|
282
|
+
Run:
|
|
259
283
|
|
|
260
|
-
|
|
261
|
-
npm run
|
|
284
|
+
```bash
|
|
285
|
+
npm run dev # stdio MCP
|
|
286
|
+
npm run dev:http # HTTP MCP and REST API on :8080
|
|
287
|
+
```
|
|
262
288
|
|
|
263
|
-
|
|
264
|
-
|
|
289
|
+
Verify:
|
|
290
|
+
|
|
291
|
+
```bash
|
|
292
|
+
npm run check
|
|
265
293
|
```
|
|
266
294
|
|
|
267
|
-
|
|
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
|
-
|
|
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
|
+
}
|