Skip to main content
Glama
Sefaria Jewish Library MCP Server

Sefaria Jewish Library MCP Server

by Sivan22

Schmiedeabzeichen

MCP-Server der jüdischen Bibliothek Sefaria

Ein MCP-Server ( Model Context Protocol ), der Zugriff auf jüdische Texte aus der Sefaria- Bibliothek bietet. Dieser Server ermöglicht Large Language Models (LLM), jüdische Texte über eine standardisierte Schnittstelle abzurufen und zu referenzieren.

Merkmale

  • Jüdische Texte per Referenz abrufen

  • Kommentare zu einem bestimmten Text abrufen

  • Durchsuchen Sie die jüdische Bibliothek nach einer Abfrage

Related MCP server: Sefaria Jewish Library MCP Server

Installation

Erfordert Python 3.10 oder höher.

Klonen Sie das Repository

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

Ausführen des Servers

Der Server kann direkt ausgeführt werden:

uv --directory path/to/directory run sefaria_jewish_library

Oder über einen MCP-Client, der das Model Context Protocol unterstützt. Für die Claude-Desktop-App und Cline sollten Sie die folgende Konfiguration verwenden:

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

Installation über Smithery

So installieren Sie die Sefaria Jewish Library für Claude Desktop automatisch über Smithery :

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

Verfügbare Werkzeuge

Der Server stellt über die MCP-Schnittstelle die folgenden Tools bereit:

get_text

Ruft einen bestimmten jüdischen Text anhand seiner Referenz ab.

Beispiel:

reference: "Genesis 1:1"
reference: "שמות פרק ב פסוק ג"
reference: "משנה ברכות פרק א משנה א"

Kommentare abrufen

Ruft eine Liste mit Kommentaren zu einem bestimmten Text ab.

Beispiel:

reference: "Genesis 1:1"
reference: "שמות פרק ב פסוק ג"
reference: "משנה ברכות פרק א משנה א"

Suchtexte

Sucht anhand einer Abfrage nach jüdischen Texten in der Sefaria-Bibliothek.

Beispiel:

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

Entwicklung

Dieses Projekt verwendet:

Bild

Anforderungen

  • Python >= 3.10

  • MCP SDK >= 1.1.1

  • Sefaria API

Lizenz

MIT-Lizenz

Available Tools

4 tools
get_commentariesC

get a list of references of commentaries for a jewish text

Inputs: reference (required).

get_daily_learningsC

get the daily or weekly learning schedule from Sefaria's calendar

Inputs: custom, day, diaspora, month, +2 more.

get_textC

get a jewish text from the jewish library

Inputs: reference (required).

search_textsC

search for jewish texts in the Sefaria library

Inputs: query (required), filters, size, slop.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: get_commentaries retrieves commentary references, get_daily_learnings fetches calendar schedules, get_text obtains specific texts, and search_texts performs library searches. The descriptions are precise, making it easy for an agent to select the correct tool without confusion.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case (e.g., get_commentaries, search_texts). The naming is uniform across all four tools, with 'get_' and 'search_' as clear action prefixes, enhancing predictability and readability.

    Tool Count4/5

    With 4 tools, the count is reasonable for a library server, covering core operations like retrieving texts, commentaries, schedules, and searching. It is slightly lean but well-scoped; adding tools for updates or user interactions could enhance it, but it's not incomplete.

    Completeness4/5

    The tool set covers essential read-only operations for a Jewish library domain: accessing texts, commentaries, schedules, and searches. Minor gaps exist, such as no update, delete, or user-specific functions (e.g., saving favorites), but agents can work effectively with the provided tools for core queries.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      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.
      23
      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