Cropgraph

io.github.Cropgraph由 GitHub 账号 Cropgraph 发布v3.2.0更新于 Oct 24, 2026

CropGraph MCP. Crops, companions, pests, rotation, soil, GDD, pest intelligence.

已验证STDIO仅桌面位置与生活数据与分析

概览

AI 生成的概览

CropGraph 是一个本地 MCP 服务器,为助手提供离线的农业数据与十八个园艺规划工具,涵盖作物、伴生、轮作、病虫害与积温。

可以做什么
按地点或耐寒区代码查询作物、种植日历与美国农业部耐寒区,并附带气候类型修正与错峰种植的接续种植链。查看伴生种植关系与轮作科属,规划哪些作物适合相邻种植、同一地块下一茬种什么。获取病虫害关联信息,包括诊断症状、有机防治与预防说明,以及益虫档案和针对常见虫害的综合虫害情报。查询积温模型,用于特定品种的收获期预测。
适用场景
适合规划菜园或小型农场时使用:为特定耐寒区和气候选择种植品种与时间,安排伴生与轮作,以及诊断和预防病虫害。在园艺规划之外并非通用工具。
运行要求
作为本地 stdio 进程运行,例如通过 npm 包 @cropgraph/mcp 用 npx 启动,因此需要 Node.js,首次下载包时需要网络访问。未声明任何身份验证、环境变量或请求头;底层数据据称可离线使用。
安装前请注意
README 称其数据为商业农业情报,并逐条标注来源;应将其建议视为参考资料,而非专业农艺意见。未声明凭据、付费或写入操作,且清单未列出工具,连接后请确认实际可用的工具集。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Cropgraph,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

CropGraph

Commercial agricultural intelligence. Curated data, MCP server, and CLI for crop calendars, companion planting, crop rotation, succession planting, pest and disease management, USDA hardiness zones, and climate classification.

Packages

PackageWhat
@cropgraph/coreCrop calendar (5,006 entries across 14 categories), 1,004 companion relationships, rotation families, succession chains, pest/disease associations, 200 beneficial insects across 5 categories with composite pest intelligence, 120 growing degree day models, USDA zones, climate types. Pure TypeScript, offline.
@cropgraph/mcpModel Context Protocol server (stdio). Eighteen garden-planning tools for AI agents.
cropgraphCommand-line interface. Subcommands for zones, planting, crop lookup, companions, rotation, succession, pests, pest-detail, pest-intel, beneficials.

Quick start

MCP server (Claude Desktop, Cursor, etc.)

sh
npx @cropgraph/mcp

See packages/mcp/README.md for client config.

CLI

sh
npx cropgraph zone --lat 48.118 --lng -123.43npx cropgraph companions tomatonpx cropgraph planting --zone 8b --climate maritimenpx cropgraph succession lettuce --zone 8b --climate maritimenpx cropgraph pests tomatonpx cropgraph pest-intel tomato-hornworm --plant tomatonpx cropgraph beneficial seven-spotted-ladybug

Library

sh
npm install @cropgraph/core
ts
import {  getHardinessZone,  getCompanions,  getPlantingPlan,  getSuccessionPlan,} from "@cropgraph/core";
getHardinessZone(48.118, -123.43);   // "8b"getCompanions("tomato");             // 18 entriesgetPlantingPlan({ zone: "8b", climateType: "maritime" });getSuccessionPlan({ slug: "lettuce-leaf", zone, climateType: "maritime" });

Data

AssetCountNotes
Crop calendar5,006 entries14 categories (vegetable, herb, fruit, flower, cover-crop, root, legume, grain, mushroom, native, medicinal, fiber, forage, sprout). Frost-anchored windows; 120 entries carry climate modifiers across 6 climate types
Companion relationships1,004510 beneficial, 95 antagonist, 12 mechanism categories
Growing degree days120 modelsCultivar-specific GDD ranges, base temperatures, NOAA Climate Normals harvest prediction
Rotation families12Nightshades, brassicas, cucurbits, alliums, legumes, umbellifers, grasses, amaranthaceae, composites, mints, malvaceae, miscellaneous. Every calendar slug mapped.
Succession chains33Greens, roots, legumes, brassicas, cucurbits, herbs, flowers, cover crops. Frost-anchored phases with per-climate notes.
Pest/disease associations506Crop-to-pest edges with diagnostic symptoms, organic management, prevention, and regions. OMRI-listed management only.
Beneficial insects200 entriesPredators (62), parasitoids (40), pollinators (50), decomposers (29), microbial controls (22). Prey and attractant cross-references; composite "now what?" intelligence layer with hand-authored notes for the top 40 pest slugs.
USDA hardiness zones40,283 ZIPsPRISM 2023 + waldoj/frostline centroids, offline lookup
Climate classifier6 typesMaritime, mediterranean, continental, humid subtropical, arid, semi-arid

Sources cited per-entry in the JSON fixtures under packages/core/src/data.

License

MIT. Copyright (c) 2026 Andrew Christison.

来源:README.md,提交 6ad2ffa

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v3.2.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分