SS

sefaria/sefaria-mcp

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

28 stars 14 forks 品質 64 トレンド 8MIT

高速MCP Sefariaサーバー

概要

Sefaria API 経由でユダヤ人ライブラリにアクセスするための最新の MCP (Model Context Protocol) サーバー。 このサーバーは、Sefariaのユダヤ人ライブラリを14 MCPツールのセットとして公開し、LLMや他のMCPクライアントを次のものにすることができます。 - - - 参照によってユダヤ人のテキストを取得します(例、 "Genesis 1:1") - - - ユダヤ人のライブラリ全体全体で検索 - - 状況のユダヤ人のカレンダー情報を取得します。 Torah の読み込みスケジュールのダイバージを週に、diaspora(Diaspora、イスラエルの場合は false) を受け付けます。 - - テキスト間の相互参照と接続 - - - 特定のブックまたはテキストワーク内の検索 - ユダヤ人の参照辞書を検索 - - - テキストのためのすべての利用可能な英語の翻訳を取得する - - - ユダヤ人の考えのトピックに関する詳細な情報を取得する - - 自動補完し、テキスト名、書籍タイトル、トピックを検証 - - 適切な検索フィルタパスに書籍名を変換 - - - テキストとカテゴリの階層構造を探索 - 書誌と構造情報(インデックス)を仕事に取得 -...

概要(AI 翻訳)

Sefaria API 経由でユダヤ人ライブラリにアクセスするための最新の MCP (Model Context Protocol) サーバー。

このサーバーは何をしますか?

このサーバーは、Sefariaのユダヤ人ライブラリを14 MCPツールのセットとして公開し、LLMや他のMCPクライアントを次のものにすることができます。

主なツール: -get text - 参照でユダヤ人のテキストを取得する(例:Genesis 1:1")

  • text search - ユダヤ人図書館全体で検索
  • get current calendar - 状況のユダヤ人のカレンダー情報を入手してください。 Torah の読み込みスケジュールのダイバージを週に Diaspora の [[false]] を [true]] で受け付けます。

中心用具:

  • get links between texts - テキスト間のクロスリファレンスと接続の検索 -search in book - 特定のブックまたはテキストワーク内の検索 -search in dictionaries - ユダヤ人の参照辞書を検索する

サポート ツール: -get english translations - テキストのすべての利用可能な英語の翻訳を取得する

  • get topic details - ユダヤ人の考えのトピックに関する詳細な情報を取得する
  • clarify name argument - テキスト名、書籍タイトル、トピックの自動補完と検証
  • clarify search path filter - 書籍名を適切な検索フィルタパスに変換する

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Sefaria MCP Server

A modern MCP (Model Context Protocol) server for accessing the Jewish library via the Sefaria API.

What does this server do?

This server exposes the Sefaria Jewish library as a set of 14 MCP tools, allowing LLMs and other MCP clients to:

Primary Tools:

  • get_text - Retrieve Jewish texts by reference (e.g., “Genesis 1:1”)
  • text_search - Search across the entire Jewish library
  • get_current_calendar - Get situational Jewish calendar information. Accepts diaspora (true for Diaspora, false for Israel) for weeks when Torah reading schedules diverge.

Core Tools:

  • get_links_between_texts - Find cross-references and connections between texts
  • search_in_book - Search within a specific book or text work
  • search_in_dictionaries - Search Jewish reference dictionaries

Support Tools:

  • get_english_translations - Retrieve all available English translations for a text
  • get_topic_details - Retrieve detailed information about topics in Jewish thought
  • clarify_name_argument - Autocomplete and validate text names, book titles, and topics
  • clarify_search_path_filter - Convert book names to proper search filter paths

Structure Tools:

  • get_text_or_category_shape - Explore the hierarchical structure of texts and categories
  • get_text_catalogue_info - Get bibliographic and structural information (index) for a work

Manuscript Tools:

  • get_available_manuscripts - Access historical manuscript metadata and image URLs
  • get_manuscript_image - Download and process specific manuscript images

All endpoints are optimized for LLM consumption (compact, relevant, and structured responses).

What is MCP?

MCP (Model Context Protocol) is an open protocol for connecting Large Language Models (LLMs) to external tools, APIs, and knowledge sources. It enables LLMs to retrieve, reference, and interact with structured data and external services in a standardized way. Learn more in the MCP documentation.

How to Run

Prerequisites

  • Python 3.10+
  • Docker (optional, for containerized deployment)

Local Development

  1. Install dependencies:
    pip install -e .
    
  2. Run the server:
    python -m sefaria_mcp.main
    
    The server will be available at http://127.0.0.1:8088/mcp by default, with the legacy SSE endpoint at http://127.0.0.1:8088/sse. Set SEFARIA_MCP_PORT to override the HTTP port (e.g., SEFARIA_MCP_PORT=8089 python -m sefaria_mcp.main). Prometheus metrics bind separately on SEFARIA_MCP_METRICS_PORT (default 9090).

Configuration

Variable Default Purpose
SEFARIA_MCP_HOST 0.0.0.0 Interface the HTTP server binds to
SEFARIA_MCP_PORT 8088 Port serving both /mcp and /sse
GitHub で README 全文を見る

インストール

docker run -d --name sefaria-mcp \
MCP 初心者?mcpskill.org のガイドから始めましょう →