get_commentaries

Pack: sefaria · Endpoint: https://gateway.pipeworx.io/sefaria/mcp

List the commentaries and cross-references on a passage (e.g. Rashi, Targum, quoting commentaries) from Sefaria’s link graph. Keyless.

Parameters

NameTypeRequiredDescription
refstringyesTextual reference, e.g. “Genesis.1.1”, “Shabbat.2a”.
categorystringnoFilter to links of this category, case-insensitive (e.g. “Commentary”, “Targum”). Default “Commentary”.
limitnumbernoMax 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, or use one-click install buttons:

{
  "mcpServers": {
    "sefaria": {
      "url": "https://gateway.pipeworx.io/sefaria/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 8, 2026