investbuddy-mcp-server 1.0.8 → 1.0.9

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.
@@ -1 +1 @@
1
- ghu_rSpHdw9NnpnojwSfDYvSyqudtw6aSX4ToYNU
1
+ ghu_j4BM9fnsqj6iwy8qIVHNrn1pAFoNZi1RXj2j
@@ -1 +1 @@
1
- {"token":"eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJtY3AtcmVnaXN0cnkiLCJleHAiOjE3NjU5ODgxNDQsIm5iZiI6MTc2NTk4Nzg0NCwiaWF0IjoxNzY1OTg3ODQ0LCJhdXRoX21ldGhvZCI6ImdpdGh1Yi1hdCIsImF1dGhfbWV0aG9kX3N1YiI6ImRhbmllbHJ6IiwicGVybWlzc2lvbnMiOlt7ImFjdGlvbiI6InB1Ymxpc2giLCJyZXNvdXJjZSI6ImlvLmdpdGh1Yi5kYW5pZWxyei8qIn1dfQ.f-A3UdJknugeqza7gRrpr2V6u_4cwHMYNSCPbDwpp0PtAWn2UzT7yUI_oSepoJmwT-hpbIXQuHEos1aOVCoVAg","expires_at":1765988144}
1
+ {"token":"eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJtY3AtcmVnaXN0cnkiLCJleHAiOjE3NjU5ODg5MzcsIm5iZiI6MTc2NTk4ODYzNywiaWF0IjoxNzY1OTg4NjM3LCJhdXRoX21ldGhvZCI6ImdpdGh1Yi1hdCIsImF1dGhfbWV0aG9kX3N1YiI6ImRhbmllbHJ6IiwicGVybWlzc2lvbnMiOlt7ImFjdGlvbiI6InB1Ymxpc2giLCJyZXNvdXJjZSI6ImlvLmdpdGh1Yi5kYW5pZWxyei8qIn1dfQ.9MelRZYrByyIxM0d1J79sefgX9RX_R8O-RiZBXEYQrvtcVALpyT1BvqctaW11aONYinB7rYNADKjDGqdNo74CQ","expires_at":1765988937}
package/README.md CHANGED
@@ -46,20 +46,20 @@ Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
46
46
 
47
47
  | Tier | Daily Calls | Cost | Best For |
48
48
  |------|-------------|------|----------|
49
- | **Free** | 10 | $0/month | Trying it out |
50
- | **Premium** | 100 | $39/month | Active traders + full web platform |
49
+ | **Free** | 30 | $0/month | Trying it out |
50
+ | **Premium** | 150 | $39/month | Active traders + full web platform |
51
51
  | **Enterprise** | Unlimited | Custom | Power users |
52
52
 
53
53
  ### What's Included
54
54
 
55
55
  **Free Tier:**
56
- - 10 API predictions per day
56
+ - 30 API predictions per day
57
57
  - All 5 MCP tools
58
58
  - ChatGPT & Claude Desktop support
59
59
  - 79.86% validated accuracy
60
60
 
61
61
  **Premium Tier ($39/mo):**
62
- - **100 API predictions per day** (10x more!)
62
+ - **150 API predictions per day** (5x more!)
63
63
  - **Full web platform access** (portfolio tracking, AI chat, analytics)
64
64
  - All AI features unlocked (RL optimization, sentiment analysis)
65
65
  - Priority support
package/index.js CHANGED
@@ -152,6 +152,19 @@ function callAPI(tool, args) {
152
152
  res.on('end', () => {
153
153
  try {
154
154
  const parsed = JSON.parse(responseData);
155
+
156
+ // Handle rate limit errors gracefully
157
+ if (res.statusCode === 429) {
158
+ reject(new Error(`Rate limit exceeded. ${parsed.message || 'Please upgrade your plan or wait until limit resets.'}`));
159
+ return;
160
+ }
161
+
162
+ // Handle other HTTP errors
163
+ if (res.statusCode >= 400) {
164
+ reject(new Error(`API Error (${res.statusCode}): ${parsed.message || parsed.error || responseData}`));
165
+ return;
166
+ }
167
+
155
168
  resolve(parsed);
156
169
  } catch (error) {
157
170
  reject(new Error(`Failed to parse response: ${responseData}`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "investbuddy-mcp-server",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "mcpName": "io.github.danielrz/investbuddy",
5
5
  "description": "Model Context Protocol server for InvestBuddy AI - Stock predictions with 79.86% accuracy",
6
6
  "main": "index.js",