Skip to main content
Glama

Sefaria MCP Server

npm version License: MIT

An MCP (Model Context Protocol) server that provides access to Sefaria's library of Jewish texts - Torah, Talmud, Mishnah, Midrash, and thousands of commentaries.

Use this server to give Claude, Cursor, Windsurf, or any MCP-compatible AI assistant the ability to search, read, and explore Jewish texts.

Features

  • 📖 Read any text - Torah, Talmud, Mishnah, Midrash, Halacha, Kabbalah

  • 🔍 Full-text search - Search across all texts in English or Hebrew

  • 📚 Get commentaries - Rashi, Ramban, Ibn Ezra, and hundreds more

  • 📅 Daily learning - Daf Yomi, Parsha, daily Rambam, and more

  • 🔗 Cross-references - Find connections between texts

Related MCP server: Sefaria Jewish Library MCP Server

Installation

npm install -g sefaria-mcp-server

Or run directly with npx:

npx sefaria-mcp-server

The installed CLI binary is also available as sefaria-mcp:

npx -y -p sefaria-mcp-server sefaria-mcp

Configuration

No API key is required. The server uses Sefaria's public API.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %AppData%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "sefaria": {
      "command": "npx",
      "args": ["-y", "sefaria-mcp-server"]
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "sefaria": {
      "command": "npx",
      "args": ["-y", "sefaria-mcp-server"]
    }
  }
}

Tools

get_text

Get text by reference with Hebrew and English.

Reference formats:
- Torah: "Genesis 1:1", "Exodus 20:1-10"
- Talmud: "Berakhot 2a", "Shabbat 31a"
- Mishnah: "Mishnah Avot 1:1"
- Midrash: "Genesis Rabbah 1:1"
- Commentary: "Rashi on Genesis 1:1"

Full-text search across all texts.

Examples:
- "love your neighbor"
- "tikkun olam"
- "ואהבת לרעך כמוך"

Get commentaries and cross-references for a verse.

get_parsha

Get this week's Torah portion.

get_calendars

Get today's learning schedule (Daf Yomi, Parsha, daily Rambam, etc.).

get_book_info

Get metadata about a book (structure, categories).

Get related topics and community source sheets.

Examples

Ask Claude:

"What does Genesis 1:1 say? Show me the Hebrew and commentaries."

"Search for texts about loving your neighbor"

"What's this week's parsha?"

"What's today's Daf Yomi?"

"Find all the commentaries on Leviticus 19:18"

Development

git clone https://github.com/abeperl/sefaria-mcp-server
cd sefaria-mcp-server
npm install
npm run build
npm start

Credits

License

MIT

Available Tools

7 tools
get_book_infoB

Get metadata about a Jewish text - structure, categories, and length.

Inputs: title (required).

get_calendarsA

Get today's Jewish learning schedule including:

  • Daf Yomi (daily Talmud page)

  • Parashat Hashavua (weekly Torah portion)

  • Haftarah

  • Daily Mishnah, Rambam, and more

Inputs: no named parameters.

get_parshaA

Get this week's Torah portion (Parashat Hashavua) with Hebrew and English names.

Inputs: no named parameters.

get_textA

Get Jewish text by reference. Supports Torah, Talmud, Mishnah, Midrash, and commentaries.

Reference formats:

  • Torah: "Genesis 1:1", "Exodus 20:1-10", "Deuteronomy 6:4-9"

  • Talmud: "Berakhot 2a", "Shabbat 31a", "Bava Metzia 59b"

  • Mishnah: "Mishnah Avot 1:1", "Mishnah Berakhot 1:1"

  • Midrash: "Genesis Rabbah 1:1", "Tanchuma Bereshit 1"

  • Commentaries: "Rashi on Genesis 1:1"

Returns Hebrew and English text with metadata.

Inputs: ref (required), with_context.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 7 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: search, get_text, get_links, get_related, get_book_info, get_parsha, and get_calendars each target different resource types or access patterns. There is minor overlap between get_parsha and get_calendars because the calendar includes Parashat Hashavua, but descriptions clarify the distinction.

    Naming Consistency4/5

    Six of seven tools follow a consistent get_* noun pattern, which is predictable and readable. The lone 'search' tool is a reasonable verb-only exception but is a minor deviation from the otherwise uniform convention.

    Tool Count5/5

    Seven tools is a well-scoped set for a Jewish text research server. Each tool supports a distinct study workflow, and the count avoids both thinness and excessive surface area.

    Completeness4/5

    The surface covers core research workflows: searching, retrieving text, finding links and related sources, getting book metadata, and accessing calendar/parsha information. Minor gaps exist, such as listing available books or retrieving translation/version details directly, but these are likely workable via search and metadata.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      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.
      4
      35
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables LLMs to access and search Jewish texts from the Sefaria library through 15 MCP tools, including text retrieval, search, and manuscript access.
      28
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to access and query the Sefaria digital library of Jewish texts through natural language or direct tool calls.
      65 npm
      1
      MIT