Sefaria Jewish Library MCP Server

by Sivan22
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides access to Jewish texts from the Sefaria digital library through tools for retrieving specific texts by reference, obtaining commentaries on a given text, and searching the library with customizable filters.

Sefaria 犹太图书馆 MCP 服务器

一个 MCP(模型上下文协议)服务器,提供从Sefaria库访问犹太文本的功能。该服务器支持大型语言模型通过标准化接口检索和引用犹太文本。

特征

  • 通过参考检索犹太文本
  • 检索给定文本的评论
  • 在犹太图书馆搜索查询

安装

需要 Python 3.10 或更高版本。

克隆存储库

git clone https://github.com/sivan22/mcp-sefaria-server.git cd mcp-sefaria-server

运行服务器

可以直接运行服务器:

uv --directory path/to/directory run sefaria_jewish_library

或者通过支持模型上下文协议的 MCP 客户端。对于 claude 桌面应用程序和 cline,您应该使用以下配置:

{ "mcpServers": { "sefaria_jewish_library": { "command": "uv", "args": [ "--directory", "absolute/path/to/mcp-sefaria-server", "run", "sefaria_jewish_library" ], "env": { "PYTHONIOENCODING": "utf-8" } } } }

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 Sefaria Jewish Library:

npx -y @smithery/cli install mcp-sefaria-server --client claude

可用工具

服务器通过MCP接口提供以下工具:

获取文本

通过参考检索特定的犹太文本。

例子:

reference: "Genesis 1:1" reference: "שמות פרק ב פסוק ג" reference: "משנה ברכות פרק א משנה א"

获取评论

检索给定文本的评论列表。

例子:

reference: "Genesis 1:1" reference: "שמות פרק ב פסוק ג" reference: "משנה ברכות פרק א משנה א"

搜索文本

根据查询在 Sefaria 图书馆中搜索犹太文本。

例子:

query: "moshiach" slop: 1 filters: ["Talmud", "Bavli"] size: 5

发展

该项目使用:

要求

  • Python >= 3.10
  • MCP SDK >= 1.1.1
  • Sefaria API

执照

MIT 许可证

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

提供从Sefaria库访问犹太文本的功能。该服务器支持大型语言模型通过标准化接口检索和引用犹太文本。

  1. Features
    1. Installation
      1. Clone the repository
      2. Running the Server
      3. Installing via Smithery
    2. Available tools
      1. get_text
      2. get_commentaries
      3. search_texts
    3. Development
      1. Requirements
        1. License
          ID: j3v6vnp4xk