@ancientwhispers54/leafengines-mcp-server 2.0.6 → 2.0.8
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 +27 -30
- package/dist/index.js +75 -13
- package/dist/index.js.map +1 -1
- package/dist/notifications.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
- **Test key:** `leaf-test-370df0a2e62e` (paste into config, works immediately)
|
|
9
9
|
- **Free header:** `x-free-tier: true` (no key needed at all)
|
|
10
10
|
|
|
11
|
-
**Ready for production
|
|
12
|
-
- [Starter — $
|
|
13
|
-
- [Pro — $
|
|
11
|
+
**Ready for production?**
|
|
12
|
+
- [Starter — $149/mo →](https://buy.stripe.com/5kQ6oHcB88bR93s8MSaMU04)
|
|
13
|
+
- [Pro — $499/mo →](https://buy.stripe.com/14A6oH7gO3VBcfE1kqaMU05)
|
|
14
14
|
|
|
15
|
-
**
|
|
15
|
+
**Partner Program:** Stop building for free. Use our API to sell $100–200 soil reports to local farmers, drone pilots, and GIS communities. You buy each report for $25. [Join our Partner Program →](https://soilcertify.com)
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
@@ -81,39 +81,36 @@ Your AI agent will use LeafEngines tools automatically to analyze soil, recommen
|
|
|
81
81
|
### Free Tier — No Credit Card
|
|
82
82
|
- **Test key:** `leaf-test-370df0a2e62e` — works immediately
|
|
83
83
|
- **Free header:** `x-free-tier: true` — no key needed
|
|
84
|
-
- **Includes:**
|
|
84
|
+
- **Includes:** 3 AI calls/day + 50 data lookups/day. County lookup, water quality, TurboQuant check always free.
|
|
85
85
|
- [Start free →](https://soilcertify.com)
|
|
86
86
|
|
|
87
|
-
### Pay
|
|
87
|
+
### Credit Packs — Pay As You Go
|
|
88
88
|
|
|
89
|
-
|
|
|
90
|
-
|
|
91
|
-
|
|
|
92
|
-
|
|
|
93
|
-
|
|
|
94
|
-
| Exclusive | $10.00/bundle | $0.020/call | Patent-pending environmental compatibility scoring | [Buy →](https://buy.stripe.com/6oU4gzbx40Jp6Vk1kqaMU0a) |
|
|
89
|
+
| Pack | Price | Credits | Per-Call Rate | Best For | Buy |
|
|
90
|
+
|------|-------|---------|---------------|----------|-----|
|
|
91
|
+
| Starter | $10.00 | 1,000 | $0.01/call | Low-volume Telegram users, hobby developers | [Buy →](https://buy.stripe.com/3cIdR99oWajZdjI6EKaMU07) |
|
|
92
|
+
| Pro | $25.00 | 5,000 | $0.005/call | Regular users, n8n/Node-RED integrations | [Buy →](https://buy.stripe.com/7sY28reJg1NtenM8MSaMU0b) |
|
|
93
|
+
| Enterprise | $50.00 | 25,000 | $0.002/call | High-volume users, MCP/Clawhub clients | [Buy →](https://buy.stripe.com/3cIeVd9oW1NtgvU1kqaMU09) |
|
|
95
94
|
|
|
96
|
-
|
|
95
|
+
> One-time purchase. Credits never expire. All endpoints unlocked. Data lookups always free.
|
|
97
96
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
|
101
|
-
|
|
102
|
-
| Starter | $149/mo |
|
|
103
|
-
| Pro | $499/mo |
|
|
104
|
-
| Enterprise | $1,999/mo |
|
|
105
|
-
| Enterprise Bundle | $3,499/mo | 685,000/mo | Large OEM, max volume | Contact: sales@leafengines.com |
|
|
97
|
+
### Monthly Volume Subscriptions
|
|
98
|
+
|
|
99
|
+
| Plan | Price | What You Get | Best For | Subscribe |
|
|
100
|
+
|------|-------|--------------|----------|-----------|
|
|
101
|
+
| Starter | $149/mo | Unlimited AI calls + email support | Small teams, production n8n workflows | [Subscribe →](https://buy.stripe.com/5kQ6oHcB88bR93s8MSaMU04) |
|
|
102
|
+
| Pro | $499/mo | Higher throughput + priority support | Growing integrations, MCP servers | [Subscribe →](https://buy.stripe.com/14A6oH7gO3VBcfE1kqaMU05) |
|
|
103
|
+
| Enterprise | $1,999/mo | Unlimited volume + custom SLAs + white-label | OEM partners, enterprise deployments | [Subscribe →](https://buy.stripe.com/eVqaEXfNkajZ6Vk0gmaMU06) |
|
|
106
104
|
|
|
107
|
-
> ⏰ **Founder pricing expires June 1, 2026.** First 100 customers lock lifetime rates.
|
|
108
105
|
|
|
109
106
|
### International Pricing
|
|
110
107
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
108
|
+
|| Region | Starter | Pro | Local Payment Methods |
|
|
109
|
+
||--------|---------|-----|----------------------|
|
|
110
|
+
|| **United States** | $149/mo | $499/mo | Card, Apple Pay, Google Pay, Affirm |
|
|
111
|
+
|| **European Union** | €135/mo (VAT incl.) | €450/mo (VAT incl.) | Klarna, iDEAL, EPS, Apple/Google Pay |
|
|
112
|
+
|| **United Kingdom** | £115/mo (VAT incl.) | £385/mo (VAT incl.) | Afterpay/Clearpay, Apple/Google Pay |
|
|
113
|
+
|| **Australia** | AU$225/mo (GST incl.) | AU$750/mo (GST incl.) | Afterpay, Apple/Google Pay |
|
|
117
114
|
|
|
118
115
|
## 🔗 Integration Guides
|
|
119
116
|
|
|
@@ -163,13 +160,13 @@ AI: [Uses environmental_impact_analysis + carbon_credit_calculator] "Environment
|
|
|
163
160
|
- **Field analysis** — USDA SSURGO data for any US county, instantly
|
|
164
161
|
- **Carbon credit assessment** — Proprietary models for compliance reporting
|
|
165
162
|
- **Environmental impact scoring** — Patent-pending satellite data fusion
|
|
166
|
-
- **
|
|
163
|
+
- **Partner Program:** [Sell soil reports to your clients →](https://soilcertify.com)
|
|
167
164
|
|
|
168
165
|
### For Agricultural Consultants
|
|
169
166
|
- **Client-ready analysis** — Soil composition, drainage, NPK recommendations
|
|
170
167
|
- **Crop optimization** — Multi-parameter phenology for planting windows
|
|
171
168
|
- **Water quality assessment** — EPA data with contamination risk scores
|
|
172
|
-
- **Sell reports to clients:** [
|
|
169
|
+
- **Sell reports to clients:** [Join Partner Program →](https://soilcertify.com) (4× markup on $25 wholesale)
|
|
173
170
|
|
|
174
171
|
### For Developers & AI Engineers
|
|
175
172
|
- **MCP integration** — Works with Claude, Cursor, OpenClaw, any MCP client
|
package/dist/index.js
CHANGED
|
@@ -28,28 +28,50 @@ const axios_1 = __importDefault(require("axios"));
|
|
|
28
28
|
// MCP Server implementation
|
|
29
29
|
const server = new index_js_1.Server({
|
|
30
30
|
name: "leafengines",
|
|
31
|
-
version: "
|
|
31
|
+
version: "2.0.7",
|
|
32
32
|
}, {
|
|
33
33
|
capabilities: {
|
|
34
34
|
tools: {},
|
|
35
35
|
},
|
|
36
36
|
});
|
|
37
|
-
//
|
|
38
|
-
const
|
|
37
|
+
// Telemetry ingestion (anonymous, opt-out available via NO_ANALYTICS=1)
|
|
38
|
+
const TELEMETRY_INGEST_ENDPOINT = "https://wzgnxkoeqzvueypwzvyn.supabase.co/functions/v1/telemetry-ingest";
|
|
39
|
+
const TELEMETRY_ANALYTICS_ENDPOINT = "https://wzgnxkoeqzvueypwzvyn.supabase.co/functions/v1/analytics";
|
|
39
40
|
const ENABLE_ANALYTICS = process.env.NO_ANALYTICS !== "1";
|
|
40
|
-
//
|
|
41
|
+
// Send telemetry event to the new ingestion pipeline (includes downstream digest emails)
|
|
42
|
+
async function sendTelemetryEvent(event) {
|
|
43
|
+
if (!ENABLE_ANALYTICS)
|
|
44
|
+
return;
|
|
45
|
+
try {
|
|
46
|
+
await axios_1.default.post(TELEMETRY_INGEST_ENDPOINT, {
|
|
47
|
+
...event,
|
|
48
|
+
surface: event.surface ?? "mcp",
|
|
49
|
+
event_type: event.event_type ?? "tool_call",
|
|
50
|
+
}, {
|
|
51
|
+
timeout: 1000, // Don't block on telemetry
|
|
52
|
+
headers: {
|
|
53
|
+
"x-surface": event.surface ?? "mcp",
|
|
54
|
+
"x-client-version": "2.0.7",
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
catch (error) {
|
|
59
|
+
// Silently fail - telemetry should not affect functionality
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
// Legacy analytics tracking (kept as fallback for backward compat, may be dead endpoint)
|
|
41
63
|
async function trackToolUsage(toolName) {
|
|
42
64
|
if (!ENABLE_ANALYTICS)
|
|
43
65
|
return;
|
|
44
66
|
try {
|
|
45
|
-
await axios_1.default.post(
|
|
67
|
+
await axios_1.default.post(TELEMETRY_ANALYTICS_ENDPOINT, {
|
|
46
68
|
event: "tool_used",
|
|
47
69
|
tool: toolName,
|
|
48
|
-
version: "
|
|
70
|
+
version: "2.0.7",
|
|
49
71
|
timestamp: new Date().toISOString(),
|
|
50
|
-
anonymous_id: `mcp_${Date.now()}_${Math.random().toString(36).
|
|
72
|
+
anonymous_id: `mcp_${Date.now()}_${Math.random().toString(36).slice(2, 11)}`,
|
|
51
73
|
}, {
|
|
52
|
-
timeout: 1000 // Don't block on analytics
|
|
74
|
+
timeout: 1000, // Don't block on analytics
|
|
53
75
|
});
|
|
54
76
|
}
|
|
55
77
|
catch (error) {
|
|
@@ -58,7 +80,7 @@ async function trackToolUsage(toolName) {
|
|
|
58
80
|
}
|
|
59
81
|
// Community engagement message (shown on first run)
|
|
60
82
|
function getCommunityMessage() {
|
|
61
|
-
return `🌱 Welcome to LeafEngines MCP Server (
|
|
83
|
+
return `🌱 Welcome to LeafEngines MCP Server (v2.0.7)!
|
|
62
84
|
|
|
63
85
|
Join 750+ developers in our community:
|
|
64
86
|
• GitHub Discussions: https://github.com/QWarranto/leafengines-claude-mcp/discussions
|
|
@@ -179,23 +201,49 @@ server.setRequestHandler(types_js_1.CallToolRequestSchema, async (request) => {
|
|
|
179
201
|
trackToolUsage(name);
|
|
180
202
|
// Get API key from environment variable
|
|
181
203
|
const apiKey = process.env.LEAFENGINES_API_KEY;
|
|
182
|
-
// Free tools: county_lookup and get_soil_data available without API key
|
|
183
204
|
const freeTools = ['county_lookup', 'get_soil_data'];
|
|
205
|
+
// Free tools: county_lookup and get_soil_data available without API key
|
|
184
206
|
if (!apiKey && !freeTools.includes(name)) {
|
|
207
|
+
// Telemetry the paywall hit
|
|
208
|
+
sendTelemetryEvent({
|
|
209
|
+
surface: "mcp",
|
|
210
|
+
event_type: "tool_call",
|
|
211
|
+
tool_name: `${name}:paywall`,
|
|
212
|
+
status_code: 402,
|
|
213
|
+
api_key_prefix: apiKey ? apiKey.slice(0, 8) : null,
|
|
214
|
+
metadata: { tier: "paywall", free_tools_available: freeTools },
|
|
215
|
+
});
|
|
216
|
+
trackToolUsage(`${name}:paywall`);
|
|
185
217
|
return {
|
|
186
218
|
content: [
|
|
187
219
|
{
|
|
188
220
|
type: "text",
|
|
189
|
-
text: `API key required for ${name}. Free tools available without key: county_lookup, get_soil_data.\n\nGet full access:\n• Starter ($
|
|
221
|
+
text: `API key required for ${name}. Free tools available without key: county_lookup, get_soil_data.\n\nGet full access:\n• Starter ($149/mo): https://buy.stripe.com/5kQ6oHcB88bR93s8MSaMU04\n• Pro ($499/mo): https://buy.stripe.com/14A6oH7gO3VBcfE1kqaMU05\n\nMetered pricing — credit packs + monthly subscriptions.`,
|
|
190
222
|
},
|
|
191
223
|
],
|
|
192
224
|
isError: true,
|
|
193
225
|
};
|
|
194
226
|
}
|
|
195
227
|
try {
|
|
196
|
-
|
|
228
|
+
const startMs = Date.now();
|
|
197
229
|
const isFreeTool = freeTools.includes(name);
|
|
198
230
|
const result = await callLeafEnginesAPI(name, args, apiKey, isFreeTool);
|
|
231
|
+
const latencyMs = Date.now() - startMs;
|
|
232
|
+
// Telemetry: successful tool call
|
|
233
|
+
sendTelemetryEvent({
|
|
234
|
+
surface: "mcp",
|
|
235
|
+
event_type: "tool_call",
|
|
236
|
+
tool_name: name,
|
|
237
|
+
latency_ms: latencyMs,
|
|
238
|
+
status_code: 200,
|
|
239
|
+
api_key_prefix: apiKey ? apiKey.slice(0, 8) : null,
|
|
240
|
+
metadata: {
|
|
241
|
+
success: true,
|
|
242
|
+
is_free: isFreeTool,
|
|
243
|
+
has_result: !!result,
|
|
244
|
+
},
|
|
245
|
+
});
|
|
246
|
+
trackToolUsage(name);
|
|
199
247
|
return {
|
|
200
248
|
content: [
|
|
201
249
|
{
|
|
@@ -206,7 +254,21 @@ server.setRequestHandler(types_js_1.CallToolRequestSchema, async (request) => {
|
|
|
206
254
|
};
|
|
207
255
|
}
|
|
208
256
|
catch (error) {
|
|
209
|
-
|
|
257
|
+
const status = error.response?.status ?? 0;
|
|
258
|
+
// Telemetry: error event
|
|
259
|
+
sendTelemetryEvent({
|
|
260
|
+
surface: "mcp",
|
|
261
|
+
event_type: "error",
|
|
262
|
+
tool_name: name,
|
|
263
|
+
status_code: status,
|
|
264
|
+
api_key_prefix: apiKey ? apiKey.slice(0, 8) : null,
|
|
265
|
+
error_message: error.message?.slice(0, 1000) ?? null,
|
|
266
|
+
metadata: {
|
|
267
|
+
error_type: error.code ?? "unknown",
|
|
268
|
+
has_response: !!error.response,
|
|
269
|
+
},
|
|
270
|
+
});
|
|
271
|
+
trackToolUsage(`${name}:error`);
|
|
210
272
|
if (error.response?.status === 401) {
|
|
211
273
|
return {
|
|
212
274
|
content: [
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AACA;;;;;;;;;;;;;;;;GAgBG;;;;;AAEH,wEAAmE;AACnE,wEAAiF;AACjF,iEAG4C;AAC5C,kDAA0B;AAE1B,4BAA4B;AAC5B,MAAM,MAAM,GAAG,IAAI,iBAAM,CACvB;IACE,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;CACjB,EACD;IACE,YAAY,EAAE;QACZ,KAAK,EAAE,EAAE;KACV;CACF,CACF,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AACA;;;;;;;;;;;;;;;;GAgBG;;;;;AAEH,wEAAmE;AACnE,wEAAiF;AACjF,iEAG4C;AAC5C,kDAA0B;AAE1B,4BAA4B;AAC5B,MAAM,MAAM,GAAG,IAAI,iBAAM,CACvB;IACE,I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,KAAK,CAAC,CAAC;IAChD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
package/dist/notifications.js
CHANGED
|
@@ -36,7 +36,7 @@ async function sendV200Announcement(server) {
|
|
|
36
36
|
type: "server_update",
|
|
37
37
|
version: "2.0.0",
|
|
38
38
|
title: "🎉 LeafEngines v2.0.0 Update",
|
|
39
|
-
message: "Enhanced support &
|
|
39
|
+
message: "Enhanced support & metered pricing — credit packs + monthly subscriptions",
|
|
40
40
|
features: [
|
|
41
41
|
"Usage Insights Dashboard - See your patterns, optimize workflow",
|
|
42
42
|
"Smarter Error Diagnostics - 70% faster troubleshooting",
|
|
@@ -49,8 +49,8 @@ async function sendV200Announcement(server) {
|
|
|
49
49
|
status: "operational"
|
|
50
50
|
},
|
|
51
51
|
pricing: {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
pricing_model: "metered",
|
|
53
|
+
partner_program: true,
|
|
54
54
|
plans: {
|
|
55
55
|
starter: "$10/mo → $49/mo lifetime lock",
|
|
56
56
|
pro: "$49/mo → $149/mo lifetime lock"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ancientwhispers54/leafengines-mcp-server",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"mcpName": "io.github.QWarranto/leafengines",
|
|
5
5
|
"description": "LeafEngines MCP Server — Patent-protected agricultural intelligence for AI agents. 1,092+ downloads. Free tier with test key leaf-test-370df0a2e62e. Soil analysis, crop recommendations, environmental intelligence from USDA, EPA, NOAA data. Works with Claude Desktop, Cursor, OpenClaw.",
|
|
6
6
|
"main": "dist/index.js",
|