Skip to content
MCP server

Ranch

Local MCP server for reading and updating cattle and sheep records in a Ranch.Bot account

Runs locally

Ranch is an MCP server for agriculture. It runs locally on your machine and is started by your AI client.

Pricing
Free trial
Platforms
CLI, macOS, Windows
Runs
Locally
What it can do
Can change data (1 tool)
Version
0.2.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add mcp-server -- npx -y @ranchbot/mcp-server

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ranchbot/mcp-server"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ranchbot/mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ranchbot/mcp-server"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ranchbot/mcp-server"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp-server -- npx -y @ranchbot/mcp-server

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "@ranchbot/mcp-server"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ranchbot/mcp-server"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@ranchbot/mcp-server"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user mcp-server npx -- -y @ranchbot/mcp-server

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@ranchbot/mcp-server"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@ranchbot/mcp-server"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@ranchbot/mcp-server"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@ranchbot/mcp-server"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@ranchbot/mcp-server"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@ranchbot/mcp-server"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "@ranchbot/mcp-server"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Ranch

Ranch.Bot is a livestock record service where producers text a note, review the drafted record in a web app and save it. This server runs on the producer's own computer over stdio and lets an assistant work with those saved records, one farm at a time. Hosted connections are not public yet, ChatGPT access is a private pilot and the Claude connector is in review.

Sign-in uses a terminal command and browser approval, with no API key. Reads include listing farms and animals, finding animals by name or identifier with exact or partial matching, and listing records by animal, group and date range, with paging that the README says an assistant must follow instead of treating a first page as complete. Editors and Owners can create and update, and deletion needs Owner access. Ordinary writes save directly, without the app's confirmation screen, so the README tells the assistant to state the exact change and get approval first.

It needs Node.js 22 or newer and a Ranch.Bot account with farm access. The service sells yearly plans for one operator or a team, with a 30-day trial.

Tools this server provides (5)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 5 tools changes data.

From the server's own tool labels and tool names; not verified by us.

list_my_farmsName suggests: reads
Lists the farms the account can access.
list_animalsName suggests: reads
Lists animals, searchable by name or identifier.
set_default_farmName suggests: changes
Optionally sets a default farm for scoped calls.
list_recordsName suggests: reads
Lists records by animal, group and date bounds.
lookup_animal_by_eidName suggests: reads
Looks up an animal by electronic ID.

What it does

Farm-scoped access
Works with one farm at a time and takes a farm ID on scoped calls.
Animal lookup
Finds animals by name or identifier with exact or partial matching.
Record history
Lists records by animal, group and date range with paging.
Role-based writes
Editors and Owners can write; deletion needs Owner access.
Browser approval login
Signs in through a terminal command and explicit browser approval.
EID lookup
Readers can look up an animal by electronic ID.

Good for

  • Summarise the current inventory of a sheep or cattle farm
  • Find when a group last moved or was treated
  • Add a movement or health record after the producer approves it
  • Check which farms an account can reach

Pricing

Free trial

Ranch.Bot account required: Solo US$190/year, Team US$490/year; 30-day trial, card required

Prices change. Check ranch.bot before you buy.

Ranch FAQ

What do I need to run Ranch?

Node.js 22 or newer, a Ranch.Bot account and access to a farm.

How do I sign in?

Run ranchbot-mcp login, open the printed URL and approve the code; no API key is used.

Does Ranch work in ChatGPT or Claude directly?

Not publicly yet; ChatGPT is a private pilot and the Claude connector is in review.

What does Ranch.Bot cost?

Solo is 190 US dollars a year and Team 490 dollars a year, with a 30-day trial that needs a card.

Which animals are covered?

Cattle and sheep records in this server.

How do I add Ranch to Claude Code?

Run this command in your terminal: claude mcp add mcp-server -- npx -y @ranchbot/mcp-server

Where this comes from

  • Description: written from the project's README and the project's website.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers