io.github.Cropgraph/cropgraph

السجل الرسمي أخرى

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @cropgraph/mcp
Claude Code
claude mcp add cropgraph -- npx -y @cropgraph/mcp@3.2.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "cropgraph": {
            "command": "npx",
            "args": [
                "-y",
                "@cropgraph/mcp@3.2.0"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. CropGraph
  2. Packages
  3. Quick start
  4. Data
  5. License

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.)
npx @cropgraph/mcp

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

CLI
npx cropgraph zone --lat 48.118 --lng -123.43
npx cropgraph companions tomato
npx cropgraph planting --zone 8b --climate maritime
npx cropgraph succession lettuce --zone 8b --climate maritime
npx cropgraph pests tomato
npx cropgraph pest-intel tomato-hornworm --plant tomato
npx cropgraph beneficial seven-spotted-ladybug
Library
npm install @cropgraph/core
import {
  getHardinessZone,
  getCompanions,
  getPlantingPlan,
  getSuccessionPlan,
} from "@cropgraph/core";

getHardinessZone(48.118, -123.43);   // "8b"
getCompanions("tomato");             // 18 entries
getPlantingPlan({ 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.

الأسئلة الشائعة

ما هو io.github.Cropgraph/cropgraph؟

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

كيف أثبّت io.github.Cropgraph/cropgraph؟

يعمل على جهازك. في Claude Code: claude mcp add cropgraph -- npx -y @cropgraph/mcp@3.2.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.Cropgraph/cropgraph إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.Cropgraph/cropgraph مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.Cropgraph/cropgraph؟

ينشره Cropgraph. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.