johgee

johgee

Enables users to produce explainable UK garden watering recommendations as deterministic millimetres, litres and runtime from self-reported garden details or an optional postcode, without controlling irrigation hardware.

Category
访问服务器

README

Johgee Open Irrigation

Open-source, AI-native watering advice for UK home gardens.

v1 turns what you already know — garden type, soil, sun, how you water, recent rain and how the soil feels — into an explainable plan: millimetres, litres and runtime. It does not control taps, timers or irrigation hardware. It does not confirm a hosepipe ban for your street.

Numeric recommendations come from a versioned deterministic core. A language model may explain those facts. It must not change millimetres, litres, runtime, restriction status, variant ids or sources.

Status

Public data mode is dynamic after D-01 (2026-08-23): a postcode may use the Met Office DataHub free Global Spot feed, cached by coarse grid. If weather cannot be fetched, the API falls back to manual self-report and never invents millimetres. Restriction status stays unknown; hosepipe and sprinkler advice fail-closed until v3. fixture is test-only.

What you can do today

  • Call POST /v1/recommendations with a manual_context (no postcode required).
  • Optionally send a UK postcode; weather is on-demand and free-tier only.
  • Run the same calculation through the MCP tools calculate_watering (manual, no network) and get_watering_advice (optional postcode; weather if the server has a free-tier key).
  • Mount the Theme section on a Shopify page, or open the local demonstration page.
  • Read the first UK knowledge pages (HTML, JSON and JSON-LD).

Requirements

  • Node.js 22.23.2
  • pnpm 11.5.2 through Corepack

The exact runtime is recorded in .node-version and package.json.

Quick start

corepack enable
pnpm install --frozen-lockfile
pnpm check
pnpm dev:api

The API listens on http://localhost:8787. Try:

curl -sS http://localhost:8787/v1/recommendations \
  -H 'Content-Type: application/json' \
  -d '{
    "garden_type": "borders",
    "area_m2": 12,
    "soil_class": "loamy",
    "establishment": "established",
    "irrigation_method": "watering_can",
    "manual_context": { "recent_rainfall": "light", "soil_feel": "moist" }
  }'

The response header must be X-Johgee-Data-Mode: manual. A fixture header is test-only.

Local planner page: apps/public-web/watering-plan.html (pointed at the local API).

MCP

Build the stdio server, then point Cursor or Claude Desktop at it. No API key.

pnpm --filter @johgee/contracts build
pnpm --filter @johgee/irrigation-core build
pnpm --filter @johgee/ai-tools build
{
  "mcpServers": {
    "johgee": {
      "command": "node",
      "args": ["packages/ai-tools/dist/stdio.js"]
    }
  }
}

Tools: calculate_watering (manual self-report) and get_watering_advice (UK postcode; weather on demand, otherwise the same self-report fallback). Invalid input returns a structured problem; the tools do not guess numbers. Skill draft: packages/ai-tools/SKILL.md.

A stranger should be able to run the MCP tool in about ten minutes from a clean clone: install, build the three packages above, start the stdio server.

Architecture

Shopify page / MCP client
        │
        ▼
  Public API (Hono)  ──  MCP stdio (@johgee/ai-tools)
        │                         │
        └────────────┬────────────┘
                     ▼
           irrigation-core
           (pure functions)
  • Storefront: Shopify page + Theme section (extensions/watering-planner).
  • Public API: https://api.johgeeirrig.co.uk/v1 (CORS: Johgee storefront).
  • Core: @johgee/irrigation-core — no network, database or model.
  • Anonymous share links expire in 30 days. Tokens are stored as hashes.
  • Knowledge: apps/public-web/knowledge, llms.txt, sitemap, robots.

Exact UK postcodes must not enter databases, logs, traces, local storage or Git.

Repository map

apps/                     Local public-web demo
extensions/               Shopify Theme section
services/                 API
packages/                 Core, contracts, planner-ui, ai-tools, content
api/                      OpenAPI 3.1
schemas/                  JSON Schema
docs/                     Product, architecture, ADRs

Contributing

See CONTRIBUTING.md. Also SECURITY.md and GOVERNANCE.md.

Licence

Johgee-owned code is licensed under MIT. Third-party data and content keep their own terms and must be registered before use or redistribution.

Public source: github.com/hongzhizuo/johgee-open-irrigation.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选