@aicoin/aicoin-mcp 1.0.1 → 1.0.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 CHANGED
@@ -1,41 +1,37 @@
1
1
  # @aicoin/aicoin-mcp
2
2
 
3
- AiCoin MCP Server — connect any AI assistant to real-time crypto market data and exchange trading.
3
+ AiCoin MCP Server — real-time crypto market data & exchange trading for any AI assistant.
4
4
 
5
- **41 tools** covering market data, K-lines, funding rates, liquidations, order flow, Hyperliquid analytics, news, and multi-exchange trading via CCXT.
5
+ **41 tools** · Market data · K-lines · Funding rates · Liquidations · Order flow · Hyperliquid analytics · News · Multi-exchange trading via CCXT
6
6
 
7
7
  ## Quick Start
8
8
 
9
- ### 1. Get your API Key
9
+ Works out of the box — a free API key is built in (10 req/min, IP rate-limited).
10
10
 
11
- Visit [aicoin.com/opendata](https://www.aicoin.com/opendata) to create a free API key.
11
+ ### Claude Code
12
12
 
13
- ### 2. Add to your MCP client
13
+ ```bash
14
+ claude mcp add aicoin -- npx -y @aicoin/aicoin-mcp
15
+ ```
16
+
17
+ ### Other Clients
14
18
 
15
- **Claude Desktop / Cursor / Windsurf** edit your MCP config:
19
+ Add to your MCP config (`.mcp.json`, `claude_desktop_config.json`, etc.):
16
20
 
17
21
  ```json
18
22
  {
19
23
  "mcpServers": {
20
24
  "aicoin": {
21
25
  "command": "npx",
22
- "args": ["-y", "@aicoin/aicoin-mcp"],
23
- "env": {
24
- "AICOIN_ACCESS_KEY_ID": "your-key-id",
25
- "AICOIN_ACCESS_SECRET": "your-secret"
26
- }
26
+ "args": ["-y", "@aicoin/aicoin-mcp"]
27
27
  }
28
28
  }
29
29
  }
30
30
  ```
31
31
 
32
- **Claude Code** add to `.mcp.json` in your project root, same format as above.
33
-
34
- That's it. Your AI assistant now has access to 41 crypto data tools.
35
-
36
- ### 3. (Optional) Enable exchange trading
32
+ ### Use Your Own API Key (Optional)
37
33
 
38
- To place orders, check balances, etc., add your exchange API key:
34
+ For higher rate limits, get a key at [aicoin.com/opendata](https://www.aicoin.com/opendata) and add env vars:
39
35
 
40
36
  ```json
41
37
  {
@@ -45,33 +41,33 @@ To place orders, check balances, etc., add your exchange API key:
45
41
  "args": ["-y", "@aicoin/aicoin-mcp"],
46
42
  "env": {
47
43
  "AICOIN_ACCESS_KEY_ID": "your-key-id",
48
- "AICOIN_ACCESS_SECRET": "your-secret",
49
- "DEFAULT_EXCHANGE": "okx",
50
- "OKX_API_KEY": "your-exchange-api-key",
51
- "OKX_SECRET": "your-exchange-secret",
52
- "OKX_PASSPHRASE": "your-passphrase"
44
+ "AICOIN_ACCESS_SECRET": "your-secret"
53
45
  }
54
46
  }
55
47
  }
56
48
  }
57
49
  ```
58
50
 
59
- Exchange API keys are stored locally only and never sent to AiCoin servers.
51
+ ## Enable Exchange Trading (Optional)
60
52
 
61
- ## Environment Variables
53
+ To place orders, check balances, and manage positions, add your exchange API key:
62
54
 
63
- | Variable | Required | Description |
64
- |----------|----------|-------------|
65
- | `AICOIN_ACCESS_KEY_ID` | No | AiCoin API key (free tier built-in, rate-limited) |
66
- | `AICOIN_ACCESS_SECRET` | No | AiCoin API secret |
67
- | `DEFAULT_EXCHANGE` | No | Default exchange for trading (default: `binance`) |
68
- | `{EXCHANGE}_API_KEY` | For trading | Exchange API key |
69
- | `{EXCHANGE}_SECRET` | For trading | Exchange API secret |
70
- | `{EXCHANGE}_PASSPHRASE` | OKX/Bitget | Exchange passphrase |
71
- | `USE_PROXY` | No | Enable proxy (`true`/`false`) |
72
- | `PROXY_URL` | No | Proxy URL, e.g. `http://127.0.0.1:7890` |
55
+ ```json
56
+ {
57
+ "env": {
58
+ "AICOIN_ACCESS_KEY_ID": "your-key-id",
59
+ "AICOIN_ACCESS_SECRET": "your-secret",
60
+ "DEFAULT_EXCHANGE": "okx",
61
+ "OKX_API_KEY": "your-exchange-key",
62
+ "OKX_SECRET": "your-exchange-secret",
63
+ "OKX_PASSPHRASE": "your-passphrase"
64
+ }
65
+ }
66
+ ```
73
67
 
74
- Supported exchanges: `binance` `binanceusdm` `binancecoinm` `okx` `bybit` `bitget` `gate` `huobi` `hyperliquid`
68
+ Exchange API keys are stored locally only and never sent to AiCoin servers.
69
+
70
+ **Supported exchanges:** `binance` `binanceusdm` `binancecoinm` `okx` `bybit` `bitget` `gate` `huobi` `hyperliquid`
75
71
 
76
72
  ## Tools
77
73
 
@@ -94,7 +90,7 @@ Supported exchanges: `binance` `binanceusdm` `binancecoinm` `okx` `bybit` `bitge
94
90
  | `order_flow` | Whale order tracking, aggregated large trades |
95
91
  | `trading_pair` | Trading pair tickers, pairs by platform, filtered search |
96
92
  | `signal_data` | Win-rate strategy signals, alerts, abnormal price movements |
97
- | `signal_manage` | Create and delete signal alerts |
93
+ | `signal_manage` | Delete signal alerts |
98
94
  | `news` | Paginated news articles, full article detail, RSS feed |
99
95
  | `flash` | Flash news, industry flashes, exchange listing announcements |
100
96
  | `hl_ticker` | Hyperliquid tickers (single coin or all) |
@@ -110,7 +106,7 @@ Supported exchanges: `binance` `binanceusdm` `binancecoinm` `okx` `bybit` `bitge
110
106
  | `hl_advanced` | HL generic info API, smart money finder, trader discovery |
111
107
  | `guide` | Setup guides for API key, tier upgrade, exchange trading |
112
108
 
113
- ### Exchange Trading (11 tools, requires exchange API key)
109
+ ### Exchange Trading (11 tools)
114
110
 
115
111
  | Tool | What it does |
116
112
  |------|-------------|
@@ -126,6 +122,19 @@ Supported exchanges: `binance` `binanceusdm` `binancecoinm` `okx` `bybit` `bitge
126
122
  | `set_trading_config` | Set leverage and margin mode |
127
123
  | `transfer` | Transfer funds between accounts (spot/futures) |
128
124
 
125
+ ## Environment Variables
126
+
127
+ | Variable | Required | Description |
128
+ |----------|----------|-------------|
129
+ | `AICOIN_ACCESS_KEY_ID` | No | AiCoin API key (free tier built-in, rate-limited) |
130
+ | `AICOIN_ACCESS_SECRET` | No | AiCoin API secret |
131
+ | `DEFAULT_EXCHANGE` | No | Default exchange for trading (default: `binance`) |
132
+ | `{EXCHANGE}_API_KEY` | For trading | Exchange API key |
133
+ | `{EXCHANGE}_SECRET` | For trading | Exchange API secret |
134
+ | `{EXCHANGE}_PASSPHRASE` | OKX/Bitget | Exchange passphrase |
135
+ | `USE_PROXY` | No | Enable proxy (`true`/`false`) |
136
+ | `PROXY_URL` | No | Proxy URL, e.g. `http://127.0.0.1:7890` |
137
+
129
138
  ## API Tiers
130
139
 
131
140
  | Tier | Price | Rate Limit | Features |