Sefaria
live UtilitySefaria MCP — the free digital library of Jewish texts.
Tools
get_text Fetch a passage of Jewish text from Sefaria by reference, in Hebrew and/or English. Works for Torah/Tanakh, Talmud, Mishnah, Midrash, Halacha, Kabbalah, and commentaries. Keyless.
No parameters required.
Try it
lookup_ref Validate or autocomplete a Sefaria reference or title (e.g. "Genesis", "Rashi", "Berakhot"). Returns whether it is a valid reference/book and a list of completions. Keyless.
No parameters required.
Try it
get_commentaries List the commentaries and cross-references on a passage (e.g. Rashi, Targum, quoting commentaries) from Sefaria's link graph. Keyless.
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/sefaria/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/sefaria/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_text","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("get_text", {}); // Or ask in plain English:
const answer = await px.ask("sefaria mcp — the free digital library of jewish texts");