Skip to main content
Glama
plant-intel-mcp

plant-intel-mcp

by wyattlindsey

plant-intel

コーディングエージェントにガーデニング計画用の構造化された植物データを提供するMCPサーバーです。種のケアプロファイル、根拠を説明するコンパニオンチェック、10年間の観測気象から導き出した霜日ベースの植え付け期間を提供します。

companion_check("tomato", "potato")
  -> bad: both are Solanaceae. Same-family crops share soilborne diseases and
     compete for the same rotation slot, so plant them apart and rotate the bed.

なぜMCPサーバーなのか

ガーデニング計画について尋ねられたモデルは、もっともらしい間隔の数値やコンパニオンプランティングのアドバイスを気軽に生成します。そのほとんどは民間伝承であり、追跡可能なものは何もありません。プロンプトではなくサーバーにする価値がある理由は3つあります。

  1. データは実在し、出典が明記されています。 すべてのレコードに、出典とライセンスが記載されています。

  2. 欠落が可視化されています。 上位のティアがフィールドを提供しない場合、レスポンスはその旨を明示します。どのソースも数値を公開していない場合、勝手に埋めるのではなく、説明付きでnullのままにします。

  3. 判定にはメカニズムが伴います。 companion_check は、ガーデニングブログに書いてあるからといって「相性が良い」とは決して言いません。ケアデータの根拠からなぜかを説明し、根拠がまったくない場合にはその旨を明かします。

Related MCP server: mcp-hazards

ツール

Tool

機能

search_plants

種カタログを名前で検索。ID付きの候補を返します。

plant_details

ケアプロファイル: 日照、水、耐寒性ゾーン、成木の高さ、食用可否、人とペットへの毒性、既知の害虫。

companion_check

2つの植物が互いの近くに植えるべきかどうか。判定の背後にあるすべてのメカニズム付き。

planting_window

観測された日別最低気温から、霜の期間、季節の長さ、サイトのUSDAゾーン適合性。

identify_plant

実験的、デフォルトではオフ。 画像URLから植物を識別します。Perenualのベータアクセスが必要です。

すべてのツールはコンパクトなJSONを返します。HTMLもページダンプもありません。

companion_check は民間伝承ではなくメカニズムを返します

このサーバーのソース一覧にあるAPIは、植物の敵対関係を公開していません(Permapeopleは「コンパニオン」リンクのみを掲載)。そのため、良い/悪い/中立の回答を単純に検索することはできません。庭の言い伝えを繰り返すのではなく、否定的なケースはケアデータにすでにある根拠から導き出されます。

メカニズム

判定

根拠

shared-family

悪い

同じ植物科: 土壌伝染病を共有し、輪作の枠も同じ。

shared-pest

悪い

害虫感受性が重複: 混植すると害虫が集中する。

listed-companion

良い

Permapeopleに記載されている(そのソースの設定が必要)。

リスクメカニズムは肯定的な記載よりも優先されますが、上書きされたものを含め、一致したすべての理由が返されるため、混合ペアも判読可能なままです。neutral の判定は、それが相性の証拠ではなく、証拠がないことを明確に示します。

planting_window は作物のタイミングを推測しません

座標を与えると、Open-Meteoの10年分の日別最低気温から、春の最終霜の中央値、秋の初霜、季節の長さ、サイトのUSDAゾーンを導き出し、それを植物の公開された耐寒性範囲と照合します。公開されている平年値と照合済みです。

サイト

最終霜

初霜

季節

導出ゾーン

ミネアポリス、MN

04-28

10-28

183日

4b

ポートランド、OR

03-17

11-25

252日

8b

ホノルル、HI

—

—

—

13a (霜なし)

シドニー、AU

—

—

—

10b (霜なし)

このサーバーがしないことは、作物側の情報をでっち上げることです。この一覧のソースはどれも成熟日数や耐霜性クラスを公開していないため、移植日と播種期限は、days_to_maturity と frost_tolerance を自分で指定した場合にのみ表示されます。この分割は意図的です。このサーバーは気候側を担当し、呼び出し側は作物側を担当します。

南半球のサイトは、それぞれの栽培シーズンで読み取られます。暦年でグループ化すると南半球の夏が2つに分割され、霜のない期間がおよそ1日と報告されます。

インストール

Node 20以降と無料のPerenual APIキーが必要です。

npm install -g plant-intel-mcp

または、リポジトリから直接実行します:

git clone https://github.com/wyattlindsey/plant-intel-mcp.git && cd plant-intel-mcp && npm install && npm run build

Claude Code

claude mcp add plant-intel --env PERENUAL_API_KEY=your-key -- npx -y plant-intel-mcp

Claude Desktop

claude_desktop_config.json 内:

{
  "mcpServers": {
    "plant-intel": {
      "command": "npx",
      "args": ["-y", "plant-intel-mcp"],
      "env": {
        "PERENUAL_API_KEY": "your-key"
      }
    }
  }
}

設定

変数

必須

目的

PERENUAL_API_KEY

はい

種データ。無料キー。

PERMAPEOPLE_KEY_ID / PERMAPEOPLE_KEY_SECRET

いいえ

文書化されたコンパニオンリストを追加します。無料、セルフサービス。

PERENUAL_IDENTIFY_BETA

いいえ

1 に設定すると identify_plant を登録します。Perenualのベータアクセスが必要です。

PLANT_INTEL_CACHE_DIR

いいえ

キャッシュの場所。デフォルトは XDG_CACHE_HOME または ~/.cache の下。

PLANT_INTEL_CACHE_DISABLED

いいえ

1 に設定するとキャッシュを無効化します。

Perenualキーがなくてもサーバーは停止しません。ツールはリストに残り、各呼び出しは設定すべき変数とキーの入手先を回答します。

ソースとその制限

これらの制約がサーバーが正直に回答できる内容を形作るため、明確に述べます。

ソース

ライセンス

重要な制限

Perenual

API利用規約; 無料ティアは非商用

1日100リクエスト。 無料キーは種ID 1〜3000のみをカバーし、宣伝されている10,000+は対象外です。ケアガイドと耐寒性マップは有料です。提供されないフィールドはアップグレードプロンプトを返しますが、このサーバーはそれを除去します。

Permapeople

CC BY-SA 4.0

オプション。設定しない限りオフ。肯定的なコンパニオンリンクのみ — 敵対関係はありません。その上流にはPFAFとKewが含まれており、その条件はCC BY-SAが示唆するよりも制限的です。商用で利用する前に確認してください。

Open-Meteo

CC BY 4.0

無料、キー不要。~9 kmグリッド上のERA5再解析 — 観測所データではありません。霜日は地域の平年値と異なる可能性があります。特に丘陵、谷、水域の近くでは顕著です。すべての planting_window レスポンスがその旨を明記します。

1日100件の上限のため、サーバーは積極的にキャッシュし(種データは30日、気象アーカイブは90日)、日次予算を保護します。保有していないリクエストを消費することを拒否し、拒否する際にはリセット時間を明示します。キャッシュヒットは予算にカウントされません。

plant_details は間隔を返しません。ここにあるソースはどれもそれを公開しておらず、誰も保証しない数値よりも、注記付きのnullの方が有用です。

開発

npm test          # unit and protocol tests, no network
npm run typecheck
npm run build
npm run test:live # opt-in; hits real APIs and spends quota

ライブスイートはドリフト検出のために存在します。フィクスチャは公開ドキュメントから構築されているため、マッパーが読み取るすべてのフィールドが上流にまだ存在することを検証します。Open-Meteoテストは認証情報を必要とせず、どこでも実行できます。

アーキテクチャと規約については CLAUDE.md を参照してください。

ライセンス

MIT。LICENSE を参照してください。

このサーバーを通じて取得したデータは、それぞれのソースの利用規約に従います — 上記の表を参照してください。特に、Perenualの無料ティアは非商用であり、Permapeopleのデータはシェアアライクです。

Available Tools

4 tools
companion_checkCompanion checkA
Read-only

Whether two plants should share a bed, with the mechanism behind the answer. A "bad" verdict is derived from shared botanical family (rotation and soilborne disease) or overlapping pest susceptibility, never from folklore. A "good" verdict comes from a documented Permapeople listing when that source is configured. Every matched reason is returned, including any the verdict overrode.

Inputs: plant_a (required), plant_b (required).

plant_detailsPlant care profileA
Read-only

Full care profile for one species: sun, water, hardiness zones, mature height, edibility, toxicity to people and pets, and known pests. Fields the configured Perenual plan withholds are reported as null and named in notes rather than left silently absent.

Inputs: plant (required).

planting_windowPlanting windowA
Read-only

Frost envelope and hardiness fit for a plant at a location. Given coordinates it derives last spring frost, first autumn frost, season length, and the USDA zone from ten years of observed daily minima. Supply days_to_maturity and frost_tolerance from your own crop data to also get transplant and sow-by dates -- no source this server reads publishes those, so they are never guessed.

Inputs: plant (required), latitude, longitude, percentile, +3 more.

search_plantsSearch plantsA
Read-only

Search the Perenual species catalogue by name and return candidate species with ids. Use the returned id with plant_details, companion_check, or planting_window rather than passing a name again -- resolving a name costs an extra upstream request.

Inputs: query (required), page, cycle, edible, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct operation: searching plants, retrieving details, computing planting windows, and checking companions. There is no overlap in purpose; the tools chain together via the search_then_detail flow, making selection unambiguous.

    Naming Consistency5/5

    All tool names follow a consistent pattern: a noun ('plant') modified by a descriptor ('details', 'intel', 'window', 'check'). The names are clear, descriptive, and follow a predictable schema, with no mixed conventions or vague verbs.

    Tool Count4/5

    Four tools is a lean but coherent set for a plant-intel domain. Each tool covers a distinct need (search, details, planting time, companionship), so none feel redundant. A fifth tool for bulk or batch queries might be additive, but the current count is appropriate for the niche scope.

    Completeness4/5

    The server covers the primary lifecycle: identify a plant, retrieve its profile, plan its planting window, and assess its compatibility with neighbors. Notable gaps include a missing tool for updating or managing the data (e.g., adding a custom plant or saving a garden plan), but the core research-oriented use case is fully covered.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server for agriculture and farming data. 8 tools: soil conditions (temperature, moisture), crop weather forecasts, historical climate data (NASA POWER, since 1981), global agriculture statistics (World Bank, 20+ indicators), and food product database (Open Food Facts, 3M+ products). All APIs free, no keys required.
      8
      59 PyPI
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that gives AI agents grounded access to US natural-hazard data — weather alerts, forecasts, earthquakes, and FEMA flood zones — from free, keyless US government APIs.
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      MCP server for HortusFox self-hosted plant management system, exposing 38 tools to manage plants, locations, tasks, inventory, calendar, chat, and backups via natural language.
      38
      23 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A local-first MCP server for tracking indoor horticulture metrics, enabling cold-stratification timelines, ericaceous soil pH validation, and transplant-shock recovery through a LangGraph agent with a local LLM.
      MIT