Sefaria Library
Access Sefaria's library of Jewish texts, commentaries, and learning schedules via MCP
Should I use this
Quality & Safety
Findings (3)
- LOWin get_index
- LOWin get_calendars
- LOWin get_versions
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"sefaria": {
"url": "https://sefaria-mcp.shimonkolodny.workers.dev/mcp"
}
}
}Remote endpoints
https://sefaria-mcp.shimonkolodny.workers.dev/mcpstreamable-httpWhat it can do
Tool inventory
Tools (9)
🟢get_text(ref, context)
Retrieve the text and metadata for a specific reference (e.g., 'Genesis.1.1' or 'Berakhot 2a')
Input Schema
{
"type": "object",
"properties": {
"ref": {
"type": "string",
"description": "The citation reference"
},
"context": {
"description": "0 to return just the specific text, 1 to include surrounding context",
"type": "number"
}
},
"required": [
"ref"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search_texts(query, type, size)
Search the Sefaria library for a query string.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The search query"
},
"type": {
"default": "text",
"description": "Type of documents to search",
"type": "string",
"enum": [
"text",
"sheet"
]
},
"size": {
"default": 10,
"description": "Number of results to return",
"type": "number"
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_index(title, v2)
Returns metadata for a specific text, such as section names and categories
Input Schema
{
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title of the text (e.g., 'Genesis')"
},
"v2": {
"default": true,
"description": "Use v2 index for more detailed records",
"type": "boolean"
}
},
"required": [
"title"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_toc
Returns the table of contents for all texts in the library, grouped by category
Input Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_links(ref, with_text)
Returns a list of known connections (commentary, citations, etc.) for a specific text segment
Input Schema
{
"type": "object",
"properties": {
"ref": {
"type": "string",
"description": "The text reference to find links for"
},
"with_text": {
"default": true,
"description": "Include the text of the linked source",
"type": "boolean"
}
},
"required": [
"ref"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_topics
Returns a list of JSON objects containing metadata for topics in the database
Input Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_calendars(date, timezone, custom)
Returns daily learning schedules (Parashat Hashavua, Daf Yomi, etc.) for a specific date
Input Schema
{
"type": "object",
"properties": {
"date": {
"description": "Date in YYYY-MM-DD format (defaults to today)",
"type": "string"
},
"timezone": {
"default": "America/New_York",
"description": "Timezone name (e.g., 'America/New_York', 'Asia/Jerusalem')",
"type": "string"
},
"custom": {
"default": 1,
"description": "Customization (1 for diaspora, 0 for Israel parasha scheme)",
"type": "number"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_versions(ref)
Returns available text versions for a specific reference
Input Schema
{
"type": "object",
"properties": {
"ref": {
"type": "string",
"description": "The text reference (e.g., 'Genesis.1.1')"
}
},
"required": [
"ref"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_shape(ref)
Returns the structure and section counts for a specific text reference
Input Schema
{
"type": "object",
"properties": {
"ref": {
"type": "string",
"description": "The text reference (e.g., 'Genesis')"
}
},
"required": [
"ref"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Evidence