Labsco
Sivan22 logo

Sefaria Jewish Library MCP Server

โ˜… 33

from Sivan22

Provides access to Jewish texts from the Sefaria library.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

smithery badge <a href="https://glama.ai/mcp/servers/j3v6vnp4xk"><img width="380" height="200" src="https://glama.ai/mcp/servers/j3v6vnp4xk/badge" alt="Sefaria Jewish Library Server MCP server" /></a>

Sefaria Jewish Library MCP Server

An MCP (Model Context Protocol) server that provides access to Jewish texts from the Sefaria library. This server enables Large Language Models to retrieve and reference Jewish texts through a standardized interface.

Features

  • Retrieve Jewish texts by reference
  • Retrieve commentaries on a given text
  • Search the Jewish library for a query
  • Get daily/weekly learning schedule from Sefaria's calendar

Available tools

The server provides the following tools through the MCP interface:

get_text

Retrieves a specific Jewish text by its reference.

Example:

reference: "Genesis 1:1"
reference: "ืฉืžื•ืช ืคืจืง ื‘ ืคืกื•ืง ื’"
reference: "ืžืฉื ื” ื‘ืจื›ื•ืช ืคืจืง ื ืžืฉื ื” ื"

get_commentaries

Retrieves a list of commentaries for a given text.

Example:

reference: "Genesis 1:1"
reference: "ืฉืžื•ืช ืคืจืง ื‘ ืคืกื•ืง ื’"
reference: "ืžืฉื ื” ื‘ืจื›ื•ืช ืคืจืง ื ืžืฉื ื” ื"

search_texts

Searches for Jewish texts in the Sefaria library based on a query.

Example:

query: "moshiach"
slop: 1
filters: ["Talmud", "Bavli"]
size: 5

get_daily_learnings

Retrieves the daily or weekly learning schedule from Sefaria's calendar API.

Parameters (all optional):

  • diaspora (boolean): When true, returns weekly Torah reading for diaspora. When false, returns Torah reading for Israel. Default: true
  • custom (string): If available, the weekly Haftarah will be returned for the selected custom
  • year, month, day (integers): Specific date (all three must be used together, or API falls back to current date)
  • timezone (string): Timezone name in accordance with IANA Standards

Example:

# Get current day's learning schedule
{}

# Get learning schedule for a specific date in Israel
{
  "diaspora": false,
  "year": 2024,
  "month": 12,
  "day": 25,
  "timezone": "Asia/Jerusalem"
}

Returns a formatted schedule including:

  • Weekly Torah portion (Parashat Hashavua) with aliyot
  • Haftarah reading
  • Daf Yomi (daily Talmud page)
  • Daily Mishnah, Rambam, and other learning cycles
  • Various Jewish learning programs and their daily selections

Development

This project uses:

image