Provides direct SQL database access to LiteFarm's PostgreSQL database for complex multi-step operations, schema inspection, and atomic transactions with automatic rollback on errors.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LiteFarm MCP Servershow me all tasks due this week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
LiteFarm MCP Server
Model Context Protocol (MCP) server for LiteFarm API integration. Enables AI assistants to interact with LiteFarm farm management data.
Features
Farm management (list, get, create, update farms)
Animal tracking (individual animals and batches)
Crop management
Location management (fields, greenhouses, gardens)
Task management
Finance tracking (expenses, expense types)
Direct database access for complex queries
Setup
Environment Variables
See .env.example for required configuration:
LITEFARM_API_URL- LiteFarm API endpointLITEFARM_EMAIL- Login emailLITEFARM_PASSWORD- Login passwordDATABASE_URL- PostgreSQL connection string (optional, for db-tools)
Run
Project Structure
MCP Integration
Add to your Claude Code MCP config: