Skip to Content
MCP ServersCommunitySefaria Jewish Library MCP Server

Sefaria Jewish Library MCP Server

View original on GitHub 

smithery badge 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.

Sefaria Jewish Library Server MCP server

Features

  • Retrieve Jewish texts by reference
  • Retrieve commentaries on a given text

Installation

Requires Python 3.10 or higher.

Installing via Smithery

To install Sefaria Jewish Library for Claude Desktop automatically via Smithery :

npx -y @smithery/cli install mcp-sefaria-server --client claude

Clone the repository

git clone https://github.com/sivan22/mcp-sefaria-server.git cd mcp-sefaria-server

Running the Server

The server can be run directly:

uv --directory path/to/directory run sefaria_jewish_library

Or through an MCP client that supports the Model Context Protocol. for claude desktop app and cline you should use the following config:

{ "mcpServers": { "sefaria_jewish_library": { "command": "uv", "args": [ "--directory", "C:/dev/mcp-sefaria-server", "run", "sefaria_jewish_library" ], "env": { "PYTHONIOENCODING": "utf-8" } } } }

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: "ΧžΧ©Χ Χ” Χ‘Χ¨Χ›Χ•Χͺ Χ€Χ¨Χ§ א ΧžΧ©Χ Χ” א"

Development

This project uses:

Requirements

  • Python >= 3.10
  • MCP SDK >= 1.1.1
  • Sefaria API

License

MIT License

Last updated on