Sefaria Jewish Library MCP Server

by OpenTorah-ai
MIT License
  • Linux
  • Apple

Integrations

  • Provides access to Jewish texts from the Sefaria library, enabling retrieval of specific texts by reference and their associated commentaries.

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

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

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables Large Language Models to retrieve Jewish texts and commentaries from the Sefaria library through a standardized interface.

  1. Features
    1. Installation
      1. Installing via Smithery
      2. Clone the repository
    2. Running the Server
      1. Available tools
        1. get_text
        2. get_commentaries
      2. Development
        1. Requirements
          1. License

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              An MCP server that provides powerful search capabilities for Jewish texts and literature. This server enables Large Language Models to search and reference Jewish texts through a standardized interface.
              Last updated -
              12
              Python
              MIT License
            • A
              security
              A
              license
              A
              quality
              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.
              Last updated -
              3
              12
              Python
              MIT License
            • -
              security
              F
              license
              -
              quality
              This server provides an API to query Large Language Models using context from local files, supporting various models and file types for context-aware responses.
              Last updated -
              1
              TypeScript
            • A
              security
              A
              license
              A
              quality
              Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
              Last updated -
              2
              Python
              Apache 2.0
              • Apple

            View all related MCP servers

            ID: h4270it2mg