Skip to main content
Glama

plantnet-mcp

An MCP server for the Pl@ntNet plant identification API — identify plants from photos directly within Claude.

MCP TypeScript License: MIT


Overview

plantnet-mcp connects Claude to the Pl@ntNet API, enabling plant identification from images with scientific accuracy. Submit 1–5 photos of a plant and get back ranked species matches with confidence scores, taxonomic data, and regional flora support.

Tools Provided

Tool

Description

identify_plant

Identify a plant from 1–5 image URLs. Returns ranked species matches with confidence scores, scientific/common names, and taxonomic data (genus, family, GBIF/POWO IDs).

list_projects

List available regional flora databases (e.g., world flora, Europe, Africa, Americas). Useful for targeting location-specific identification.

check_quota

Check your daily API usage against your quota limit (500 identifications/day on the free tier).


Related MCP server: mcp-trefle

Requirements


Installation

git clone https://github.com/OrHavraPerry/plantnet-mcp
cd plantnet-mcp
npm install
npm run build

Configuration

1. Set your API key

Copy .env.example to .env and add your key:

cp .env.example .env
PLANTNET_API_KEY=your_api_key_here

2. Add to Claude Desktop

Edit your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "plantnet": {
      "command": "node",
      "args": ["/absolute/path/to/plantnet-mcp/dist/index.js"],
      "env": {
        "PLANTNET_API_KEY": "your_api_key_here"
      }
    }
  }
}

Restart Claude Desktop after saving.


Usage Examples

Identify a plant from a photo URL:

Identify this plant: https://example.com/plant.jpg

Multi-photo identification for better accuracy:

Identify this plant using these photos — leaf: [url1], flower: [url2]

Region-specific search:

List available plant projects, then identify this plant [url] using the Europe flora

Check API usage:

How many plant identifications do I have left today?

Tool Reference

identify_plant

Parameter

Type

Required

Description

images

string[]

Yes

1–5 image URLs (JPG or PNG)

organs

string[]

No

Plant organ per image: leaf, flower, fruit, bark, habit, auto, other

project

string

No

Flora database to search (default: all)

lang

string

No

Language for common names (default: en)

nb_results

number

No

Number of results to return, 1–25 (default: 5)

list_projects

No parameters. Returns all available regional flora databases.

check_quota

No parameters. Returns current daily usage and limit.


Limits

  • Free tier: 500 identifications/day per API key

  • Max images per request: 5

  • Supported formats: JPG, PNG


Development

npm run dev      # Run with ts-node (no build needed)
npm run build    # Compile TypeScript to dist/
npm test         # Run test suite

License

MIT — see LICENSE

Available Tools

3 tools
check_quotaA

Get information about Pl@ntNet API rate limits and quota. The free Pl@ntNet API allows 500 identifications per day per API key. The exact remaining count for today is returned as part of every identify_plant response. Use this tool when you need to understand quota constraints before batch processing.

Inputs: no named parameters.

identify_plantA

Identify plant species from one or more photos using the Pl@ntNet AI. Provide image URLs and specify which plant organ appears in each photo. Returns ranked species matches with confidence scores, scientific and common names, taxonomic classification (genus, family), GBIF and POWO identifiers, and remaining daily API quota. Supports up to 5 images per request for improved accuracy. Example: identify a rose from a flower photo, or an oak from a leaf photo.

Inputs: organs (required), image_urls (required), lang, project, +1 more.

list_projectsA

List all available Pl@ntNet flora databases (called projects or referentials). Each project covers a specific geographic region or taxonomic group. Use the project ID from this list as the "project" argument in identify_plant for more accurate region-specific identification. For example, if you know a plant is from Western Europe, use the "weurope" project.

Inputs: lang.

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 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: list_projects enumerates referentials, check_quota reports rate limits, and identify_plant performs the identification. Descriptions explicitly cross-reference each other (use project ID from list, quota in identify response), eliminating overlap.

    Naming Consistency5/5

    All three tools follow a consistent verb_noun snake_case pattern: list_projects, check_quota, identify_plant. No mixed conventions or vague verbs.

    Tool Count4/5

    Three tools is lean but well-scoped for a focused plant identification API wrapper: one core action plus two auxiliary helpers. It sits at the low end of the comfortable range but every tool earns its place.

    Completeness4/5

    The surface covers the primary workflow (discover referentials, verify quota, identify plants with rich taxonomic output). Minor gaps exist—no standalone species lookup or batch/asynchronous handling—but agents can work around these using identify results.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Integrates the eBird API with Claude to query bird observation data, including recent sightings, rare bird reports, contributor statistics, hotspot locations, and taxonomy information through natural language.
      6
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying a global plant database with over 1 million species, providing access to plant records and species search via natural language.
      64 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude to set up and manage a local garden journal by searching places, saving garden setup, logging and updating plantings, retrieving forecasts, checking frost risk, and finding planting windows.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude to manage a self-hosted plant-care tracker through natural language, including adding plants, calculating watering and feeding schedules for the user's climate, logging care, snoozing plants, and attaching photos.
      MIT