Read Farmbrite livestock, crops, tasks, inventory and orders; log records and tasks. Hosted by usefulapi — connect from Claude, ChatGPT, Cursor, or any MCP client.
Team and Enterprise: an Owner adds the connector for the organization first.
Run this command, then run /mcp in Claude Code to log in:
Add to Cursor or add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"farmbrite": {
"url": "https://farmbrite.usefulapi.io/mcp"
}
}
}Add to VS Code or add this to .vscode/mcp.json:
{
"servers": {
"farmbrite": {
"type": "http",
"url": "https://farmbrite.usefulapi.io/mcp"
}
}
}No Add custom MCP server option? It depends on your account or workspace settings: see OpenAI's guide.
Run these commands. The second one opens the login page:
Other MCP clients (Windsurf, Cline, Zed and more): add the URL as a remote MCP server (Streamable HTTP). The client then opens the login page in your browser. Do not add an Authorization header: see Before you connect.
The login page asks for your Farmbrite API key.
Find it in Farmbrite under your user profile → API Key (Farmbrite enables API access on request: see developers.farmbrite.com). The key acts with that user's permissions, so Farmbrite recommends a separate user for integrations. Your key is used only to call the Farmbrite API on your behalf; it is never shown to anyone.
Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Farmbrite API key. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.
Turn on the Farmbrite connector, then ask in plain words. The AI picks the tools.
| Tool | Type | What it does |
|---|---|---|
farmbrite_list_animals | read | List animals List livestock records (name, type, tag number, gender, breed, status, weight, group, purchase/sale data). Farmbrite returns only active-status animals unless you filter by status (Sold, Deceased, Culled, Butchered, Archived...). GET /animals. |
farmbrite_get_animal | read | Get animal One animal by id, with its current location and custom fields. GET /animals/{animal_id}. |
farmbrite_list_livestock_groups | read | List livestock groups List livestock groups (id, name, type). GET /livestock_groups. |
farmbrite_get_livestock_group | read | Get livestock group One livestock group by id with its member count, filters and member animals. GET /livestock_groups/{group_id}. |
farmbrite_list_animal_measurements | read | List animal measurements Weight, height, temperature, condition score and fecal-count records of one animal, newest data included. GET /animals/{animal_id}/measurements. |
farmbrite_list_feedings | read | List feedings Feeding records (amount, cost, date, feed type, inventory used) of one animal or livestock group. GET /{animals|livestock_groups}/{id}/feedings. |
farmbrite_list_grazing_summary | read | List grazing summary Grazing status per field/pasture: animals present, days rested, rest days required, last grazed. GET /grazings. |
farmbrite_list_plants | read | List plant types List plant types/varieties (days to maturity, spacing, market price, harvest unit). GET /plants. |
farmbrite_list_crops | read | List crop plantings List crop plantings (plant, field/plot, bed, quantity, planting and expected harvest dates, growth stage). GET /crops. |
farmbrite_get_crop | read | Get crop planting One crop planting by id. GET /crops/{crop_id}. |
farmbrite_list_plots | read | List fields (plots) List fields/grow locations (title, type, size, status, grazing rest days). GET /plots. |
farmbrite_get_plot | read | Get field (plot) One field/grow location by id. GET /plots/{plot_id}. |
farmbrite_list_harvests | read | List harvests Harvest records (quantity, unit, grade, price, date, inventory added) of one animal or crop planting. GET /{animals|crops}/{id}/harvests. |
farmbrite_list_treatments | read | List treatments Treatment records (type, product, amount, cost, date, withdrawal date, technician) of one animal, field or crop planting. GET /{animals|plots|crops}/{id}/treatments. |
farmbrite_list_notes | read | List notes Notes (description, category, date, keywords) attached to an animal, field, plant type, crop planting or inventory type. GET /{animals|plots|plants|crops|inventory_types}/{id}/notes. |
farmbrite_list_contacts | read | List contacts List contacts (customers, suppliers, vendors): name, company, email, phone, type, label. GET /contacts. |
farmbrite_get_contact | read | Get contact One contact by id, with address. GET /contacts/{contact_id}. |
farmbrite_list_tasks | read | List tasks List tasks (title, description, status, priority, assignee, due/end time, checklist, linked animal/field/crop). GET /tasks. |
farmbrite_get_task | read | Get task One task by id with its checklist. GET /tasks/{task_id}. |
farmbrite_list_activities | read | List schedule activities List calendar/schedule activities (title, start and end time, all-day flag, linked animal or field). GET /activities. |
farmbrite_list_inventory_types | read | List inventory items List inventory item types (feed, supplies, harvested products) with the quantity remaining, unit, value and low-stock alert level. GET /inventory_types. |
farmbrite_get_inventory_type | read | Get inventory item One inventory item type by id with quantity remaining and projected empty date. GET /inventory_types/{inventory_type_id}. |
farmbrite_get_inventory_locations | read | Get inventory by location Where one inventory item is stored: warehouse and bin ids and names, capacity and quantity remaining in each. Use the ids with farmbrite_add_inventory / farmbrite_remove_inventory. GET /inventory_types/{inventory_type_id}/inventory. |
farmbrite_list_warehouses | read | List storage locations List storage locations (warehouses) for inventory: name, description, internal id. Use the ids when adding or removing inventory. GET /warehouses. |
farmbrite_list_orders | read | List orders List sales orders (status, payment status, total, dates, contact, delivery type, invoice number). GET /orders. |
farmbrite_get_order | read | Get order One order by id with its line items, customer contact, delivery address and totals. GET /orders/{order_id}. |
farmbrite_list_transactions | read | List transactions List income and expense transactions (type, amount, date, vendor, category, linked animal/field/plant, description). GET /transactions. |
farmbrite_get_transaction | read | Get transaction One transaction by id. GET /transactions/{transaction_id}. |
farmbrite_create_contact | write | Create contact WRITE: create a contact (customer, supplier, vendor). Nothing is emailed or sent to the contact. Creating twice makes two contacts. POST /contacts. |
farmbrite_update_contact | write | Update contact WRITE: change fields of an existing contact (only the fields you pass are sent). Overwrites the previous values. PUT /contacts/{contact_id}. |
farmbrite_create_task | write | Create task WRITE: create a task, optionally linked to an animal, equipment, plant, location or planting. May notify the assigned Farmbrite user according to your account settings. Creating twice makes two tasks. POST /tasks. |
farmbrite_update_task | write | Update task WRITE: change a task (only the fields you pass are sent); set complete=true to mark it done. Overwrites previous values. PUT /tasks/{task_id}. |
farmbrite_create_transaction | write | Create transaction WRITE: record an income or expense transaction in the farm's books. Creating twice records it twice. POST /transactions. |
farmbrite_create_note | write | Add note WRITE: add a note to an animal, livestock group, field, plant type, crop planting or inventory item. Notes cannot be removed with this server. POST /{parent}/{id}/notes. |
farmbrite_add_inventory | write | Add inventory WRITE: add stock to an inventory item in a storage location (warehouse, optionally a bin). Raises the quantity remaining; not idempotent: repeating adds again. Find ids with farmbrite_list_inventory_types, farmbrite_get_inventory_locations and farmbrite_list_warehouses. PUT /inventory_types/{id}/inventory/add. |
farmbrite_remove_inventory | write | Remove inventory WRITE: take stock out of an inventory item in a storage location (use, loss, sale). Lowers the quantity remaining; not idempotent: repeating removes again. It cannot be undone with this server except by adding stock back. PUT /inventory_types/{id}/inventory/remove. |
farmbrite_create_order | write | Create order WRITE: create a sales order with line items (status defaults to Draft and payment_status to Due unless you set them; memo is internal, note is customer-facing). Farmbrite may email the customer or generate an invoice depending on the account's settings and the status chosen; the API reference does not say, so use Draft unless the user asks otherwise and only pass email when told to. Orders are entered as back-office orders (is_admin). Creating twice makes two orders. POST /orders. |
farmbrite_update_order | write | Update order status WRITE: change an order's status and/or payment status (for example mark it Paid or Delivered). Farmbrite may send customer notifications on some status changes, depending on the account settings. PUT /orders/{order_id}. |
farmbrite_create_animal | write | Create animal WRITE: add an animal (or a group when is_group=true with group_qty) to the herd. type (e.g. Cattle, Sheep) and status are required. Creating twice makes two animals. POST /animals. |
farmbrite_update_animal | write | Update animal WRITE: change an animal's fields (only the fields you pass are sent), including its status (Sold, Deceased, Culled...). Statuses Butchered, Culled and Deceased need death_date. Overwrites previous values. PUT /animals/{animal_id}. |
farmbrite_add_animal_measurement | write | Add animal measurement WRITE: record a measurement for one animal (weight, height, temperature, condition score, fecal egg count). Adds a record each time. POST /animals/{animal_id}/measurements. |
farmbrite_create_feeding | write | Record feeding WRITE: record a feeding for an animal or livestock group. Either name the feed type, or give inventory_id + inventory_location_id to draw it from inventory (which lowers that inventory's quantity). Adds a record each time. POST /{animals|livestock_groups}/{id}/feedings. |
farmbrite_create_harvest | write | Record harvest WRITE: record a harvest (quantity and unit) for an animal or crop planting. Adds a record each time. POST /{animals|crops}/{id}/harvests. |
farmbrite_create_treatment | write | Record treatment WRITE: record a treatment (vaccine, dewormer, spray, fertilizer...) for an animal, livestock group, field or crop planting. Adds a record each time. POST /{animals|livestock_groups|plots|crops}/{id}/treatments. |
farmbrite_usage_status | Usage status (free-tier meter) Report the caller's current usage: the plan, calls used this month, the limit of the plan (the free monthly cap or the Pro fair use limit), remaining, and whether the limit is reached. Read-only; does not count against the meter. | |
farmbrite_request_feature | Request a missing feature Tell usefulapi that the user needs something the Farmbrite tools cannot do yet (a missing tool, field or filter). Call it only when the user asks for something none of the tools can do, and tell the user that you send the request. Do not call it for errors or for normal requests. Do not include personal data, credentials or customer records. Stored with the product name and the client type (for example Claude or Cursor), without the user's account. At most 5 requests per day. Does not count against the meter. | |
farmbrite_upgrade | Upgrade to Pro (unlimited*) Get Pro: unlimited tool calls (fair use limit: 10,000 a month) on Farmbrite (the free tier caps monthly usage). Plans: "monthly" — $9/month; "yearly" — $90/year (2 months free). Cancel any time: Pro then runs to the end of the paid period, so it also suits a one-time job. *A fair use limit applies. Returns a short link to open in your browser (it opens Stripe Checkout); after payment the account upgrades automatically. Does not count against the meter. | |
farmbrite_cancel_subscription | Cancel the Pro subscription Cancel the caller's Farmbrite Pro subscription at the end of the paid period (no refund for the current period; Pro continues until then, then the free tier applies). Requires confirm: true. Run farmbrite_upgrade later to undo the cancel before the period ends. Does not count against the meter. |
| Plan | Price | Limit |
|---|---|---|
| Free | $0 | 50 tool calls / month |
| Proper user | $9/mo · $90/yr | Unlimited* |
*Pro fair use limit: 10,000 tool calls a month on this server. For more, write to [email protected].
Pro covers this Farmbrite server only. Subscribe with farmbrite_upgrade (it returns a Stripe Checkout link). Cancel any time with farmbrite_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running farmbrite_upgrade before then undoes the cancel. Or write to [email protected].
No. usefulapi is an independent service. It is not affiliated with or endorsed by Farmbrite. The server calls the Farmbrite API with your own Farmbrite access, so it sees only the data that your account can see.
Yes. In Claude, add this server's URL as a custom connector. In ChatGPT, add it as a custom MCP server in Plugins. Then log in once. Cursor, VS Code, Claude Code and Codex work too. See the setup steps.
The login page asks for your Farmbrite API key. See Before you connect for where to find it.
No. Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Farmbrite API key. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.
The login stores them encrypted in the authorization grant of your connection. The server uses them to call the Farmbrite API for you and to derive a private account id for usage metering. usefulapi does not show them on any page or in any reply. To stop all access, remove the connector and change or delete these credentials in Farmbrite.
Yes, if you approve it. 16 of the 44 Farmbrite tools can create or change data. The other 28 are marked read-only. Most MCP clients ask you to approve a tool call before it runs.
The Free plan gives 50 tool calls / month. Pro costs $9/mo or $90/yr, with unlimited tool calls (fair use limit: 10,000 tool calls a month), for this Farmbrite server only. Cancel any time: Pro then runs to the end of the paid period. Run farmbrite_usage_status to see how many calls you used.
Ask the AI to run farmbrite_upgrade: it returns a Stripe Checkout link. To cancel, run farmbrite_cancel_subscription. Pro continues to the end of the paid period.
Tell the AI what you wanted to do. It can send the request with farmbrite_request_feature. We store the text with the server name, the type of AI client and the tool you tried, not with your account, and read every request when we plan new tools. You can send up to 5 requests per day.
Any client that supports remote MCP servers (Streamable HTTP) with OAuth login: Claude (web and desktop), Claude Code, ChatGPT, Codex, Cursor, VS Code, Windsurf and others.
This is a Model Context Protocol endpoint — meant to be connected from an AI client, not opened in a browser. An invalid_token response at the URL is the auth gate working as designed; clients authenticate automatically.