herb_detail
Pack: herb-tcm · Endpoint: https://gateway.pipeworx.io/herb-tcm/mcp
Full record for one HERB id: herb (composition + traditional-use summary + predicted and literature
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | HERB id, e.g. HERB004520 (herb), HBIN016960 (ingredient), HBTAR000001 (target), HBDIS000001 (disease). |
category | string | yes | Must match the id’s prefix. |
limit | number | no | Max rows returned per relationship table (herb_ingredient, herb_target, herb_disease, |
offset | number | no | 0-based row offset applied to each relationship table. Default 0. |
sections | array | no | Return only these sections — e.g. [“summary”,“herb_ingredient”] for composition without pulling |
items | string | no |
Example call
Arguments
{
"id": "HBIN016960",
"category": "ingredient",
"limit": 10
}
curl
curl -X POST https://gateway.pipeworx.io/herb-tcm/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"herb_detail","arguments":{"id":"HBIN016960","category":"ingredient","limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('herb_detail', {
"id": "HBIN016960",
"category": "ingredient",
"limit": 10
});
More examples
{
"id": "HERB000323",
"category": "herb",
"sections": [
"summary",
"herb_ingredient"
],
"limit": 200
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"herb-tcm": {
"url": "https://gateway.pipeworx.io/herb-tcm/mcp"
}
}
}
See Getting Started for client-specific install steps.