Sefaria Jewish Library MCP Server
About
Fetch and read Jewish texts through the API of Sefaria.org
Details
- Author
- Sivan22
- GitHub stars
- 33
- Downloads
- 269
- Categories
- Database, Knowledge Base, Other, Developer Tools
Jump to
- Retrieve Jewish texts by reference (e.g., "Genesis 1:1")
- Retrieve commentaries on a given text
- Search the Jewish library for a query
- Get daily/weekly learning schedule from Sefaria's calendar
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:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Sefaria Jewish Library MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Requires Python 3.10 or higher. Clone the repository, then run with uv --directory path/to/directory run sefaria_jewish_library. For Claude Desktop or Cline, add the server configuration as shown in the README. Can also be installed automatically via Smithery using npx -y @smithery/cli install mcp-sefaria-server --client claude. Once running, the server exposes four MCP tools.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"sefaria jewish library mcp server": {
"mcp-sefaria-server": {
"command": "uv",
"args": [
"--directory",
"path/to/directory",
"run",
"sefaria_jewish_library"
]
}
}
}
}
McpServers
{
"mcp-sefaria-server": {
"command": "uv",
"args": [
"--directory",
"path/to/directory",
"run",
"sefaria_jewish_library"
]
}
}
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
- Get daily/weekly learning schedule from Sefaria's calendar
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
get_daily_learnings
Retrieves the daily or weekly learning schedule from Sefaria's calendar API.
Parameters (all optional):
- diaspora (boolean): When true, returns weekly Torah reading for diaspora. When false, returns Torah reading for Israel. Default: true
- custom (string): If available, the weekly Haftarah will be returned for the selected custom
- year, month, day (integers): Specific date (all three must be used together, or API falls back to current date)
- timezone (string): Timezone name in accordance with IANA Standards
Example:
```
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





