@leafyplant/mcp-server
v1.0.0
Published
MCP server for Leafy Plant Intelligence API — identify plants, get care guides, check toxicity for pets/humans
Maintainers
Readme
@leafyplant/mcp-server
Leafy Plant Intelligence as an MCP tool — plug 40,000+ species of plant identification, care guides, and pet/human toxicity data directly into Claude, Cursor, or any MCP-compatible AI agent.
Tools
| Tool | Description |
|---|---|
| leafy_identify | Identify a plant from photo URLs → species, confidence, care summary, toxicity |
| leafy_care | Full care guide for a species (watering, light, soil, fertilizer, problems) |
| leafy_search | Search the plant database by name, common name, or family |
| leafy_toxicity | Check toxicity for dogs, cats, horses, birds, or humans |
Quick start
Get a free API key at leafyplant.app/api.
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"leafy": {
"command": "npx",
"args": ["-y", "@leafyplant/mcp-server"],
"env": {
"LEAFY_API_KEY": "your_key_here"
}
}
}
}Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"leafy": {
"command": "npx",
"args": ["-y", "@leafyplant/mcp-server"],
"env": {
"LEAFY_API_KEY": "your_key_here"
}
}
}
}Claude Code (CLI)
claude mcp add leafy -- npx -y @leafyplant/mcp-serverThen set your key:
export LEAFY_API_KEY=your_key_hereEnvironment variables
| Variable | Default | Description |
|---|---|---|
| LEAFY_API_KEY | (required) | Your Leafy API key |
| LEAFY_API_BASE | https://leafyplant.app | Override for self-hosted / staging |
Examples
Identify a plant from a photo URL
Use leafy_identify with this photo: https://example.com/plant.jpgCheck if a plant is safe for dogs
Is Monstera deliciosa toxic for dogs? Use leafy_toxicity.Build a care reminder
Get care instructions for my pothos (Epipremnum aureum) using leafy_care,
then write a weekly watering reminder.Agent workflow (LangChain Python)
from langchain_mcp import MCPToolkit
toolkit = MCPToolkit(server_params={
"command": "npx",
"args": ["-y", "@leafyplant/mcp-server"],
"env": {"LEAFY_API_KEY": "your_key"}
})
tools = toolkit.get_tools()
# tools now includes leafy_identify, leafy_care, leafy_search, leafy_toxicityn8n MCP Client node
- Add MCP Client node
- Command:
npx -y @leafyplant/mcp-server - Env:
LEAFY_API_KEY=your_key - Select tool:
leafy_identify/leafy_care/ etc.
Pricing
| Plan | Calls/month | Price | |---|---|---| | Free | 100 | Free | | Starter | 10,000 | 29€/mo | | Pro | 50,000 | 99€/mo | | Scale | 250,000 | 299€/mo | | Enterprise | Unlimited | Contact |
License
MIT — Leafy API terms apply for data usage.
