Skip to main content
Every tool the Leaf MCP server exposes to AI coding assistants. Tools are organized by category. All tools authenticate using the LEAF_TOKEN header configured in your MCP client. See MCP Server Overview for setup instructions.

Documentation

get_docs_index

Returns an index of all available Leaf API documentation pages.

get_leaf_doc

Returns the contents of a specific Leaf API documentation page.

Configuration

get_api_owner_configuration

Returns configuration settings for the API owner, including defaults for field operation image creation, fields auto-sync, and merge intersections.

get_leaf_user_configuration

Returns configuration settings for a specific Leaf user. If the user has no custom configuration, they inherit from the API owner.

Provider Credentials

get_john_deere_credentials_events

Returns events and status information for a Leaf user’s John Deere credentials. Useful for troubleshooting connection issues with John Deere Operations Center.

get_climate_fieldview_credentials_events

Returns events and status information for a Leaf user’s Climate FieldView credentials.

get_cnhi_credentials_events

Returns events and status information for a Leaf user’s CNHi credentials.

User Management

list_users

Returns a paginated list of Leaf users belonging to the authenticated organization.

Fields

list_fields

Returns a paginated list of fields for a Leaf user.

get_field

Returns details for a single field.

get_field_boundary

Returns the active GeoJSON boundary of a field.

Field Operations

list_operations

Returns a paginated list of field operations for a Leaf user. Supports filtering by provider, time range, operation type, and field.

get_operation

Returns details for a single field operation.

get_operation_summary

Returns the GeoJSON summary for a field operation.

get_operation_units

Returns the unit map for a field operation (what units each property uses).

Machine Files

list_files

Returns a paginated list of machine files with optional filters. Machine files are the raw data files from providers that Leaf processes into standardized field operations.

get_file

Returns details for a single machine file.

get_file_summary

Returns the summary for a machine file.

get_file_units

Returns the unit map for a machine file.

get_file_status

Returns the processing status for every step of Leaf’s pipeline for a machine file. Each step reports processed, processing, or failed. Pipeline steps: standardGeojson, cleanupGeojson, areaAndYield, summary, units, originalFile.

Batch Uploads

list_batches

Returns a paginated list of manual-upload batches.

get_batch

Returns details for a single batch upload.

get_batch_status

Returns the processing status of all files inside a batch.

Weather

Weather tools come in two flavors: field-based (pass a Leaf user ID and field ID) and coordinate-based (pass latitude and longitude). Each flavor supports daily and hourly granularity for both forecasts and historical data. That’s eight tools total. All weather tools share these optional parameters:

Field-based weather

These tools require leaf_user_id (string) and field_id (string), plus the shared optional parameters above.

Coordinate-based weather

These tools require lat (float) and lon (float), plus the shared optional parameters above.

Billing

list_billing_contracts

Returns all billing contracts for the authenticated API owner. Each contract includes product type, start/end dates, and quota. Contract product types:
  • AUDIT_FIELDS_BOUNDARY — active field boundary area (not bounded by contract dates)
  • FIELDS_BOUNDARY — field boundary area consumption within the contract period
  • FIELDS_BOUNDARY_SENTERA — Sentera-exclusive field boundary area
  • OPERATIONS_FILE — machine file area consumption
  • OPERATIONS_OPERATION — field operation area consumption
  • SATELLITE_PROCESS_PLANET — Planet satellite imagery area
  • SATELLITE_PROCESS_SENTINEL — Sentinel satellite imagery area

get_billing_contract

Returns details for a specific billing contract.

get_contract_consumption

Returns consumption metrics for a contract. Defaults to the current day if no timestamp is specified.

get_contract_consumption_range_api_owner

Returns daily consumption breakdown for the API owner over a time range.

get_contract_consumption_range_leaf_user

Returns daily consumption breakdown for a specific Leaf user over a time range.
Last modified on March 24, 2026