@ktmcp-cli/climatecom
v1.0.0
Published
Production-ready CLI for Climate FieldView agricultural platform API
Maintainers
Readme
"Six months ago, everyone was talking about MCPs. And I was like, screw MCPs. Every MCP would be better as a CLI."
— Peter Steinberger, Founder of OpenClaw Watch on YouTube (~2:39:00) | Lex Fridman Podcast #491
Climate FieldView CLI
A production-ready command-line interface for the Climate FieldView agricultural platform API. Manage fields, farms, boundaries, and view harvest and planting activities directly from your terminal.
Disclaimer: This is an unofficial CLI tool and is not affiliated with, endorsed by, or supported by The Climate Corporation.
Features
- Fields — List, get, and create farm fields
- Farms — Browse and inspect farms
- Boundaries — View field boundary geometries
- Harvest — Track harvest activities and yields
- Planting — View planting activities and crop data
- JSON output — All commands support
--jsonfor scripting and piping - Colorized output — Clean, readable terminal output with chalk
Why CLI > MCP
MCP servers are complex, stateful, and require a running server process. A CLI is:
- Simpler — Just a binary you call directly
- Composable — Pipe output to
jq,grep,awk, and other tools - Scriptable — Use in shell scripts, CI/CD pipelines, cron jobs
- Debuggable — See exactly what's happening with
--jsonflag - AI-friendly — AI agents can call CLIs just as easily as MCPs, with less overhead
Installation
npm install -g @ktmcp-cli/climatecomAuthentication Setup
Get your API key from the Climate FieldView Developer Portal.
Configure the CLI
climatecom config set --api-key YOUR_API_KEYCommands
Configuration
climatecom config set --api-key <key>
climatecom config showFields
# List all fields
climatecom fields list
# Get a specific field
climatecom fields get <field-id>
# Create a field
climatecom fields create --name "North Field" --acres 120.5Farms
# List all farms
climatecom farms list
# Get a specific farm
climatecom farms get <farm-id>Boundaries
# List all field boundaries
climatecom boundaries list
# Get a specific boundary (includes GeoJSON geometry)
climatecom boundaries get <boundary-id>Harvest Activities
# List harvest activities
climatecom harvest list
# Get a specific harvest activity
climatecom harvest get <activity-id>Planting Activities
# List planting activities
climatecom planting list
# Get a specific planting activity
climatecom planting get <activity-id>JSON Output
All commands support --json for machine-readable output:
# Get all fields as JSON
climatecom fields list --json
# Get boundary geometry
climatecom boundaries get <id> --json | jq '.geometry'
# List harvest activities with yield data
climatecom harvest list --json | jq '.[] | {field: .fieldName, crop: .crop, area: .area}'Examples
Farm overview
# List all farms
climatecom farms list --json | jq '.[].name'
# Get all fields for analysis
climatecom fields list --json | jq '[.[] | {name, acres}] | sort_by(.acres) | reverse'Season planning
# View previous planting activities
climatecom planting list --json
# View harvest results
climatecom harvest list --json | jq '[.[] | select(.crop == "CORN")]'Contributing
Issues and pull requests are welcome at github.com/ktmcp-cli/climatecom.
License
MIT — see LICENSE for details.
Part of the KTMCP CLI project — replacing MCPs with simple, composable CLIs.
