resolve_term
Pack: mesh · Endpoint: https://gateway.pipeworx.io/mesh/mcp
Map a free-text term or everyday synonym to its canonical MeSH descriptor(s) — the preferred heading to use when searching PubMed. Tries an exact descriptor match first; if none, falls back to a fuzzy contains match (flagged fuzzy). Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
text | string | yes | A term or synonym to canonicalize, e.g. “aspirin”, “high blood pressure”, “diabetes”. |
limit | number | no | Max matches (default 10, max 25). |
Example call
Arguments
{
"text": "aspirin"
}
curl
curl -X POST https://gateway.pipeworx.io/mesh/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"resolve_term","arguments":{"text":"aspirin"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('resolve_term', {
"text": "aspirin"
});
More examples
{
"text": "high blood pressure",
"limit": 15
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"mesh": {
"url": "https://gateway.pipeworx.io/mesh/mcp"
}
}
}
See Getting Started for client-specific install steps.