MCP server exposing 5 tools for trefle.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/trefle/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
search_plants — Search plants by common or scientific name. Returns Trefle plant ID, scientific name, common name, family, image. Filter by edible flags.get_plant — Full plant record by Trefle ID. Returns scientific/common names, family, status, image, year, main species.search_species — Search species (the rank below plants — some plants have multiple species). Returns Trefle species ID + scientific name.get_species — Full species record: growth habit, light/atmospheric humidity/soil requirements, edible / medicinal flags, distribution, images, sources.list_distributions — Native or introduced distribution zones (TDWG WGSRPD codes — e.g., "NWY" = Norway, "CAL" = California). Returns species lists by zone.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/trefle/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io