@ancientwhispers54/leafengines-mcp-server 2.0.7 โ 2.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.
- package/README.md +38 -37
- package/dist/index.js +168 -26
- package/dist/index.js.map +1 -1
- package/dist/notifications.js +3 -3
- package/dist/notifications.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# LeafEngines MCP Server โ Agricultural Intelligence for AI Agents
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> ๐ **Global Startup Awards 2026 โ North America Regional Nominee**
|
|
4
|
+
|
|
5
|
+
**Patent-protected soil analysis, crop recommendations, and environmental intelligence** via Model Context Protocol. 1,300+ downloads. Published on the Official MCP Registry (v2.0.8). GitHub MCP Registry included (`io.github.QWarranto/leafengines`). **A-Excellent verified** on MCP World (June 2026) โ QGIS approved (ID 4987) ยท SDK v3.0 hardware-ready ยท 750+ developers.
|
|
4
6
|
|
|
5
7
|
## โก Get Started Now
|
|
6
8
|
|
|
@@ -8,11 +10,11 @@
|
|
|
8
10
|
- **Test key:** `leaf-test-370df0a2e62e` (paste into config, works immediately)
|
|
9
11
|
- **Free header:** `x-free-tier: true` (no key needed at all)
|
|
10
12
|
|
|
11
|
-
**Ready for production
|
|
12
|
-
- [Starter โ $
|
|
13
|
-
- [Pro โ $
|
|
13
|
+
**Ready for production?**
|
|
14
|
+
- [Starter โ $149/mo โ](https://buy.stripe.com/5kQ6oHcB88bR93s8MSaMU04)
|
|
15
|
+
- [Pro โ $499/mo โ](https://buy.stripe.com/14A6oH7gO3VBcfE1kqaMU05)
|
|
14
16
|
|
|
15
|
-
**
|
|
17
|
+
**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
18
|
|
|
17
19
|
---
|
|
18
20
|
|
|
@@ -65,7 +67,7 @@ Your AI agent will use LeafEngines tools automatically to analyze soil, recommen
|
|
|
65
67
|
|
|
66
68
|
| Tool | What It Returns | Tier |
|
|
67
69
|
|------|----------------|------|
|
|
68
|
-
| `
|
|
70
|
+
| `get_soil_data` | USDA SSURGO soil composition, pH, NPK, drainage, recommendations | Commoditized |
|
|
69
71
|
| `county_lookup` | Resolve location names to FIPS codes | Commoditized |
|
|
70
72
|
| `territorial_water_quality` | EPA water quality and contamination risk scores | Commoditized |
|
|
71
73
|
| `agricultural_intelligence` | AI-powered agricultural insights and recommendations | Enhanced |
|
|
@@ -73,47 +75,45 @@ Your AI agent will use LeafEngines tools automatically to analyze soil, recommen
|
|
|
73
75
|
| `carbon_credit_calculator` | Carbon credit potential using proprietary models | Proprietary |
|
|
74
76
|
| `generate_vrt_prescription` | Variable rate technology prescription maps | Proprietary |
|
|
75
77
|
| `environmental_impact_analysis` | Patent-pending Environmental Compatibility Score with satellite data fusion | Exclusive |
|
|
76
|
-
| `planting_optimization` | Multi-parameter phenology models for optimal planting windows | Exclusive |
|
|
77
78
|
| `turbo_quant_capabilities` | Hardware optimization check โ **always free, no auth required** | Free |
|
|
78
79
|
|
|
80
|
+
> **9 active tools** across 4 pricing tiers (planting_optimization under maintenance โ disabled upstream).
|
|
81
|
+
|
|
79
82
|
## ๐ฐ Pricing
|
|
80
83
|
|
|
81
84
|
### Free Tier โ No Credit Card
|
|
82
85
|
- **Test key:** `leaf-test-370df0a2e62e` โ works immediately
|
|
83
86
|
- **Free header:** `x-free-tier: true` โ no key needed
|
|
84
|
-
- **Includes:**
|
|
87
|
+
- **Includes:** 3 AI calls/day + 50 data lookups/day. County lookup, water quality, TurboQuant check always free.
|
|
85
88
|
- [Start free โ](https://soilcertify.com)
|
|
86
89
|
|
|
87
|
-
### Pay
|
|
90
|
+
### Credit Packs โ Pay As You Go
|
|
91
|
+
|
|
92
|
+
| Pack | Price | Credits | Per-Call Rate | Best For | Buy |
|
|
93
|
+
|------|-------|---------|---------------|----------|-----|
|
|
94
|
+
| Starter | $10.00 | 1,000 | $0.01/call | Low-volume Telegram users, hobby developers | [Buy โ](https://buy.stripe.com/3cIdR99oWajZdjI6EKaMU07) |
|
|
95
|
+
| Pro | $25.00 | 5,000 | $0.005/call | Regular users, n8n/Node-RED integrations | [Buy โ](https://buy.stripe.com/7sY28reJg1NtenM8MSaMU0b) |
|
|
96
|
+
| Enterprise | $50.00 | 25,000 | $0.002/call | High-volume users, MCP/Clawhub clients | [Buy โ](https://buy.stripe.com/3cIeVd9oW1NtgvU1kqaMU09) |
|
|
88
97
|
|
|
89
|
-
|
|
90
|
-
|------|-------|--------------|--------------|-----|
|
|
91
|
-
| Commoditized | $0.50/bundle | $0.001/call | Basic soil/weather, county lookup | [Buy โ](https://buy.stripe.com/3cIdR99oWajZdjI6EKaMU07) |
|
|
92
|
-
| Enhanced | $1.50/bundle | $0.003/call | Environmental impact, crop suitability, water quality | [Buy โ](https://buy.stripe.com/7sY28reJg1NtenM8MSaMU0b) |
|
|
93
|
-
| Proprietary | $5.00/bundle | $0.010/call | Planting optimization, carbon credits, VRT | [Buy โ](https://buy.stripe.com/3cIeVd9oW1NtgvU1kqaMU09) |
|
|
94
|
-
| Exclusive | $10.00/bundle | $0.020/call | Patent-pending environmental compatibility scoring | [Buy โ](https://buy.stripe.com/6oU4gzbx40Jp6Vk1kqaMU0a) |
|
|
98
|
+
> One-time purchase. Credits never expire. All endpoints unlocked. Data lookups always free.
|
|
95
99
|
|
|
96
|
-
### Monthly Subscriptions
|
|
100
|
+
### Monthly Volume Subscriptions
|
|
97
101
|
|
|
98
|
-
| Plan | Price |
|
|
99
|
-
|
|
100
|
-
|
|
|
101
|
-
|
|
|
102
|
-
|
|
|
103
|
-
| Pro | $499/mo | 35,000/mo | Production apps, teams | [Subscribe โ](https://buy.stripe.com/14A6oH7gO3VBcfE1kqaMU05) |
|
|
104
|
-
| Enterprise | $1,999/mo | 175,000+/mo | White-label, SLA, OEM | [Subscribe โ](https://buy.stripe.com/eVqaEXfNkajZ6Vk0gmaMU06) |
|
|
105
|
-
| Enterprise Bundle | $3,499/mo | 685,000/mo | Large OEM, max volume | Contact: sales@leafengines.com |
|
|
102
|
+
| Plan | Price | What You Get | Best For | Subscribe |
|
|
103
|
+
|------|-------|--------------|----------|-----------|
|
|
104
|
+
| Starter | $149/mo | Unlimited AI calls + email support | Small teams, production n8n workflows | [Subscribe โ](https://buy.stripe.com/5kQ6oHcB88bR93s8MSaMU04) |
|
|
105
|
+
| Pro | $499/mo | Higher throughput + priority support | Growing integrations, MCP servers | [Subscribe โ](https://buy.stripe.com/14A6oH7gO3VBcfE1kqaMU05) |
|
|
106
|
+
| Enterprise | $1,999/mo | Unlimited volume + custom SLAs + white-label | OEM partners, enterprise deployments | [Subscribe โ](https://buy.stripe.com/eVqaEXfNkajZ6Vk0gmaMU06) |
|
|
106
107
|
|
|
107
|
-
> โฐ **Founder pricing expires June 1, 2026.** First 100 customers lock lifetime rates.
|
|
108
108
|
|
|
109
109
|
### International Pricing
|
|
110
110
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
111
|
+
|| Region | Starter | Pro | Local Payment Methods |
|
|
112
|
+
||--------|---------|-----|----------------------|
|
|
113
|
+
|| **United States** | $149/mo | $499/mo | Card, Apple Pay, Google Pay, Affirm |
|
|
114
|
+
|| **European Union** | โฌ135/mo (VAT incl.) | โฌ450/mo (VAT incl.) | Klarna, iDEAL, EPS, Apple/Google Pay |
|
|
115
|
+
|| **United Kingdom** | ยฃ115/mo (VAT incl.) | ยฃ385/mo (VAT incl.) | Afterpay/Clearpay, Apple/Google Pay |
|
|
116
|
+
|| **Australia** | AU$225/mo (GST incl.) | AU$750/mo (GST incl.) | Afterpay, Apple/Google Pay |
|
|
117
117
|
|
|
118
118
|
## ๐ Integration Guides
|
|
119
119
|
|
|
@@ -134,15 +134,16 @@ skills:
|
|
|
134
134
|
Add to your Cursor MCP configuration with the same API key.
|
|
135
135
|
|
|
136
136
|
### MCP Registry
|
|
137
|
-
- **Package:** `io.github.QWarranto/leafengines`
|
|
138
|
-
- **Registry:** [
|
|
137
|
+
- **Package:** `io.github.QWarranto/leafengines` v2.0.8 โ latest
|
|
138
|
+
- **Official Registry:** [registry.modelcontextprotocol.io](https://registry.modelcontextprotocol.io)
|
|
139
|
+
- **GitHub Registry:** Inclusion requested โ [github.com/mcp](https://github.com/mcp) (would be first AgTech server)
|
|
139
140
|
|
|
140
141
|
## ๐ Examples
|
|
141
142
|
|
|
142
143
|
### Soil Analysis
|
|
143
144
|
```
|
|
144
145
|
User: "What's the soil like in Travis County, Texas?"
|
|
145
|
-
AI: [Uses
|
|
146
|
+
AI: [Uses get_soil_data] "The soil in Travis County is primarily..."
|
|
146
147
|
```
|
|
147
148
|
|
|
148
149
|
### Crop Planning
|
|
@@ -163,18 +164,18 @@ AI: [Uses environmental_impact_analysis + carbon_credit_calculator] "Environment
|
|
|
163
164
|
- **Field analysis** โ USDA SSURGO data for any US county, instantly
|
|
164
165
|
- **Carbon credit assessment** โ Proprietary models for compliance reporting
|
|
165
166
|
- **Environmental impact scoring** โ Patent-pending satellite data fusion
|
|
166
|
-
- **
|
|
167
|
+
- **Partner Program:** [Sell soil reports to your clients โ](https://soilcertify.com)
|
|
167
168
|
|
|
168
169
|
### For Agricultural Consultants
|
|
169
170
|
- **Client-ready analysis** โ Soil composition, drainage, NPK recommendations
|
|
170
171
|
- **Crop optimization** โ Multi-parameter phenology for planting windows
|
|
171
172
|
- **Water quality assessment** โ EPA data with contamination risk scores
|
|
172
|
-
- **Sell reports to clients:** [
|
|
173
|
+
- **Sell reports to clients:** [Join Partner Program โ](https://soilcertify.com) (4ร markup on $25 wholesale)
|
|
173
174
|
|
|
174
175
|
### For Developers & AI Engineers
|
|
175
176
|
- **MCP integration** โ Works with Claude, Cursor, OpenClaw, any MCP client
|
|
176
177
|
- **TurboQuant optimization** โ 6x memory compression for edge/offline deployment
|
|
177
|
-
- **Multi-agent orchestration** โ
|
|
178
|
+
- **Multi-agent orchestration** โ 9 tools across 4 pricing tiers
|
|
178
179
|
- **API access** โ Direct HTTP calls to Supabase edge functions
|
|
179
180
|
|
|
180
181
|
## ๐ก๏ธ Enterprise-Grade Governance
|
package/dist/index.js
CHANGED
|
@@ -28,7 +28,7 @@ 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: "2.0.
|
|
31
|
+
version: "2.0.8",
|
|
32
32
|
}, {
|
|
33
33
|
capabilities: {
|
|
34
34
|
tools: {},
|
|
@@ -51,7 +51,7 @@ async function sendTelemetryEvent(event) {
|
|
|
51
51
|
timeout: 1000, // Don't block on telemetry
|
|
52
52
|
headers: {
|
|
53
53
|
"x-surface": event.surface ?? "mcp",
|
|
54
|
-
"x-client-version": "2.0.
|
|
54
|
+
"x-client-version": "2.0.8",
|
|
55
55
|
},
|
|
56
56
|
});
|
|
57
57
|
}
|
|
@@ -67,7 +67,7 @@ async function trackToolUsage(toolName) {
|
|
|
67
67
|
await axios_1.default.post(TELEMETRY_ANALYTICS_ENDPOINT, {
|
|
68
68
|
event: "tool_used",
|
|
69
69
|
tool: toolName,
|
|
70
|
-
version: "2.0.
|
|
70
|
+
version: "2.0.8",
|
|
71
71
|
timestamp: new Date().toISOString(),
|
|
72
72
|
anonymous_id: `mcp_${Date.now()}_${Math.random().toString(36).slice(2, 11)}`,
|
|
73
73
|
}, {
|
|
@@ -80,12 +80,12 @@ async function trackToolUsage(toolName) {
|
|
|
80
80
|
}
|
|
81
81
|
// Community engagement message (shown on first run)
|
|
82
82
|
function getCommunityMessage() {
|
|
83
|
-
return `๐ฑ Welcome to LeafEngines MCP Server (v2.0.
|
|
83
|
+
return `๐ฑ Welcome to LeafEngines MCP Server (v2.0.8)!
|
|
84
84
|
|
|
85
|
-
Join
|
|
85
|
+
Join 1,100+ developers in our community:
|
|
86
86
|
โข GitHub Discussions: https://github.com/QWarranto/leafengines-claude-mcp/discussions
|
|
87
|
-
โข Upcoming Tutorial Videos: Agricultural AI MCP tips
|
|
88
87
|
โข Twitter: @LeafEnginesAI for updates
|
|
88
|
+
โข MCP Registry: registry.modelcontextprotocol.io
|
|
89
89
|
|
|
90
90
|
Share your use case: What are you building with agricultural AI?`;
|
|
91
91
|
}
|
|
@@ -124,53 +124,76 @@ async function callLeafEnginesAPI(toolName, arguments_, apiKey, isFreeTool = fal
|
|
|
124
124
|
throw error;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
//
|
|
127
|
+
// All 9 active tools matching the Supabase backend (planting_optimization disabled upstream)
|
|
128
128
|
server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => {
|
|
129
129
|
return {
|
|
130
130
|
tools: [
|
|
131
|
+
{
|
|
132
|
+
name: "county_lookup",
|
|
133
|
+
description: "COMMODITIZED TIER (FREE): Search for US counties by name, state, or FIPS code. Returns matching counties with FIPS codes, state names, and state codes. Use when the user provides a place name instead of a 5-digit FIPS code. Most other tools require a FIPS code, so call this first to resolve it.",
|
|
134
|
+
inputSchema: {
|
|
135
|
+
type: "object",
|
|
136
|
+
properties: {
|
|
137
|
+
term: {
|
|
138
|
+
type: "string",
|
|
139
|
+
minLength: 2,
|
|
140
|
+
maxLength: 100,
|
|
141
|
+
description: "Search term โ county name, state name, or partial FIPS code (e.g., 'Miami-Dade', 'Georgia', '13')"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
required: ["term"]
|
|
145
|
+
}
|
|
146
|
+
},
|
|
131
147
|
{
|
|
132
148
|
name: "get_soil_data",
|
|
133
|
-
description: "COMMODITIZED TIER (
|
|
149
|
+
description: "COMMODITIZED TIER (FREE): Retrieve USDA SSURGO soil composition for any US county. Returns pH, N-P-K nutrients, organic matter %, drainage class, and texture. Use for soil quality, land suitability, nutrient levels. Requires 5-digit FIPS code โ call county_lookup first if you only have a place name.",
|
|
134
150
|
inputSchema: {
|
|
135
151
|
type: "object",
|
|
136
152
|
properties: {
|
|
137
153
|
county_fips: {
|
|
138
154
|
type: "string",
|
|
139
155
|
pattern: "^[0-9]{5}$",
|
|
140
|
-
description: "5-digit US county FIPS code"
|
|
156
|
+
description: "5-digit US county FIPS code (e.g., '13121' for Fulton County, GA)"
|
|
141
157
|
},
|
|
142
158
|
county_name: {
|
|
143
159
|
type: "string",
|
|
144
|
-
description: "County name (optional,
|
|
160
|
+
description: "County name (optional, helpful with state_code)"
|
|
145
161
|
},
|
|
146
162
|
state_code: {
|
|
147
163
|
type: "string",
|
|
148
164
|
pattern: "^[A-Z]{2}$",
|
|
149
|
-
description: "2-letter state code (optional,
|
|
165
|
+
description: "2-letter state code (optional, helpful with county_name)"
|
|
150
166
|
}
|
|
151
167
|
},
|
|
152
168
|
required: ["county_fips"]
|
|
153
169
|
}
|
|
154
170
|
},
|
|
155
171
|
{
|
|
156
|
-
name: "
|
|
157
|
-
description: "
|
|
172
|
+
name: "agricultural_intelligence",
|
|
173
|
+
description: "ENHANCED TIER ($0.003/call): AI-powered agricultural analysis combining soil, climate, and crop science. Provides planting recommendations, yield predictions, risk assessments, and sustainability scores. Use for crop planning, farming risks, yield forecasting.",
|
|
158
174
|
inputSchema: {
|
|
159
175
|
type: "object",
|
|
160
176
|
properties: {
|
|
161
|
-
|
|
177
|
+
county_fips: {
|
|
162
178
|
type: "string",
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
179
|
+
pattern: "^[0-9]{5}$",
|
|
180
|
+
description: "5-digit US county FIPS code"
|
|
181
|
+
},
|
|
182
|
+
crop_type: {
|
|
183
|
+
type: "string",
|
|
184
|
+
description: "Crop to analyze (e.g., 'corn', 'soybeans', 'wheat', 'cotton')"
|
|
185
|
+
},
|
|
186
|
+
question: {
|
|
187
|
+
type: "string",
|
|
188
|
+
description: "Specific agricultural question to answer"
|
|
166
189
|
}
|
|
167
190
|
},
|
|
168
|
-
required: ["
|
|
191
|
+
required: ["county_fips"]
|
|
169
192
|
}
|
|
170
193
|
},
|
|
171
194
|
{
|
|
172
|
-
name: "
|
|
173
|
-
description: "
|
|
195
|
+
name: "territorial_water_quality",
|
|
196
|
+
description: "COMMODITIZED TIER (FREE): Retrieve EPA water quality data for a US county. Returns contamination risk levels, water body proximity, and parameter readings (nitrates, phosphorus, turbidity). Use for irrigation safety, drinking water risk, environmental compliance. Pair with environmental_impact_analysis for a complete picture.",
|
|
174
197
|
inputSchema: {
|
|
175
198
|
type: "object",
|
|
176
199
|
properties: {
|
|
@@ -178,17 +201,136 @@ server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => {
|
|
|
178
201
|
type: "string",
|
|
179
202
|
pattern: "^[0-9]{5}$",
|
|
180
203
|
description: "5-digit US county FIPS code"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
required: ["county_fips"]
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
name: "safe_identification",
|
|
211
|
+
description: "ENHANCED TIER ($0.003/call): Identify a plant and flag toxic lookalikes with environmental context. Returns safety warnings, confidence scores, and habitat info. Use for foraging safety, plant ID, edible/poisonous checks.",
|
|
212
|
+
inputSchema: {
|
|
213
|
+
type: "object",
|
|
214
|
+
properties: {
|
|
215
|
+
plant_name: {
|
|
216
|
+
type: "string",
|
|
217
|
+
description: "Common or scientific plant name to identify"
|
|
218
|
+
},
|
|
219
|
+
location: {
|
|
220
|
+
type: "string",
|
|
221
|
+
description: "Geographic context (state, region, or coordinates)"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
required: ["plant_name"]
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
name: "carbon_credit_calculator",
|
|
229
|
+
description: "PROPRIETARY TIER ($0.005/call): Calculate carbon credit potential for agricultural land. Returns estimated credits (tonnes COโe), monetary value ($USD), verification timeline, and registry requirements. Use for carbon offset revenue, sustainability incentives, conservation practice ROI.",
|
|
230
|
+
inputSchema: {
|
|
231
|
+
type: "object",
|
|
232
|
+
properties: {
|
|
233
|
+
field_size_acres: {
|
|
234
|
+
type: "number",
|
|
235
|
+
description: "Field size in acres"
|
|
236
|
+
},
|
|
237
|
+
soil_organic_matter: {
|
|
238
|
+
type: "number",
|
|
239
|
+
description: "Current soil organic matter percentage (0-100)"
|
|
240
|
+
},
|
|
241
|
+
practice_type: {
|
|
242
|
+
type: "string",
|
|
243
|
+
enum: ["cover_cropping", "no_till", "reduced_till", "agroforestry", "nutrient_management"],
|
|
244
|
+
description: "Conservation practice being implemented"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
required: ["field_size_acres"]
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
name: "generate_vrt_prescription",
|
|
252
|
+
description: "PROPRIETARY TIER ($0.005/call): Generate a variable rate technology (VRT) prescription map for precision agriculture. Creates zone-based application rates for fertilizer, seed, water, or pesticide. Use for precision application, variable rate seeding, zone-based field management. ADAPT 1.0 / ISOBUS compatible output.",
|
|
253
|
+
inputSchema: {
|
|
254
|
+
type: "object",
|
|
255
|
+
properties: {
|
|
256
|
+
county_fips: {
|
|
257
|
+
type: "string",
|
|
258
|
+
description: "5-digit US county FIPS code"
|
|
259
|
+
},
|
|
260
|
+
application_type: {
|
|
261
|
+
type: "string",
|
|
262
|
+
enum: ["fertilizer", "seed", "water", "pesticide"],
|
|
263
|
+
description: "Type of variable rate application"
|
|
181
264
|
},
|
|
182
265
|
crop_type: {
|
|
183
266
|
type: "string",
|
|
184
|
-
description: "
|
|
267
|
+
description: "Target crop type"
|
|
185
268
|
},
|
|
186
|
-
|
|
269
|
+
field_size_acres: {
|
|
270
|
+
type: "number",
|
|
271
|
+
description: "Field size in acres"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
required: ["county_fips", "application_type"]
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: "environmental_impact_analysis",
|
|
279
|
+
description: "EXCLUSIVE TIER ($0.01/call): Patent-pending multi-source environmental impact assessment. Fuses USDA soil, EPA water, NOAA climate, and satellite data into an Environmental Compatibility Score. Returns runoff_risk, contamination_risk, biodiversity_impact, carbon_footprint_score, and satellite-derived vegetation health. Use for environmental due diligence, land purchase evaluation, regulatory pre-screening.",
|
|
280
|
+
inputSchema: {
|
|
281
|
+
type: "object",
|
|
282
|
+
properties: {
|
|
283
|
+
analysis_id: {
|
|
187
284
|
type: "string",
|
|
188
|
-
|
|
285
|
+
format: "uuid",
|
|
286
|
+
description: "UUID for this analysis session"
|
|
287
|
+
},
|
|
288
|
+
county_fips: {
|
|
289
|
+
type: "string",
|
|
290
|
+
pattern: "^[0-9]{5}$",
|
|
291
|
+
description: "5-digit US county FIPS code"
|
|
292
|
+
},
|
|
293
|
+
lat: {
|
|
294
|
+
type: "number",
|
|
295
|
+
minimum: -90,
|
|
296
|
+
maximum: 90,
|
|
297
|
+
description: "Latitude of the analysis point"
|
|
298
|
+
},
|
|
299
|
+
lng: {
|
|
300
|
+
type: "number",
|
|
301
|
+
minimum: -180,
|
|
302
|
+
maximum: 180,
|
|
303
|
+
description: "Longitude of the analysis point"
|
|
304
|
+
},
|
|
305
|
+
soil_data: {
|
|
306
|
+
type: "object",
|
|
307
|
+
description: "Soil composition data (drainage_class, slope_percentage, organic_matter_percentage, permeability)"
|
|
308
|
+
},
|
|
309
|
+
water_body_data: {
|
|
310
|
+
type: "object",
|
|
311
|
+
description: "Optional water body proximity data (proximity_km)"
|
|
189
312
|
}
|
|
190
313
|
},
|
|
191
|
-
required: ["county_fips"]
|
|
314
|
+
required: ["county_fips", "lat", "lng", "soil_data"]
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
name: "turbo_quant_capabilities",
|
|
319
|
+
description: "FREE (NO AUTH REQUIRED): Query TurboQuant runtime capabilities, supported model tiers, memory profiles, and context window configurations. Returns hardware requirements for each model tier, available context modes, and performance benchmarks. Use to determine optimal model tier for a given hardware profile. Always free โ no API key needed.",
|
|
320
|
+
inputSchema: {
|
|
321
|
+
type: "object",
|
|
322
|
+
properties: {
|
|
323
|
+
device_ram_gb: {
|
|
324
|
+
type: "number",
|
|
325
|
+
description: "Available device RAM in GB. If provided, filters to models that fit."
|
|
326
|
+
},
|
|
327
|
+
runtime: {
|
|
328
|
+
type: "string",
|
|
329
|
+
enum: ["webgpu", "wasm", "native-cpp", "all"],
|
|
330
|
+
description: "Filter capabilities by runtime environment. Default: 'all'."
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
required: []
|
|
192
334
|
}
|
|
193
335
|
},
|
|
194
336
|
],
|
|
@@ -201,7 +343,7 @@ server.setRequestHandler(types_js_1.CallToolRequestSchema, async (request) => {
|
|
|
201
343
|
trackToolUsage(name);
|
|
202
344
|
// Get API key from environment variable
|
|
203
345
|
const apiKey = process.env.LEAFENGINES_API_KEY;
|
|
204
|
-
const freeTools = ['county_lookup', 'get_soil_data'];
|
|
346
|
+
const freeTools = ['county_lookup', 'get_soil_data', 'territorial_water_quality', 'turbo_quant_capabilities'];
|
|
205
347
|
// Free tools: county_lookup and get_soil_data available without API key
|
|
206
348
|
if (!apiKey && !freeTools.includes(name)) {
|
|
207
349
|
// Telemetry the paywall hit
|
|
@@ -218,7 +360,7 @@ server.setRequestHandler(types_js_1.CallToolRequestSchema, async (request) => {
|
|
|
218
360
|
content: [
|
|
219
361
|
{
|
|
220
362
|
type: "text",
|
|
221
|
-
text: `API key required for ${name}. Free tools available without key: county_lookup, get_soil_data.\n\nGet full access:\nโข Starter ($
|
|
363
|
+
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.`,
|
|
222
364
|
},
|
|
223
365
|
],
|
|
224
366
|
isError: true,
|
package/dist/index.js.map
CHAN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E,6BAA6B,IAAI,yFAAyF;qBACjI;iBACF;gBACD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,iBAAiB,IAAI,KAAK,KAAK,CAAC,OAAO,EAAE;iBAChD;aACF;YACD,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,iBAAiB;AACjB,MAAM,CAAC,OAAO,GAAG,CAAC,KAAK,EAAE,EAAE;IACzB,OAAO,CAAC,KAAK,CAAC,oBAAoB,EAAE,KAAK,CAAC,CAAC;AAC7C,CAAC,CAAC;AAEF,sBAAsB;AACtB,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,IAAI,EAAE;IAC9B,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;IACrB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,eAAe;AACf,KAAK,UAAU,IAAI;IACjB,MAAM,SAAS,GAAG,IAAI,+BAAoB,EAAE,CAAC;IAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAC;AAC3D,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,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"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.js","sourceRoot":"","sources":["../src/notifications.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAUH,wCAGC;AAKD,4CAGC;AAKD,oDAmDC;AAKD,oEAYC;AAKD,0DAUC;AAzGD,4CAA4C;AAC5C,MAAM,gBAAgB,GAAa,IAAI,GAAG,EAAE,CAAC;AAE7C;;GAEG;AACH,SAAgB,cAAc,CAAC,SAAc;IAC3C,gBAAgB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,CAAC,GAAG,CAAC,kDAAkD,gBAAgB,CAAC,IAAI,EAAE,CAAC,CAAC;AACzF,CAAC;AAED;;GAEG;AACH,SAAgB,gBAAgB,CAAC,SAAc;IAC7C,gBAAgB,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IACnC,OAAO,CAAC,GAAG,CAAC,kCAAkC,gBAAgB,CAAC,IAAI,EAAE,CAAC,CAAC;AACzE,CAAC;AAED;;GAEG;AACI,KAAK,UAAU,oBAAoB,CAAC,MAAc;IACvD,MAAM,YAAY,GAAG;QACnB,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,4BAA4B;QACpC,MAAM,EAAE;YACN,IAAI,EAAE,eAAe;YACrB,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,8BAA8B;YAC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AC,MAAM,CAAC,CAAC;IAC/B,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,wCAAwC;AACpD,CAAC"}
|
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.9",
|
|
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",
|