npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@leafyplant/mcp-server

v1.0.0

Published

MCP server for Leafy Plant Intelligence API — identify plants, get care guides, check toxicity for pets/humans

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-server

Then set your key:

export LEAFY_API_KEY=your_key_here

Environment 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.jpg

Check 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_toxicity

n8n MCP Client node

  1. Add MCP Client node
  2. Command: npx -y @leafyplant/mcp-server
  3. Env: LEAFY_API_KEY=your_key
  4. 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 |

Get your key →

License

MIT — Leafy API terms apply for data usage.