CropHist MCP Server

Natural-language access to 62M fields of crop rotation history for Claude Desktop, Claude Code, ChatGPT / Codex, and any other Model Context Protocol client.

What is MCP?

The Model Context Protocol is an open standard that lets AI assistants call tools safely with structured schemas. Anthropic, OpenAI (ChatGPT / Codex), and a growing ecosystem of agents support it. CropHist exposes 9 tools over MCP, so any MCP-capable AI agent can look up fields, compare years, analyze polygons, and export data — all from plain English prompts.

Quick start — Claude Desktop

Paste into your claude_desktop_config.json:

{
  "mcpServers": {
    "crophist": {
      "command": "npx",
      "args": ["-y", "crophist-mcp"]
    }
  }
}

Restart Claude Desktop, then ask: "What crops were grown near Ames, Iowa, over the last 10 years?"

Quick start — Claude Code

claude mcp add crophist -- npx -y crophist-mcp

Quick start — ChatGPT / Codex & other agents

Any MCP-compatible client works — just point it at the hosted JSON-RPC endpoint:

https://mcp.crophist.com

For clients that want a local stdio process (same as Claude Desktop), run npx -y crophist-mcp.

Remote HTTP mode

The endpoint speaks JSON-RPC 2.0 over POST. 25 free demo calls/day with no signup.

curl -X POST https://mcp.crophist.com \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Authenticated remote use

For higher rate limits, get a free API key at api.crophist.com and append it as a query param:

https://mcp.crophist.com?key=YOUR_API_KEY

Available tools

  • lookup_field — crop history for a Digifarm field ID
  • find_field — find the field at a given lat/lng
  • search_location — geocode a place name
  • check_usage — current rate-limit usage
  • compare_years — compare crop patterns across two years
  • crop_stats — aggregate statistics for a bbox
  • batch_fields — lookup up to 100 or 1,000 fields (Pro / Enterprise)
  • analyze_polygon — real-time zonal stats for any GeoJSON polygon (Enterprise)
  • export_data — presigned parquet / CSV export (Enterprise)

Example prompts

  • "Show me the last 10 years of crops for field 6KHK.2C6E."
  • "What's the dominant rotation in Story County, Iowa?"
  • "How did Brazilian soy planting change from 2015 to 2024 near Sorriso?"
  • "Compare 2022 and 2023 cropping patterns across this GeoJSON polygon."

Source

npm: crophist-mcp · Hosted: https://mcp.crophist.com