Cropgraph

io.github.CropgraphPublished by GitHub account Cropgraphv3.2.0Updated Oct 24, 2026

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

VerifiedSTDIODesktop onlyLocation & LifestyleData & Analytics

Overview

AI-generated overview

CropGraph is a local MCP server that gives an assistant offline agricultural data and eighteen garden-planning tools for crops, companions, rotation, pests andG

What you can do
Look up crops, planting calendars and USDA hardiness zones by location or zone code, with climate-type modifiers and succession planting chains for staggered harvests. Check companion planting relationships and crop rotation families to plan what grows well together and what to follow in a bed. Retrieve pest and disease associations with diagnostic symptoms, organic management and prevention notes, plus beneficial insect profiles and composite pest intelligence for common pest problems. Query growing degree day models for cultivar-specific harvest prediction.
When to use it
Useful when planning a vegetable garden or small farm: choosing what to plant and when for a given zone and climate, arranging companions and rotations, and diagnosing or preventing pests and diseases. Not a general-purpose tool outside horticultural planning.
Requirements
Runs as a local stdio process, started for example with npx from the npm package @cropgraph/mcp, so Node.js and network access for the initial package download are needed. No authentication, environment variables or headers are declared; the underlying data is described as offline.
Before you install
The README calls the data commercial agricultural intelligence and cites sources per entry; treat recommendations as reference material rather than professional agronomic advice. No credentials, payments or write actions are declared, and the manifest lists no tools, so confirm the actual tool set after connecting.

Installation

In SourceWeft

  1. Open Cropgraph in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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.

Source: README.md at commit 6ad2ffa

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v3.2.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts