hive-intelligence 0.3.0 → 0.4.0

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 CHANGED
@@ -1,112 +1,231 @@
1
- # Hive Intelligence MCP Server
1
+ # Hive Intelligence
2
2
 
3
- A Model Context Protocol (MCP) server providing comprehensive cryptocurrency, Web3, and financial market analytics through intelligent tool orchestration.
3
+ MCP server and CLI for cryptocurrency, Web3, and financial market analytics. Access **389 tools** across **14 categories** from your AI assistant or terminal.
4
4
 
5
- ## Overview
5
+ ## Install
6
6
 
7
- Hive Intelligence MCP Server enables AI assistants to access a wide range of cryptocurrency, DeFi, Web3, equities, forex, and macroeconomic analytics through a unified MCP interface. The server provides both dynamic and category-specific access to **351 specialized tools** across **14 analytics categories**, powered by data from CoinGecko, LunarCrush, DefiLlama, GeckoTerminal, Codex, DeBank, GoPlus, GoldRush, CCXT, Finnhub, FRED, and more.
7
+ ```bash
8
+ npm install -g hive-intelligence
9
+ ```
8
10
 
9
- ### Analytics Categories
11
+ This gives you two commands:
10
12
 
11
- | # | Category | Tools | Description |
12
- |---|----------|-------|-------------|
13
- | 1 | **Market Data & Price** | 83 | Real-time/historical prices, OHLCV, market caps, stablecoins, CEX trading data, derivatives, funding rates, options |
14
- | 2 | **On-Chain DEX & Pool** | 44 | DEX pools, liquidity, trending pairs, OHLCV, trader stats, volume analytics, cross-chain bridges |
15
- | 3 | **Portfolio & Wallet** | 38 | Wallet balances, transaction history, DeFi positions, multi-chain portfolio tracking, Bitcoin wallets |
16
- | 4 | **Token & Contract** | 27 | Token metadata, holder distributions, contract analysis, treasury tracking, transaction forensics |
17
- | 5 | **DeFi Protocol** | 23 | TVL data, protocol fees, yield farming, chain metrics, treasuries, raises, emissions |
18
- | 6 | **NFT Analytics** | 37 | Collection data, market charts, liquidity pools, holder analysis, cross-chain NFT tracking |
19
- | 7 | **Security & Risk** | 20 | Token security, honeypot detection, phishing detection, rugpull analysis, approval auditing |
20
- | 8 | **Network & Infrastructure** | 24 | Network health, gas prices, block data, event logs, chain statuses, address resolution |
21
- | 9 | **Search & Discovery** | 10 | Coin search, trending analysis, categories, token discovery, exchange listings |
22
- | 10 | **Social & Sentiment** | 17 | Social analytics, influencer tracking, news aggregation, Galaxy Score, AltRank |
23
- | 11 | **Stocks & Equities** | 8 | Real-time quotes, historical candles, company profiles, analyst recommendations |
24
- | 12 | **Forex & Commodities** | 4 | Forex rates, currency pair candles, commodity prices (gold, silver, platinum) |
25
- | 13 | **Economic Indicators** | 13 | GDP, CPI, fed rate, treasury yields, unemployment, S&P 500, FRED time series |
26
- | 14 | **Alternative Data** | 5 | Insider trading, sentiment scores, earnings calendar, IPO calendar |
27
-
28
- ### Data Providers
29
-
30
- - **CoinGecko** - Market data, coin metadata, exchanges, NFTs, derivatives
31
- - **LunarCrush** - Social sentiment, Galaxy Score, AltRank, influencer tracking
32
- - **DefiLlama** - TVL, protocol fees, yields, stablecoins, bridges, treasuries, hacks
33
- - **GeckoTerminal** - On-chain DEX pools, OHLCV, trades, trending pairs
34
- - **Codex** - Token pairs, liquidity, trader analytics, chart data, wallet filtering
35
- - **DeBank** - EVM wallet portfolios, DeFi positions, protocol analytics, token info
36
- - **GoPlus** - Token/NFT security, honeypot detection, phishing, rugpull analysis
37
- - **GoldRush (Covalent)** - 100+ chain coverage, token balances, transactions, NFTs, Bitcoin
38
- - **CCXT** - CEX trading data, order books, OHLCV, funding rates, derivatives
39
- - **Finnhub** - Stock quotes, company profiles, forex, commodities, insider trading
40
- - **FRED** - 800,000+ economic time series, GDP, CPI, interest rates
41
-
42
- ## Installation
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 |
43
17
 
44
- ```bash
45
- # Install dependencies
46
- npm install
18
+ ## MCP Server Setup
47
19
 
48
- # Build the server
49
- npm run build
20
+ ### Claude Desktop
50
21
 
51
- # Start the server
52
- npm start
53
- ```
22
+ Add to your config file:
54
23
 
55
- ### MCP Client Configuration
56
-
57
- Add to your MCP client configuration:
24
+ - **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
25
+ - **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
58
26
 
59
27
  ```json
60
28
  {
61
29
  "mcpServers": {
62
30
  "hive": {
63
31
  "command": "npx",
64
- "args": ["-y", "mcp-hive"]
32
+ "args": ["-y", "hive-intelligence"]
65
33
  }
66
34
  }
67
35
  }
68
36
  ```
69
37
 
70
- ## Usage
38
+ ### Cursor
71
39
 
72
- ### Claude Desktop Configuration
40
+ Add to `.cursor/mcp.json`:
73
41
 
74
- Add to your Claude Desktop configuration file:
42
+ ```json
43
+ {
44
+ "mcpServers": {
45
+ "hive": {
46
+ "command": "npx",
47
+ "args": ["-y", "hive-intelligence"]
48
+ }
49
+ }
50
+ }
51
+ ```
52
+
53
+ ### VS Code
75
54
 
76
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
77
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
55
+ Add to `.vscode/mcp.json`:
78
56
 
79
57
  ```json
80
58
  {
81
- "mcpServers": {
82
- "hive-mcp": {
59
+ "servers": {
60
+ "hive": {
61
+ "type": "stdio",
83
62
  "command": "npx",
84
- "args": ["-y", "mcp-hive"]
63
+ "args": ["-y", "hive-intelligence"]
85
64
  }
86
65
  }
87
66
  }
88
67
  ```
89
68
 
90
- ## Development
69
+ ### Claude Code
70
+
71
+ ```bash
72
+ claude mcp add hive-intelligence -- npx -y hive-intelligence
73
+ ```
74
+
75
+ ### Remote MCP Server
91
76
 
92
- ### Building
77
+ For clients that support HTTP transport:
78
+
79
+ ```
80
+ https://mcp.hiveintelligence.xyz/mcp
81
+ ```
82
+
83
+ More details: https://hiveintelligence.xyz/crypto-mcp
84
+
85
+ ## CLI Usage
86
+
87
+ The `hive` CLI is a lightweight client that talks to the Hive API. No API keys needed to get started.
93
88
 
94
89
  ```bash
95
- # Development build
96
- npm run build
90
+ # Get Bitcoin price
91
+ hive market price --ids bitcoin --vs usd
92
+
93
+ # Top coins by market cap
94
+ hive market top --vs usd --limit 10
95
+
96
+ # DeFi protocol TVL
97
+ hive defi tvl --protocol aave
98
+
99
+ # Stock quote
100
+ hive stocks quote --symbol AAPL
101
+
102
+ # Search across all tools
103
+ hive tools search "price"
104
+
105
+ # Run any tool by name
106
+ hive tools call get_price --args '{"ids": "ethereum", "vs_currencies": "usd"}'
107
+ ```
108
+
109
+ ### CLI Commands
110
+
111
+ | Domain | Description |
112
+ |--------|-------------|
113
+ | `market` | Crypto prices, charts, rankings, stablecoins, gas |
114
+ | `defi` | DeFi protocol TVL, fees, yields, bridges |
115
+ | `portfolio` | Wallet balances, DeFi positions, NFTs |
116
+ | `security` | Token security scans, approvals, simulations |
117
+ | `stocks` | Stock quotes, candles, financials, analyst ratings |
118
+ | `macro` | Economic calendar, market status, country data |
119
+ | `prediction` | Prediction markets, events, traders, outcomes |
120
+ | `exchange` | CEX tickers, orderbooks, trades, funding rates |
121
+ | `dex` | DEX pools, trending pairs, trades, volume |
122
+ | `wallet` | On-chain balances, transfers, transactions |
123
+ | `nft` | NFT collections, markets, trends |
124
+ | `network` | Chains, gas prices, blocks |
125
+ | `search` | Search tokens and pools |
126
+ | `altdata` | Insider trades, earnings, IPOs |
127
+
128
+ ### CLI Options
97
129
 
98
- # Production build with executable permissions
99
- npm run prepare
130
+ ```
131
+ --json Force JSON output
132
+ --pretty Force human-readable output
133
+ --fields <list> Comma-separated fields to include
134
+ --jq <expr> Filter JSON output (jq-like syntax)
135
+ --csv Output as CSV
136
+ --timeout <ms> Request timeout (default: 30000)
137
+ --no-retry Disable automatic retry
138
+ -q, --quiet Suppress non-data output
139
+ -v, --verbose Show debug info
100
140
  ```
101
141
 
102
- ### Testing
142
+ ### Authentication and Profiles
103
143
 
104
144
  ```bash
105
- # Use MCP inspector for testing
145
+ # Log in with API key
146
+ hive auth login
147
+
148
+ # Check connectivity
149
+ hive doctor
150
+
151
+ # Show current profile
152
+ hive auth whoami
153
+
154
+ # Manage multiple profiles
155
+ hive auth profiles
156
+ hive auth switch production
157
+ ```
158
+
159
+ ### Shell Completion
160
+
161
+ ```bash
162
+ # Bash
163
+ eval "$(hive completion bash)"
164
+
165
+ # Zsh
166
+ eval "$(hive completion zsh)"
167
+
168
+ # Fish
169
+ hive completion fish > ~/.config/fish/completions/hive.fish
170
+
171
+ # Auto-install
172
+ hive completion bash --install
173
+ ```
174
+
175
+ ### Aliases
176
+
177
+ ```bash
178
+ hive alias set btc 'market price --ids bitcoin --vs usd'
179
+ hive btc
180
+ ```
181
+
182
+ ## Analytics Categories (389 Tools)
183
+
184
+ | # | Category | Tools | Description |
185
+ |---|----------|-------|-------------|
186
+ | 1 | Market Data & Price | 70 | Real-time/historical prices, OHLCV, market caps, stablecoins, derivatives, funding rates |
187
+ | 2 | On-Chain DEX & Pool | 58 | DEX pools, liquidity, trending pairs, volume, bridges, GoldRush XY=K analytics |
188
+ | 3 | Portfolio & Wallet | 50 | Wallet balances, PnL, DeFi positions, swap history, Moralis & GoldRush intelligence |
189
+ | 4 | Token & Contract | 44 | Token metadata, holders, Moralis analytics, ENS resolution, treasury tracking |
190
+ | 5 | DeFi Protocol | 21 | TVL data, protocol fees, yield farming, chain metrics, treasuries |
191
+ | 6 | NFT Analytics | 41 | Collection data, market charts, liquidity pools, GoldRush NFT metadata & traits |
192
+ | 7 | Security & Risk | 37 | Token security, honeypot detection, Tenderly simulation, gas estimation |
193
+ | 8 | Network & Infrastructure | 20 | Network health, block data, chain statuses, event logs |
194
+ | 9 | Search & Discovery | 10 | Coin search, trending analysis, categories, token discovery |
195
+ | 10 | Stocks & Equities | 8 | Real-time quotes, candles, company profiles, recommendations |
196
+ | 11 | Forex & Commodities | 4 | Forex rates, commodity prices (gold, silver, platinum) |
197
+ | 12 | Economic Indicators | 3 | Economic calendar, market status, country data |
198
+ | 13 | Alternative Data | 5 | Insider trading, sentiment scores, earnings/IPO calendar |
199
+ | 14 | Prediction Markets | 19 | Polymarket/Kalshi events, trader stats, outcome prices, trade history |
200
+
201
+ ## Data Providers
202
+
203
+ CoinGecko, DefiLlama, GeckoTerminal, Codex (Defined.fi), Moralis, GoPlus, GoldRush (Covalent), Tenderly, CCXT, Finnhub
204
+
205
+ ## Environment Variables
206
+
207
+ | Variable | Description |
208
+ |----------|-------------|
209
+ | `HIVE_API_KEY` | API key (or use `hive auth login`) |
210
+ | `HIVE_API_URL` | Custom server URL (default: `https://mcp.hiveintelligence.xyz`) |
211
+ | `API_EXECUTE_ENDPOINT` | Override MCP server backend URL |
212
+
213
+ ## Development
214
+
215
+ ```bash
216
+ # Install dependencies
217
+ npm install
218
+
219
+ # Build
220
+ npm run build
221
+
222
+ # Test with MCP inspector
106
223
  npm run inspector
224
+
225
+ # Start MCP server locally
226
+ npm start
107
227
  ```
108
- ---
109
228
 
110
- ## Remote MCP Server
111
- Checkout the guide to use Hive's remote MCP server:
112
- https://hiveintelligence.xyz/crypto-mcp
229
+ ## License
230
+
231
+ MIT
@@ -121,7 +121,7 @@ var NAMESPACE = [
121
121
  {
122
122
  name: "protocols",
123
123
  description: "All DeFi protocols",
124
- tool: "get_protocols"
124
+ tool: "get_defi_protocols"
125
125
  },
126
126
  {
127
127
  name: "fees",
@@ -155,7 +155,7 @@ var NAMESPACE = [
155
155
  {
156
156
  name: "balance",
157
157
  description: "Wallet total balance",
158
- tool: "get_wallet_balance",
158
+ tool: "get_wallet_balances",
159
159
  args: {
160
160
  id: {
161
161
  flag: "--address <addr>",
@@ -167,7 +167,7 @@ var NAMESPACE = [
167
167
  {
168
168
  name: "tokens",
169
169
  description: "Token holdings",
170
- tool: "get_wallet_token_balances",
170
+ tool: "goldrush_get_token_balances",
171
171
  args: {
172
172
  id: {
173
173
  flag: "--address <addr>",
@@ -179,7 +179,7 @@ var NAMESPACE = [
179
179
  {
180
180
  name: "positions",
181
181
  description: "DeFi positions",
182
- tool: "get_wallet_defi_positions",
182
+ tool: "moralis_get_wallet_defi_positions",
183
183
  args: {
184
184
  id: {
185
185
  flag: "--address <addr>",
@@ -413,105 +413,69 @@ var NAMESPACE = [
413
413
  },
414
414
  {
415
415
  name: "macro",
416
- description: "Macroeconomic indicators \u2014 GDP, CPI, rates, employment, calendar",
416
+ description: "Economic calendar, market status, and country data",
417
417
  commands: [
418
- { name: "gdp", description: "US GDP", tool: "fred_get_gdp" },
419
- {
420
- name: "cpi",
421
- description: "CPI inflation rate",
422
- tool: "fred_get_inflation"
423
- },
424
- {
425
- name: "fed-rate",
426
- description: "Federal funds rate",
427
- tool: "fred_get_fed_rate"
428
- },
429
- {
430
- name: "treasury",
431
- description: "10-year treasury yield",
432
- tool: "fred_get_treasury_10y"
433
- },
434
- {
435
- name: "unemployment",
436
- description: "Unemployment rate",
437
- tool: "fred_get_unemployment"
438
- },
439
- { name: "sp500", description: "S&P 500 index", tool: "fred_get_sp500" },
440
418
  {
441
419
  name: "calendar",
442
420
  description: "Economic event calendar",
443
421
  tool: "finnhub_get_economic_calendar"
444
422
  },
445
423
  {
446
- name: "search",
447
- description: "Search FRED series",
448
- tool: "fred_search_series",
424
+ name: "market-status",
425
+ description: "Market open/close status",
426
+ tool: "finnhub_get_market_status",
449
427
  args: {
450
- search_text: {
451
- flag: "--query <text>",
452
- description: "Search term",
428
+ exchange: {
429
+ flag: "--exchange <code>",
430
+ description: "Exchange code (e.g., US, L, T)",
453
431
  required: true
454
432
  }
455
433
  }
434
+ },
435
+ {
436
+ name: "countries",
437
+ description: "Supported countries list",
438
+ tool: "finnhub_get_country_list"
456
439
  }
457
440
  ]
458
441
  },
459
442
  {
460
- name: "social",
461
- description: "Social media analytics \u2014 sentiment, influencers, trending topics",
443
+ name: "prediction",
444
+ description: "Prediction markets \u2014 events, traders, outcomes (Polymarket, Kalshi)",
462
445
  commands: [
463
446
  {
464
- name: "trending",
465
- description: "Trending topics",
466
- tool: "get_trending_topics"
447
+ name: "categories",
448
+ description: "Prediction market categories",
449
+ tool: "codex_prediction_categories"
467
450
  },
468
451
  {
469
- name: "metrics",
470
- description: "Topic engagement metrics",
471
- tool: "get_topic_metrics",
452
+ name: "events",
453
+ description: "Filter prediction events",
454
+ tool: "codex_filter_prediction_events",
472
455
  args: {
473
- topic: {
474
- flag: "--topic <name>",
475
- description: "Topic or coin name",
476
- required: true
477
- }
478
- }
479
- },
480
- {
481
- name: "creators",
482
- description: "Top content creators",
483
- tool: "get_topic_creators",
484
- args: {
485
- topic: {
486
- flag: "--topic <name>",
487
- description: "Topic or coin name",
488
- required: true
456
+ phrase: {
457
+ flag: "--query <text>",
458
+ description: "Search phrase",
459
+ required: false
489
460
  }
490
461
  }
491
462
  },
492
463
  {
493
- name: "posts",
494
- description: "Social media posts",
495
- tool: "get_topic_posts",
464
+ name: "markets",
465
+ description: "Filter prediction markets",
466
+ tool: "codex_filter_prediction_markets",
496
467
  args: {
497
- topic: {
498
- flag: "--topic <name>",
499
- description: "Topic or coin name",
500
- required: true
468
+ phrase: {
469
+ flag: "--query <text>",
470
+ description: "Search phrase",
471
+ required: false
501
472
  }
502
473
  }
503
474
  },
504
475
  {
505
- name: "news",
506
- description: "Topic news articles",
507
- tool: "get_topic_news",
508
- args: {
509
- topic: {
510
- flag: "--topic <name>",
511
- description: "Topic or coin name",
512
- required: true
513
- }
514
- }
476
+ name: "traders",
477
+ description: "Top prediction market traders",
478
+ tool: "codex_filter_prediction_traders"
515
479
  }
516
480
  ]
517
481
  },
@@ -908,4 +872,4 @@ export {
908
872
  resolveCommand,
909
873
  getAllDomainCommands
910
874
  };
911
- //# sourceMappingURL=chunk-NEKSTV6P.js.map
875
+ //# sourceMappingURL=chunk-X7ETBCBP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/cli/namespace.ts"],"sourcesContent":["interface SubCommand {\n name: string;\n description: string;\n tool: string;\n args?: Record<\n string,\n { flag: string; description: string; required?: boolean }\n >;\n}\n\ninterface DomainCommand {\n name: string;\n description: string;\n commands: SubCommand[];\n}\n\nexport type { SubCommand, DomainCommand };\n\nexport const NAMESPACE: DomainCommand[] = [\n {\n name: \"market\",\n description: \"Crypto market data — prices, charts, rankings, stablecoins\",\n commands: [\n {\n name: \"price\",\n description: \"Get token price\",\n tool: \"get_price\",\n args: {\n ids: {\n flag: \"--ids <tokens>\",\n description: \"Token IDs (comma-separated)\",\n required: true,\n },\n vs_currencies: {\n flag: \"--vs <currencies>\",\n description: \"Target currencies\",\n required: true,\n },\n },\n },\n {\n name: \"top\",\n description: \"Top coins by market cap\",\n tool: \"get_coins_market_data\",\n args: {\n vs_currency: {\n flag: \"--vs <currency>\",\n description: \"Quote currency\",\n required: true,\n },\n per_page: { flag: \"--limit <n>\", description: \"Number of results\" },\n },\n },\n { name: \"trending\", description: \"Trending coins\", tool: \"get_trending\" },\n {\n name: \"global\",\n description: \"Global market stats\",\n tool: \"get_global_stats\",\n },\n {\n name: \"ohlc\",\n description: \"OHLC candle data\",\n tool: \"get_coin_ohlc\",\n args: {\n id: { flag: \"--id <coin>\", description: \"Coin ID\", required: true },\n vs_currency: {\n flag: \"--vs <currency>\",\n description: \"Quote currency (default: usd)\",\n },\n days: { flag: \"--days <n>\", description: \"Number of days\" },\n },\n },\n {\n name: \"chart\",\n description: \"Price chart data\",\n tool: \"get_coin_market_chart_range\",\n args: {\n id: { flag: \"--id <coin>\", description: \"Coin ID\", required: true },\n vs_currency: {\n flag: \"--vs <currency>\",\n description: \"Quote currency (default: usd)\",\n },\n from: {\n flag: \"--from <timestamp>\",\n description: \"Start UNIX timestamp\",\n required: true,\n },\n to: {\n flag: \"--to <timestamp>\",\n description: \"End UNIX timestamp\",\n required: true,\n },\n },\n },\n {\n name: \"gainers\",\n description: \"Top gainers and losers\",\n tool: \"get_gainers_losers\",\n args: {\n vs_currency: {\n flag: \"--vs <currency>\",\n description: \"Quote currency (default: usd)\",\n },\n },\n },\n {\n name: \"gas\",\n description: \"Gas prices by chain\",\n tool: \"goldrush_get_gas_prices\",\n args: {\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"defi\",\n description: \"DeFi protocol analytics — TVL, fees, yields, bridges\",\n commands: [\n {\n name: \"tvl\",\n description: \"Protocol TVL\",\n tool: \"get_protocol_tvl\",\n args: {\n protocol: {\n flag: \"--protocol <name>\",\n description: \"Protocol slug\",\n required: true,\n },\n },\n },\n {\n name: \"protocols\",\n description: \"All DeFi protocols\",\n tool: \"get_defi_protocols\",\n },\n {\n name: \"fees\",\n description: \"Protocol fee data\",\n tool: \"get_protocol_fees\",\n args: {\n protocol: {\n flag: \"--protocol <name>\",\n description: \"Protocol slug\",\n required: true,\n },\n },\n },\n {\n name: \"yields\",\n description: \"Yield farming pools\",\n tool: \"get_yield_pools\",\n },\n { name: \"chains\", description: \"Chain TVL rankings\", tool: \"get_chains\" },\n {\n name: \"bridges\",\n description: \"Cross-chain bridges\",\n tool: \"defillama_get_bridges\",\n },\n ],\n },\n {\n name: \"portfolio\",\n description: \"Wallet portfolios — balances, DeFi positions, NFTs, history\",\n commands: [\n {\n name: \"balance\",\n description: \"Wallet total balance\",\n tool: \"get_wallet_balances\",\n args: {\n id: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n },\n },\n {\n name: \"tokens\",\n description: \"Token holdings\",\n tool: \"goldrush_get_token_balances\",\n args: {\n id: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n },\n },\n {\n name: \"positions\",\n description: \"DeFi positions\",\n tool: \"moralis_get_wallet_defi_positions\",\n args: {\n id: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n },\n },\n {\n name: \"nfts\",\n description: \"NFT holdings\",\n tool: \"get_wallet_nft_collections\",\n args: {\n id: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n },\n },\n {\n name: \"history\",\n description: \"Portfolio value history\",\n tool: \"goldrush_get_portfolio_history\",\n args: {\n walletAddress: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"security\",\n description: \"Token and contract security — scans, approvals, simulations\",\n commands: [\n {\n name: \"scan\",\n description: \"Token security analysis\",\n tool: \"get_token_security\",\n args: {\n chain_id: {\n flag: \"--chain <id>\",\n description: \"Chain ID (1=ETH, 56=BSC)\",\n required: true,\n },\n contract_addresses: {\n flag: \"--address <addr>\",\n description: \"Token contract\",\n required: true,\n },\n },\n },\n {\n name: \"approve\",\n description: \"Audit token approvals\",\n tool: \"check_approval_security\",\n args: {\n chain_id: {\n flag: \"--chain <id>\",\n description: \"Chain ID\",\n required: true,\n },\n contract_addresses: {\n flag: \"--address <addr>\",\n description: \"Contract address\",\n required: true,\n },\n },\n },\n {\n name: \"simulate\",\n description: \"Simulate a transaction\",\n tool: \"simulate_evm_transaction\",\n args: {\n chain_id: {\n flag: \"--chain <id>\",\n description: \"Chain ID (1=ETH)\",\n required: true,\n },\n from: {\n flag: \"--from <addr>\",\n description: \"Sender address\",\n required: true,\n },\n to: {\n flag: \"--to <addr>\",\n description: \"Contract/recipient address\",\n required: true,\n },\n data: {\n flag: \"--data <hex>\",\n description: \"Transaction calldata (hex)\",\n },\n value: { flag: \"--value <wei>\", description: \"Value in wei\" },\n },\n },\n {\n name: \"rugpull\",\n description: \"Detect rug pull indicators\",\n tool: \"detect_rugpull\",\n args: {\n chain_id: {\n flag: \"--chain <id>\",\n description: \"Chain ID\",\n required: true,\n },\n contract_addresses: {\n flag: \"--address <addr>\",\n description: \"Contract\",\n required: true,\n },\n },\n },\n {\n name: \"hacks\",\n description: \"Recent DeFi hacks\",\n tool: \"defillama_get_hacks\",\n },\n ],\n },\n {\n name: \"stocks\",\n description:\n \"Stock market data — quotes, candles, financials, analyst ratings\",\n commands: [\n {\n name: \"quote\",\n description: \"Real-time stock quote\",\n tool: \"finnhub_get_stock_quote\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker (e.g. AAPL)\",\n required: true,\n },\n },\n },\n {\n name: \"candles\",\n description: \"Historical OHLCV\",\n tool: \"finnhub_get_stock_candles\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n resolution: {\n flag: \"--resolution <r>\",\n description: \"Timeframe (1,5,15,30,60,D,W,M)\",\n required: true,\n },\n from: {\n flag: \"--from <timestamp>\",\n description: \"Start UNIX timestamp\",\n required: true,\n },\n to: {\n flag: \"--to <timestamp>\",\n description: \"End UNIX timestamp\",\n required: true,\n },\n },\n },\n {\n name: \"profile\",\n description: \"Company profile\",\n tool: \"finnhub_get_company_profile\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n },\n },\n {\n name: \"financials\",\n description: \"Key financial metrics\",\n tool: \"finnhub_get_basic_financials\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n },\n },\n {\n name: \"recommendations\",\n description: \"Analyst recommendations\",\n tool: \"finnhub_get_stock_recommendations\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n },\n },\n {\n name: \"news\",\n description: \"Company news\",\n tool: \"finnhub_get_company_news\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n from: {\n flag: \"--from <date>\",\n description: \"From date (YYYY-MM-DD)\",\n required: true,\n },\n to: {\n flag: \"--to <date>\",\n description: \"To date (YYYY-MM-DD)\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"macro\",\n description:\n \"Economic calendar, market status, and country data\",\n commands: [\n {\n name: \"calendar\",\n description: \"Economic event calendar\",\n tool: \"finnhub_get_economic_calendar\",\n },\n {\n name: \"market-status\",\n description: \"Market open/close status\",\n tool: \"finnhub_get_market_status\",\n args: {\n exchange: {\n flag: \"--exchange <code>\",\n description: \"Exchange code (e.g., US, L, T)\",\n required: true,\n },\n },\n },\n {\n name: \"countries\",\n description: \"Supported countries list\",\n tool: \"finnhub_get_country_list\",\n },\n ],\n },\n {\n name: \"prediction\",\n description:\n \"Prediction markets — events, traders, outcomes (Polymarket, Kalshi)\",\n commands: [\n {\n name: \"categories\",\n description: \"Prediction market categories\",\n tool: \"codex_prediction_categories\",\n },\n {\n name: \"events\",\n description: \"Filter prediction events\",\n tool: \"codex_filter_prediction_events\",\n args: {\n phrase: {\n flag: \"--query <text>\",\n description: \"Search phrase\",\n required: false,\n },\n },\n },\n {\n name: \"markets\",\n description: \"Filter prediction markets\",\n tool: \"codex_filter_prediction_markets\",\n args: {\n phrase: {\n flag: \"--query <text>\",\n description: \"Search phrase\",\n required: false,\n },\n },\n },\n {\n name: \"traders\",\n description: \"Top prediction market traders\",\n tool: \"codex_filter_prediction_traders\",\n },\n ],\n },\n {\n name: \"exchange\",\n description:\n \"Centralized exchange data — tickers, orderbooks, trades, funding\",\n commands: [\n {\n name: \"ticker\",\n description: \"Exchange ticker\",\n tool: \"get_ticker\",\n args: {\n exchange: {\n flag: \"--exchange <name>\",\n description: \"Exchange (binance, coinbase)\",\n required: true,\n },\n symbol: {\n flag: \"--symbol <pair>\",\n description: \"Trading pair (BTC/USDT)\",\n required: true,\n },\n },\n },\n {\n name: \"orderbook\",\n description: \"Order book depth\",\n tool: \"get_orderbook\",\n args: {\n exchange: {\n flag: \"--exchange <name>\",\n description: \"Exchange\",\n required: true,\n },\n symbol: {\n flag: \"--symbol <pair>\",\n description: \"Trading pair\",\n required: true,\n },\n },\n },\n {\n name: \"trades\",\n description: \"Recent trades\",\n tool: \"get_recent_trades\",\n args: {\n exchange: {\n flag: \"--exchange <name>\",\n description: \"Exchange\",\n required: true,\n },\n symbol: {\n flag: \"--symbol <pair>\",\n description: \"Trading pair\",\n required: true,\n },\n },\n },\n {\n name: \"funding\",\n description: \"Perpetual funding rates\",\n tool: \"get_funding_rate\",\n args: {\n exchange: {\n flag: \"--exchange <name>\",\n description: \"Exchange (binance, bybit)\",\n required: true,\n },\n symbol: {\n flag: \"--symbol <pair>\",\n description: \"Futures pair (e.g. BTC/USDT:USDT)\",\n required: true,\n },\n },\n },\n {\n name: \"list\",\n description: \"List all exchanges\",\n tool: \"get_exchanges\",\n },\n ],\n },\n {\n name: \"dex\",\n description: \"DEX analytics — pools, trending pairs, trades, volume\",\n commands: [\n {\n name: \"trending\",\n description: \"Trending DEX pools\",\n tool: \"get_trending_pools\",\n },\n {\n name: \"pools\",\n description: \"Pool search and filter\",\n tool: \"get_pools\",\n args: {\n network: {\n flag: \"--network <name>\",\n description: \"Network (eth, bsc, solana)\",\n required: true,\n },\n page: { flag: \"--page <n>\", description: \"Page number\" },\n },\n },\n {\n name: \"trades\",\n description: \"Token trading activity\",\n tool: \"get_token_trades\",\n args: {\n network: {\n flag: \"--network <name>\",\n description: \"Network (eth, bsc, solana)\",\n },\n pool_address: { flag: \"--pool <addr>\", description: \"Pool address\" },\n },\n },\n {\n name: \"volume\",\n description: \"DEX volume rankings\",\n tool: \"get_dex_volumes\",\n },\n {\n name: \"pairs\",\n description: \"Token trading pairs\",\n tool: \"get_token_pools\",\n args: {\n network: {\n flag: \"--network <name>\",\n description: \"Network\",\n required: true,\n },\n token_address: {\n flag: \"--token <addr>\",\n description: \"Token address\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"wallet\",\n description:\n \"On-chain wallet data — balances, transfers, transactions, approvals\",\n commands: [\n {\n name: \"balances\",\n description: \"Token balances across chains\",\n tool: \"goldrush_get_multichain_balances\",\n args: {\n walletAddress: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n },\n },\n {\n name: \"transfers\",\n description: \"ERC-20 transfers\",\n tool: \"goldrush_get_erc20_transfers\",\n args: {\n walletAddress: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n },\n },\n {\n name: \"transactions\",\n description: \"Recent transactions\",\n tool: \"goldrush_get_transactions_latest\",\n args: {\n walletAddress: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n },\n },\n {\n name: \"approvals\",\n description: \"Token approval audit\",\n tool: \"goldrush_get_token_approvals\",\n args: {\n walletAddress: {\n flag: \"--address <addr>\",\n description: \"Wallet address\",\n required: true,\n },\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"nft\",\n description: \"NFT analytics — collections, markets, trends, holders\",\n commands: [\n {\n name: \"trending\",\n description: \"Trending NFT collections\",\n tool: \"get_nft_market_trends\",\n },\n {\n name: \"collection\",\n description: \"Collection details\",\n tool: \"get_nft_collection\",\n args: {\n slug: { flag: \"--slug <name>\", description: \"Collection slug\" },\n },\n },\n {\n name: \"markets\",\n description: \"NFT marketplace data\",\n tool: \"get_nft_markets\",\n },\n {\n name: \"search\",\n description: \"Search NFT collections\",\n tool: \"search_nfts\",\n args: {\n query: {\n flag: \"--query <text>\",\n description: \"Search term\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"network\",\n description:\n \"Blockchain infrastructure — chains, gas, blocks, transactions\",\n commands: [\n {\n name: \"chains\",\n description: \"List supported chains\",\n tool: \"goldrush_get_chains\",\n },\n {\n name: \"gas\",\n description: \"Gas prices\",\n tool: \"goldrush_get_gas_prices\",\n args: {\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n },\n },\n {\n name: \"block\",\n description: \"Block data\",\n tool: \"goldrush_get_block\",\n args: {\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n blockHeight: {\n flag: \"--height <n>\",\n description: \"Block height\",\n required: true,\n },\n },\n },\n {\n name: \"resolve\",\n description: \"Resolve ENS/DNS name\",\n tool: \"goldrush_resolve_address\",\n args: {\n chainName: {\n flag: \"--chain <name>\",\n description: \"Chain name\",\n required: true,\n },\n walletAddress: {\n flag: \"--address <addr>\",\n description: \"Address or ENS name\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"search\",\n description: \"Search across all data\",\n commands: [\n {\n name: \"tokens\",\n description: \"Search tokens\",\n tool: \"search_all\",\n args: {\n query: {\n flag: \"--query <text>\",\n description: \"Search term\",\n required: true,\n },\n },\n },\n {\n name: \"pools\",\n description: \"Search DEX pools\",\n tool: \"search_pools\",\n args: {\n query: {\n flag: \"--query <text>\",\n description: \"Search term\",\n required: true,\n },\n },\n },\n ],\n },\n {\n name: \"altdata\",\n description: \"Alternative data — insider trades, earnings, IPOs, sentiment\",\n commands: [\n {\n name: \"insider\",\n description: \"Insider trading transactions\",\n tool: \"finnhub_get_insider_transactions\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n },\n },\n {\n name: \"sentiment\",\n description: \"Insider sentiment score\",\n tool: \"finnhub_get_insider_sentiment\",\n args: {\n symbol: {\n flag: \"--symbol <ticker>\",\n description: \"Stock ticker\",\n required: true,\n },\n from: {\n flag: \"--from <date>\",\n description: \"From date (YYYY-MM-DD)\",\n required: true,\n },\n to: {\n flag: \"--to <date>\",\n description: \"To date (YYYY-MM-DD)\",\n required: true,\n },\n },\n },\n {\n name: \"earnings\",\n description: \"Earnings calendar\",\n tool: \"finnhub_get_earnings_calendar\",\n },\n {\n name: \"ipo\",\n description: \"IPO calendar\",\n tool: \"finnhub_get_ipo_calendar\",\n },\n ],\n },\n];\n\nexport function resolveCommand(\n domain: string,\n subcommand: string,\n): SubCommand | undefined {\n const d = NAMESPACE.find((n) => n.name === domain);\n return d?.commands.find((c) => c.name === subcommand);\n}\n\nexport function getAllDomainCommands(): DomainCommand[] {\n return NAMESPACE;\n}\n"],"mappings":";;;AAkBO,IAAM,YAA6B;AAAA,EACxC;AAAA,IACE,MAAM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QACN,MAAM;AAAA,UACJ,OAAO;AAAA,YACL,MAAM;AAAA,YACN,aAAa;AAAA,YACb,UAAU;AAAA,UACZ;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,IACb,UAAU;AAAA,MACR;AAAA,QACE,MAAM;AAAA,QACN,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,QAAQ;AAAA,YACN,MAAM;AAAA,YACN,aAAa;AAAA,YACb,UAAU;AAAA,UACZ;AAAA,QACF;AAAA,MACF;AAAA,MACA;AAAA,QACE,MAAM;AAAA,QACN,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,QAAQ;AAAA,YACN,MAAM;AAAA,YACN,aAAa;AAAA,YACb,UAAU;AAAA,UACZ;AAAA,UACA,MAAM;AAAA,YACJ,MAAM;AAAA,YACN,aAAa;AAAA,YACb,UAAU;AAAA,UACZ;AAAA,UACA,IAAI;AAAA,YACF,MAAM;AAAA,YACN,aAAa;AAAA,YACb,UAAU;AAAA,UACZ;AAAA,QACF;AAAA,MACF;AAAA,MACA;AAAA,QACE,MAAM;AAAA,QACN,aAAa;AAAA,QACb,MAAM;AAAA,MACR;AAAA,MACA;AAAA,QACE,MAAM;AAAA,QACN,aAAa;AAAA,QACb,MAAM;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACF;AAEO,SAAS,eACd,QACA,YACwB;AACxB,QAAM,IAAI,UAAU,KAAK,CAAC,MAAM,EAAE,SAAS,MAAM;AACjD,SAAO,GAAG,SAAS,KAAK,CAAC,MAAM,EAAE,SAAS,UAAU;AACtD;AAEO,SAAS,uBAAwC;AACtD,SAAO;AACT;","names":[]}
package/build/cli.js CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-IWBWPHYY.js";
25
25
  import {
26
26
  NAMESPACE
27
- } from "./chunk-NEKSTV6P.js";
27
+ } from "./chunk-X7ETBCBP.js";
28
28
  import {
29
29
  __commonJS,
30
30
  __require,
@@ -3645,15 +3645,15 @@ for (const domain of NAMESPACE) {
3645
3645
  }
3646
3646
  var toolsCmd = program2.command("tools").description("Discover and execute tools");
3647
3647
  toolsCmd.command("list").description("List all registered tools").option("--category <name>", "Filter by category").option("--provider <name>", "Filter by provider prefix").option("--limit <n>", "Max tools to show", "50").option("--offset <n>", "Skip first N tools", "0").action(async (opts) => {
3648
- const { listTools } = await import("./tools-4W3GGCUC.js");
3648
+ const { listTools } = await import("./tools-WYOZZHHG.js");
3649
3649
  await listTools(opts);
3650
3650
  });
3651
3651
  toolsCmd.command("search <query>").description("Search tools by name or description").action(async (query) => {
3652
- const { searchTools } = await import("./tools-4W3GGCUC.js");
3652
+ const { searchTools } = await import("./tools-WYOZZHHG.js");
3653
3653
  await searchTools(query);
3654
3654
  });
3655
3655
  toolsCmd.command("info <name>").description("Show detailed tool schema and description").action(async (name) => {
3656
- const { toolInfo } = await import("./tools-4W3GGCUC.js");
3656
+ const { toolInfo } = await import("./tools-WYOZZHHG.js");
3657
3657
  await toolInfo(name);
3658
3658
  });
3659
3659
  toolsCmd.command("call <name>").description("Execute a tool by name").option("--args <json>", "Tool arguments as JSON (or pipe JSON via stdin)").action(async (name, opts) => {
@@ -3682,7 +3682,7 @@ toolsCmd.command("call <name>").description("Execute a tool by name").option("--
3682
3682
  await executeTool(name, args, timeout);
3683
3683
  });
3684
3684
  toolsCmd.command("refresh").description("Force-refresh the tool catalog cache").action(async () => {
3685
- const { refreshTools } = await import("./tools-4W3GGCUC.js");
3685
+ const { refreshTools } = await import("./tools-WYOZZHHG.js");
3686
3686
  await refreshTools();
3687
3687
  });
3688
3688
  var configCmd = program2.command("config").description("Generate configuration for MCP clients");
@@ -3718,10 +3718,10 @@ program2.command("doctor").description("Diagnose environment and server connecti
3718
3718
  });
3719
3719
  program2.command("completion <shell>").description("Generate shell completion script (bash, zsh, fish, powershell)").option("--install", "Auto-install to shell rc file").action(async (shell, opts) => {
3720
3720
  if (opts.install) {
3721
- const { installCompletion } = await import("./completion-N35TWBLT.js");
3721
+ const { installCompletion } = await import("./completion-SBTSXTR3.js");
3722
3722
  await installCompletion(shell);
3723
3723
  } else {
3724
- const { generateCompletion } = await import("./completion-N35TWBLT.js");
3724
+ const { generateCompletion } = await import("./completion-SBTSXTR3.js");
3725
3725
  await generateCompletion(shell);
3726
3726
  }
3727
3727
  });
@@ -1,7 +1,7 @@
1
1
  import { createRequire } from 'node:module'; const require = createRequire(import.meta.url);
2
2
  import {
3
3
  NAMESPACE
4
- } from "./chunk-NEKSTV6P.js";
4
+ } from "./chunk-X7ETBCBP.js";
5
5
  import "./chunk-QMRVH5ZP.js";
6
6
 
7
7
  // src/cli/completion.ts
@@ -271,4 +271,4 @@ export {
271
271
  generateCompletion,
272
272
  installCompletion
273
273
  };
274
- //# sourceMappingURL=completion-N35TWBLT.js.map
274
+ //# sourceMappingURL=completion-SBTSXTR3.js.map
@@ -3,11 +3,11 @@ import {
3
3
  NAMESPACE,
4
4
  getAllDomainCommands,
5
5
  resolveCommand
6
- } from "./chunk-NEKSTV6P.js";
6
+ } from "./chunk-X7ETBCBP.js";
7
7
  import "./chunk-QMRVH5ZP.js";
8
8
  export {
9
9
  NAMESPACE,
10
10
  getAllDomainCommands,
11
11
  resolveCommand
12
12
  };
13
- //# sourceMappingURL=namespace-GWTS6U6J.js.map
13
+ //# sourceMappingURL=namespace-7SBV4G7R.js.map