Skip to main content
Glama
wyattlindsey

plant-intel-mcp

by wyattlindsey

plant-intel

MCP-сервер, который предоставляет кодирующим агентам структурированные данные о растениях для планирования сада: профили ухода за видами, проверки совместимости с объяснением причин и окна посадки по датам заморозков, рассчитанные на основе десяти лет наблюдаемых погодных данных.

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-сервер для этого

Модель, которую спросили о планировании сада, с удовольствием выдаст правдоподобные цифры расстояний между растениями и советы по совместимости посадок. Большая часть этого — фольклор, и ничто из этого не прослеживается. Три вещи делают это достойным сервера, а не промпта:

  1. Данные реальны и имеют источники. Каждая запись указывает, откуда она взята и по какой лицензии.

  2. Пробелы видны. Когда вышестоящий уровень скрывает поле, ответ сообщает об этом. Когда ни один источник не публикует число, оно остаётся null с объяснением, а не заполняется.

  3. Вердикты несут механизмы. companion_check никогда не говорит «они хорошо сочетаются», потому что так написано в садовом блоге. Он объясняет почему, на основе данных из профилей ухода, и признаёт, когда у него вообще нет доказательств.

Related MCP server: mcp-hazards

Инструменты

Инструмент

Что делает

search_plants

Поиск по каталогу видов по названию; возвращает кандидатов с идентификаторами.

plant_details

Профиль ухода: солнце, полив, зоны морозостойкости, зрелая высота, съедобность, токсичность для людей и питомцев, известные вредители.

companion_check

Совместимы ли два растения рядом друг с другом, с каждым механизмом, стоящим за вердиктом.

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 медианный последний весенний заморозок, первый осенний заморозок, длину сезона и зону USDA для участка — затем проверит это по опубликованному диапазону морозостойкости растения. Проверено по опубликованным нормам:

Участок

Последний заморозок

Первый заморозок

Сезон

Выведенная зона

Миннеаполис, Миннесота

04-28

10-28

183 дня

4b

Портленд, Орегон

03-17

11-25

252 дня

8b

Гонолулу, Гавайи

—

—

—

13a (без заморозков)

Сидней, Австралия

—

—

—

10b (без заморозков)

Чего он не будет делать — так это выдумывать половину культуры. Ни один источник в этом списке не публикует дни до созревания или класс морозостойкости, поэтому даты пересадки и посева появляются только когда вы сами укажете days_to_maturity и frost_tolerance. Это разделение намеренное: этот сервер владеет климатической половиной, а вызывающий — культурной.

Участки в южном полушарии читаются по их собственному вегетационному сезону. Группировка по календарному году разделяет южное лето на две части и сообщает безморозное окно примерно в один день.

Установка

Требуется Node 20 или новее и бесплатный ключ API Perenual.

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; бесплатный тариф некоммерческий

100 запросов/день. Бесплатные ключи покрывают только виды с id 1–3000, а не заявленные 10 000+. Руководства по уходу и карты морозостойкости платные. Скрытые поля возвращают подсказки об апгрейде, которые этот сервер удаляет.

Permapeople

CC BY-SA 4.0

Опционально, выключен, если не настроен. Только положительные ссылки на компаньонов — антагонистов нет. Его вышестоящие источники включают PFAF и Kew, чьи условия более ограничительны, чем подразумевает CC BY-SA; проверьте перед коммерческим использованием.

Open-Meteo

CC BY 4.0

Бесплатно, без ключа. Реанализ ERA5 на сетке ~9 км — не данные станций. Ожидайте, что даты заморозков будут отличаться от местных норм, особенно в холмах, долинах или у воды. Каждый ответ planting_window сообщает об этом.

Из-за потолка 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 — share-alike.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
plant_aYesA species id from search_plants, or a name.
plant_bYesThe plant to check against plant_a.

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare readOnlyHint and openWorldHint, but the description adds substantial behavioral detail: the mechanism behind 'bad' (botanical family, pest susceptibility, not folklore) and 'good' (Permapeople listing when configured), plus the return behavior (every matched reason returned, including overridden ones). This goes beyond annotations and provides clear expectations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the core purpose and then providing mechanism and return behavior. No redundant words; every clause adds value. Excellent conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description explains the purpose, the logic behind verdicts, and what is returned. With no output schema, it sufficiently covers the expected result behavior. It doesn't state the exact return format, but that's not essential for a read-only check with clear semantics. It's nearly complete, missing only minor format specifics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema descriptions cover both parameters clearly: plant_a as a species id or name, plant_b as the plant to check. The description itself adds no extra parameter semantics, but the mention of 'species id from search_plants' in the schema and the overall context is adequate. Baseline 3 is appropriate given 100% schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool checks whether two plants should share a bed, explaining the criteria for 'bad' and 'good' verdicts. It distinguishes itself from siblings (search_plants, plant_details, planting_window) by focusing on companion compatibility, not search, details, or timing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The context implies when to use: to check plant compatibility. The plant_a parameter mentions 'A species id from search_plants', linking to a sibling for finding ids, and the description mentions 'when that source is configured', a prerequisite. However, it doesn't explicitly state when NOT to use it or contrast with alternatives like plant_details.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
plantYesA species id from search_plants (e.g. "perenual:1852") or a name. An id is cheaper: a name costs an extra upstream request to resolve.

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnlyHint annotation, the description adds meaningful behavior: fields withheld by the configured plan are returned as null and named in `notes` rather than silently omitted. This is useful transparency about response shape, though it does not cover error cases or other edge behaviors.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core purpose and immediately followed by the most important behavioral caveat. No filler or repetition of structured metadata.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description compensates by enumerating the profile contents and explaining the null/notes handling for plan-withheld fields. For a single-parameter read-only tool, this is complete and actionable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single `plant` parameter is already fully described in the schema, including accepted formats and the cost difference between an id and a name. The description adds no additional parameter-level meaning, so the schema carries the burden and baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description states exactly what it does: 'Full care profile for one species' and enumerates concrete content areas (sun, water, hardiness zones, mature height, edibility, toxicity, pests). This clearly distinguishes it from siblings like search_plants, planting_window, and companion_check.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use it (when you need a full one-species care profile) and the schema parameter explains how to supply a plant via search_plants id or name. However, it does not explicitly state when to prefer plant_details over alternatives or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
plantYesA species id from search_plants, or a name.
latitudeNoSite latitude in decimal degrees.
longitudeNoSite longitude in decimal degrees.
percentileNoHigher is more cautious: later spring frost, earlier autumn frost. Defaults to 50.
hardiness_zoneNoA USDA zone such as "7a", used only when coordinates are unavailable. A zone encodes winter minimum temperature, not frost timing, so no frost dates can be derived from it.
frost_toleranceNoCrop frost hardiness. Defaults to "tender", the cautious assumption.
days_to_maturityNoDays from sowing or transplant to first harvest. No source this server reads publishes this, so supply it from your own crop data to get a sow-by date.

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description clearly discloses the data source ('ten years of observed daily minima') and honestly states that 'no source this server reads publishes those, so they are never guessed' regarding days_to_maturity and frost_tolerance. It also explains that hardiness_zone alone cannot provide frost dates fires. The annotations (readOnlyHint, openWorldHint) are consistent. The description adds substantial behavioral context beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, dense sentence that efficiently conveys the purpose, data source, and optional parameters. Nofluff, no repetition, and structured logically from core function to optional enhancements.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the main inputs and outputs, data source, and limitations (no guessing of maturity/tolerance). It doesn't specify output format, but that's not strictly necessary. It also doesn't mention error cases, but the schema covers bounds. Overall, it's informative and sufficient for an agent to decide and use the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All 7 parameters have schema descriptions, with 100% coverage. The tool description adds context by explaining the role of days_to_maturity and frost_tolerance (user-supplied) and the advisory note that they are never guessed. It also clarifies that hardiness_zone is only used when coordinates are unavailable. This goes beyond the schema, enhancing parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description starts with a specific verb+resource: 'Frost envelope and hardiness for a location.' It clearly states what the tool derives: last spring frost, first autumn frost, season length, and USDA zone from coordinates. It also differentiates from sibling tools (search_plants, plant_details, companion_check) by focusing on climatic data for planting, making its purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance on when to supply `days_to_maturity` and `frost_tolerance` to obtain transplant and sow-by dates, and notes that these are not sourced from the server. It implies that coordinates are preferred, and that hardiness_zone is only a fallback. It does not explicitly contrast with sibling tools, but the tool's specific inputs (coordinates, plant) and outputs (frost dates, zone) make usage clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNo1-based page of results. Defaults to 1.
cycleNoRestrict to a life cycle.
queryYesCommon or scientific name, e.g. "tomato" or "Solanum".
edibleNoRestrict to species with edible parts.
indoorNoRestrict to species suited to indoor growing.

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description correctly aligns with those. It adds useful behavioral context beyond annotations by noting that resolving a name costs an extra upstream request, which is important for an agent deciding whether to cache or reuse ids. Without output schema, it doesn't describe pagination or result limits, but with strong annotations, the bar is lower and it provides relevant cost information.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the verb and resource, and each sentence earns its place. The first sentence states purpose and output; the second provides essential usage guidance and a cost note. No fluff or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (5 params, all documented in schema), the description covers the core value: search and return ids, plus a key behavioral note about cost. It doesn't discuss pagination or result structure, but without an output schema, that's not required. The description is complete enough for a search-list tool with strong annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all five parameters with descriptions. The description adds little beyond the schema: it mentions 'search by name' but doesn't elaborate on the filter parameters. Per the rubric, since schema coverage is high, baseline is 3, and the description doesn't add extra value beyond the schema's parameter descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool searches the Perenual species catalogue by name and returns candidate species with ids. It distinguishes itself by mentioning that the returned id should be used with sibling tools (plant_details, companion_check, planting_window) rather than passing a name again, which highlights its role as a lookup step.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly guides when to use this tool: to resolve a name into an id, and when not to: avoid passing a name to downstream tools. It names the specific alternatives (plant_details, companion_check, planting_window) and explains the cost of not using the id, providing clear exclusionary context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 4 tool updatesv0.2.0
    • First observedcompanion_check
    • First observedplant_details
    • First observedplanting_window
    • First observedsearch_plants

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

ActivitySlowing
ResponsivenessNo issues

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
    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
    9 npm
    1
    MIT