Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

mcp-sefaria-server

MCP.Pizza Chef: Sivan22

The mcp-sefaria-server is an MCP server that provides seamless access to the extensive Jewish text library hosted by Sefaria.org. It enables Large Language Models to fetch Jewish texts, commentaries, and perform searches within the Jewish library through a standardized API interface. Designed for Python 3.10+, this server facilitates integration of rich Jewish textual knowledge into AI workflows, supporting retrieval by reference and query-based searches. It is ideal for developers building AI agents or applications that require authoritative Jewish textual sources.

Use This MCP server To

Retrieve Jewish texts by reference for AI context Fetch commentaries on Jewish texts for detailed analysis Search Jewish library for relevant textual information Integrate Jewish textual data into AI-powered applications Enable LLMs to reference authoritative Jewish sources Support educational tools with Jewish text retrieval

README

MseeP.ai Security Assessment Badge smithery badge Sefaria Jewish Library Server MCP server

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
  • Search the Jewish library for a query

Installation

Requires Python 3.10 or higher.

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",
              "absolute/path/to/mcp-sefaria-server",
              "run",
              "sefaria_jewish_library"
          ],
          "env": {
            "PYTHONIOENCODING": "utf-8" 
          }
      }
  }
}

Installing via Smithery

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

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

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: "משנה ברכות פרק א משנה א"

search_texts

Searches for Jewish texts in the Sefaria library based on a query.

Example:

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

Development

This project uses:

image

Requirements

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

License

MIT License

mcp-sefaria-server FAQ

How do I install the mcp-sefaria-server?
Clone the repository and ensure you have Python 3.10 or higher installed to run the server.
What kind of Jewish texts can I access with this server?
You can access a wide range of Jewish texts and their commentaries available through the Sefaria.org library.
Can I perform text searches using this MCP server?
Yes, the server supports searching the Jewish library for queries to find relevant texts.
Is this server compatible with multiple LLM providers?
Yes, it works with any MCP-compatible LLMs including OpenAI, Anthropic Claude, and Google Gemini.
Does the server provide real-time access to updated texts?
Yes, it fetches data directly from the Sefaria.org API, ensuring up-to-date content.
What programming language is required to run this server?
The server requires Python 3.10 or higher for installation and operation.
How does this server enhance AI applications?
It allows AI models to reference and retrieve authoritative Jewish texts, enriching context and responses.
Are there any security assessments available for this server?
Yes, security badges from MseeP.ai and Smithery are displayed, indicating vetted security standards.