search_plants
Pack: trefle · Endpoint: https://gateway.pipeworx.io/trefle/mcp
Search plants by common or scientific name. Returns Trefle plant ID, scientific name, common name, family, image. Filter by edible flags.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Free-text query |
edible | boolean | no | Only edible plants |
vegetable | boolean | no | Only vegetables |
page | number | no | 1-based page |
page_size | number | no | 1-100 (default 20) |
Example call
curl -X POST https://gateway.pipeworx.io/trefle/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_plants","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"trefle": {
"url": "https://gateway.pipeworx.io/trefle/mcp"
}
}
}
See Getting Started for client-specific install steps.