Sefaria Jewish Library MCP Server

by MCP-Mirror

273 downloads
Not rated
GitHub

About

A Model Context Protocol server that provides access to Jewish texts from the Sefaria library. It enables Large Language Models to retrieve and reference Jewish texts through a standardized interface using two main tools: gettext (fetch a specific text by reference) and…

Details

Author
MCP-Mirror
Downloads
273
Categories
Developer Tools

- Retrieve Jewish texts by reference (e.g., "Genesis 1:1")
- Retrieve commentaries on a given text
- Supports Hebrew and English text references
- Works with any MCP-compatible client
- Uses the public Sefaria API

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Sefaria Jewish Library MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via Smithery (npx -y @smithery/cli install mcp-sefaria-server --client claude) or clone the repository and run uv --directory path/to/directory run sefaria_jewish_library. Configure as an MCP server in clients like Claude Desktop or Cline by adding the binary command and directory to the client’s MCP configuration file.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "sefaria jewish library mcp server": {
            "OpenTorah-ai_mcp-sefaria-server": {
                "command": "npx",
                "args": [
                    "-y",
                    "@smithery/cli",
                    "install",
                    "mcp-sefaria-server",
                    "--client",
                    "claude"
                ]
            }
        }
    }
}

McpServers

{
    "OpenTorah-ai_mcp-sefaria-server": {
        "command": "npx",
        "args": [
            "-y",
            "@smithery/cli",
            "install",
            "mcp-sefaria-server",
            "--client",
            "claude"
        ]
    }
}

Sefaria Jewish Library MCP Server

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.

<a href="https://glama.ai/mcp/servers/j3v6vnp4xk">Sefaria Jewish Library Server MCP server</a>

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:
- MCP SDK for server implementation
- Sefaria API for accessing Jewish texts

Requirements

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

License

MIT License

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.