CropSense

Search documentation

Search for a command to run...

Getting Started

AI assistants (MCP)

Ask Claude, ChatGPT or your coding assistant about your farms in plain language. The CropSense MCP server gives them your fields, satellite crop monitoring, weather, soil and farm records.

The Model Context Protocol (MCP) lets an AI assistant call tools. Connect the assistant to the CropSense server once, sign in with your CropSense account, and it can answer questions from your own data. It only sees what your account can see, through the same API and access rules described in this documentation.

Server URL

https://mcp.cropsense.africa/mcp

Connect

  1. 1

    Claude and ChatGPT

    Add a custom connector (MCP server) in the assistant's settings and paste the server URL. Where custom connectors live, and which plans include them, depends on the app and changes over time; look for Connectors in its settings.

    The assistant then opens a CropSense sign-in page. Sign in with your CropSense email and password and allow access. The page names the app asking and the site you'll be returned to. Your password goes to CropSense only; the assistant never sees it.

  2. 2

    Claude Code

    claude mcp add --transport http cropsense https://mcp.cropsense.africa/mcp

    Run /mcp in Claude Code to sign in.

  3. 3

    Cursor and other MCP clients

    Clients that support MCP sign-in (OAuth) need only the URL:

    {
      "mcpServers": {
        "cropsense": { "url": "https://mcp.cropsense.africa/mcp" }
      }
    }

    A client without OAuth support can send a CropSense access token instead (from Authentication):

    {
      "mcpServers": {
        "cropsense": {
          "url": "https://mcp.cropsense.africa/mcp",
          "headers": { "Authorization": "Bearer YOUR_ACCESS_TOKEN" }
        }
      }
    }
Sign-in to the MCP server is by email and password. Google sign-in isn't available there yet. Accounts that manage farms for an organisation rather than owning them aren't supported yet.

Things to ask

  • Which of my fields look stressed this week, and why?
  • How much rain has North Plot had this month, and is more coming?
  • Compare the health of all fields on my farm.
  • I'm standing at -1.2921, 36.8219. Which field is this?
  • I fertilized North Plot with 100 kg/ha NPK today. Record it.

Tools

38 tools in six groups. Tools that change data are marked as such to the assistant, which typically asks you before using them. The server also offers prompts (weekly_farm_check, field_deep_dive, add_a_field) and a guide to reading the satellite indices.

Farms and fields

list_farmsget_farm_detailslist_fieldsget_field_detailscreate_farmcreate_fieldupdate_fielddelete_field

delete_field asks for confirmation first: it shows what would be removed and only deletes when called again with the confirmation it returns.

Satellite intelligence

get_latest_satellite_dataget_satellite_historyget_vegetation_indicesanalyse_vegetation_trendcompare_field_healthidentify_stressed_fieldsget_satellite_observation_quality

Cloudy and low-confidence captures are skipped by default, and every answer says how old the latest clear capture is.

Weather

get_current_weatherget_weather_forecastget_historical_weatheranalyse_rainfallcompare_field_weather

Boundaries and GIS

validate_field_geometrycalculate_field_areafind_field_by_locationcheck_boundary_overlapget_fields_within_areacreate_field_boundaryupdate_field_boundary

Agronomy

get_soil_dataget_field_alertsget_farm_alertsget_crop_detailsget_crop_recommendationsget_field_economics

Farm operations

get_farm_activitiescreate_farm_activityupdate_farm_activityrecord_harvestget_harvest_history

Limits and privacy

  • Up to 30 tool calls a minute and 1,000 a day per user; the assistant is told how long to wait.
  • The assistant's session lasts until you disconnect it, change your password, or don't use it for 30 days.
  • The server keeps your CropSense session encrypted to make calls on your behalf, and logs which tools are called and how long they take. It doesn't log what you ask or the data returned.
  • What you send to an assistant, and what it does with tool results, is governed by that assistant's own terms and privacy policy.