LiteFarm MCP Server
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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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
Related MCP server: SQLite MCP Server
Setup
npm install
cp .env.example .env
# Edit .env with your credentialsEnvironment 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
npm startProject Structure
src/
index.ts # MCP server entry point
litefarm-client.ts # API client
types.ts # TypeScript types
tools/ # MCP tool implementations
animal-tools.ts
crop-tools.ts
db-tools.ts
farm-tools.ts
finance-tools.ts
location-tools.ts
task-tools.ts
scripts/ # Utility scripts
docs/ # DocumentationMCP Integration
Add to your Claude Code MCP config:
{
"mcpServers": {
"litefarm": {
"command": "node",
"args": ["dist/index.js"],
"cwd": "/path/to/Litefarm-mcp-server"
}
}
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Work on your own computers from Claude or ChatGPT: run commands, edit and search files.
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides Claude Desktop with secure access to multiple database connections, allowing users to query MySQL, PostgreSQL, SQLite, and SQL Server databases directly through natural language.-
- AlicenseNot gradedqualityDmaintenanceEnables natural language interaction with local SQLite databases through Claude Desktop, translating plain English queries into SQL for data analysis and exploration.3MIT
- AlicenseNot gradedqualityFmaintenanceEnables connecting to any SQL database, exploring schemas, running queries, and visualizing results with interactive charts from Claude Desktop.MIT
- FlicenseCqualityDmaintenanceConnects Claude to a local project management API, enabling task, project, and user management through natural language.46-