agriculture · in-house product · MCP
AI chat for farmers and an MCP server
An in-house project: the assistant answers farming questions using tools over a knowledge base and weather, and the same tools can serve other AI clients.
- tools available to the assistant
- 7
- farming knowledge base before web search
- Sources
- one set of tools, many AI clients
- MCP
Problem
Farmers ask specific things: when to sow, how to fertilise, how to protect crops, what to do in this weather. A general chatbot often answers confidently, but without grounding in farming knowledge or knowledge of the farm.
We wanted an assistant that answers from a vetted knowledge base, takes weather and the farm profile into account, and is not a closed box: the same capabilities should be available to other AI tools.
Solution
- A conversational assistant built on tool use: the model decides whether to reach for the farming knowledge base (ROL.04), the weather forecast, seasonal recommendations, articles, the farm profile or web search.
- Order matters: the knowledge base first, web search last. Answers rest on vetted sources, and the internet is a last resort.
- The tools are defined separately from the chat and exposed via MCP (Model Context Protocol), so different AI clients can use them. On top of that: conversation memory, a farm profile, usage limits and an option to bring your own key.
Result
- A built and tested assistant with a full toolset: farming knowledge, weather, recommendations, farm profile and web search.
- A tool layer separated from the chat interface, ready to be used by other applications and assistants.
- A reference implementation showing how to combine domain knowledge with a language model.
What we learned
- Domain knowledge supplied through tools is safer than relying on the model’s memory: an answer has a source and can be checked.
- Good tool descriptions and their order steer the assistant more than a long prompt.
- MCP pays off from day one: one tool layer serves your own chat and clients you don’t know yet.