SS

sefaria/sefaria-mcp

Developer tools공식

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

28 stars 14 forks 품질 67 트렌드 20MIT

빠른MCP Sefaria에 대한 서버

개요

현대 MCP (모델 Context Protocol) 서버는 Sefaria API를 통해 유대인 라이브러리에 액세스합니다. 이 서버는 14 MCP 도구 세트로 Sefaria Jewish 라이브러리를 노출하고 LLM 및 기타 MCP 클라이언트를 허용 : - - 참고로 유대 텍스트 검색 (예 : "Genesis 1:1") - 전체 유대 도서관의 검색 - 상황 유대 달력 정보를 얻으십시오. diaspora (Diaspora, Israel에 대한 거짓)를 허용하십시오. - - 텍스트 간 교차 설정 및 연결 찾기 - - 특정 책 또는 텍스트 작업 내에서 검색 - 유대인 참조 사전 검색 - - 텍스트에 대한 모든 사용 가능한 영어 번역을 검색 - 유대인의 화제에 대한 자세한 정보를 검색 - Autocomplete and validate text name, book titles, and topic - 적절한 검색 필터 경로로 책을 변환 - - 텍스트 및 카테고리의 계층 구조 탐색 - 작업을위한 bibliographic 및 구조 정보 (index)를 가져옵니다 -...

개요(AI 번역)

현대 MCP (모델 Context Protocol) 서버는 Sefaria API를 통해 유대인 라이브러리에 액세스합니다.

이 서버는 무엇을 합니까?

이 서버는 14 MCP 도구 세트로 Sefaria Jewish 라이브러리를 노출하고 LLM 및 기타 MCP 클라이언트를 허용 :

** 일기 도구 : **

  • get text - 참고로 유대 텍스트 검색 (예 : “Genesis 1:1”) -text search - 전체 유대인 도서관의 검색 -get current calendar - 유태인 달력 정보를 얻으십시오. diaspora] (true] Diaspora, false] for Israel) for week when Torah reading schedules diverge.

** 핵심 도구:**

  • 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 가이드부터 시작하세요 →