Sefaria Library
Access Sefaria's library of Jewish texts, commentaries, and learning schedules via MCP
我该使用它吗
质量与安全性
发现(3)
- LOW在 get_index 中
- LOW在 get_calendars 中
- LOW在 get_versions 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"sefaria": {
"url": "https://sefaria-mcp.shimonkolodny.workers.dev/mcp"
}
}
}远程端点
https://sefaria-mcp.shimonkolodny.workers.dev/mcpstreamable-http它能做什么
工具清单
工具(9)
🟢get_text(ref, context)
Retrieve the text and metadata for a specific reference (e.g., 'Genesis.1.1' or 'Berakhot 2a')
输入模式
{
"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.
输入模式
{
"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
输入模式
{
"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
输入模式
{
"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
输入模式
{
"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
输入模式
{
"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
输入模式
{
"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
输入模式
{
"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
输入模式
{
"type": "object",
"properties": {
"ref": {
"type": "string",
"description": "The text reference (e.g., 'Genesis')"
}
},
"required": [
"ref"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据