mcp sefaria server
Enables Large Language Models to retrieve Jewish texts and commentaries from the Sefaria library through a standardized interface.
Enables Large Language Models to retrieve Jewish texts and commentaries from the Sefaria library through a standardized interface.
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.
Requires Python 3.10 or higher.
To install Sefaria Jewish Library for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install mcp-sefaria-server --client claude
git clone https://github.com/sivan22/mcp-sefaria-server.git
cd mcp-sefaria-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"
}
}
}
}
The server provides the following tools through the MCP interface:
Retrieves a specific Jewish text by its reference.
Example:
reference: "Genesis 1:1"
reference: "שמות פרק ב פסוק ג"
reference: "משנה ברכות פרק א משנה א"
Retrieves a list of commentaries for a given text.
Example:
reference: "Genesis 1:1"
reference: "שמות פרק ב פסוק ג"
reference: "משנה ברכות פרק א משנה א"
This project uses: - MCP SDK for server implementation - Sefaria API for accessing Jewish texts
MIT License