get_commentaries
Pack: sefaria · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_commentaries for the schema, then POST the same URL with its arguments for the data.
List the commentaries and cross-references on a passage (e.g. Rashi, Targum, quoting commentaries) from Sefaria’s link graph. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ref | string | yes | Textual reference, e.g. “Genesis.1.1”, “Shabbat.2a”. |
category | string | no | Filter to links of this category, case-insensitive (e.g. “Commentary”, “Targum”). Default “Commentary”. |
limit | number | no | Max results (default 25, max 100). |
Example call
Arguments
{
"ref": "Genesis.1.1"
}
curl
curl -X POST https://gateway.pipeworx.io/sefaria/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_commentaries","arguments":{"ref":"Genesis.1.1"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_commentaries', {
"ref": "Genesis.1.1"
});
More examples
{
"ref": "Shabbat.2a",
"category": "Targum",
"limit": 10
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the sefaria pack
{
"mcpServers": {
"sefaria": {
"url": "https://gateway.pipeworx.io/sefaria/mcp"
}
}
}
See Getting Started for client-specific install steps.