About Sefaria Mcp Server
Sefaria Mcp Server exposes Sefaria’s Jewish text library to MCP-compatible assistants. It supports reading and searching texts in Hebrew and English, with commentaries, cross-references, and learning schedules.
Key features
- 01Read texts in Hebrew and English
- 02Search across the text library
- 03Retrieve commentaries and references
- 04Check weekly Torah portions
- 05View daily learning schedules
- 06Get book metadata and related topics
Use cases
- 01Look up a Torah or Talmud passage
- 02Search Jewish texts by phrase
- 03Explore commentaries linked to a verse
- 04Check a daily study schedule
MCP support
The MCP server provides tools for assistants to search, read, and explore Sefaria’s Jewish texts, commentaries, and related learning resources.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
7Saved tool list · updated 3w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| ref | string | Yes | Sefaria reference (e.g., 'Genesis 1:1', 'Berakhot 2a') |
| with_context | boolean | No | Include surrounding context (default: false) |
Details
From the project READMESefaria MCP Server
An MCP (Model Context Protocol) server that provides access to Sefaria's library of Jewish texts - Torah, Talmud, Mishnah, Midrash, and thousands of commentaries.
Use this server to give Claude, Cursor, Windsurf, or any MCP-compatible AI assistant the ability to search, read, and explore Jewish texts.
Features
- 📖 Read any text - Torah, Talmud, Mishnah, Midrash, Halacha, Kabbalah
- 🔍 Full-text search - Search across all texts in English or Hebrew
- 📚 Get commentaries - Rashi, Ramban, Ibn Ezra, and hundreds more
- 📅 Daily learning - Daf Yomi, Parsha, daily Rambam, and more
- 🔗 Cross-references - Find connections between texts
Installation
npm install -g sefaria-mcp-server
Or run directly with npx:
npx sefaria-mcp-server
The installed CLI binary is also available as sefaria-mcp:
npx -y -p sefaria-mcp-server sefaria-mcp
Configuration
No API key is required. The server uses Sefaria's public API.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %AppData%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"sefaria": {
"command": "npx",
"args": ["-y", "sefaria-mcp-server"]
}
}
}
Cursor
Add to .cursor/mcp.json in your project:
{
"mcpServers": {
"sefaria": {
"command": "npx",
"args": ["-y", "sefaria-mcp-server"]
}
}
}
Tools
get_text
Get text by reference with Hebrew and English.
Reference formats:
- Torah: "Genesis 1:1", "Exodus 20:1-10"
- Talmud: "Berakhot 2a", "Shabbat 31a"
- Mishnah: "Mishnah Avot 1:1"
- Midrash: "Genesis Rabbah 1:1"
- Commentary: "Rashi on Genesis 1:1"
search
Full-text search across all texts.
Examples:
- "love your neighbor"
- "tikkun olam"
- "ואהבת לרעך כמוך"
get_links
Get commentaries and cross-references for a verse.
get_parsha
Get this week's Torah portion.
get_calendars
Get today's learning schedule (Daf Yomi, Parsha, daily Rambam, etc.).
get_book_info
Get metadata about a book (structure, categories).
get_related
Get related topics and community source sheets.
Examples
Ask Claude:
"What does Genesis 1:1 say? Show me the Hebrew and commentaries."
"Search for texts about loving your neighbor"
"What's this week's parsha?"
"What's today's Daf Yomi?"
"Find all the commentaries on Leviticus 19:18"
Development
git clone https://github.com/abeperl/sefaria-mcp-server
cd sefaria-mcp-server
npm install
npm run build
npm start
Credits
- Powered by Sefaria - the free, open-source library of Jewish texts
- Built with the Model Context Protocol SDK
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.