SM

sivan22/mcp-otzaria-server

Developer tools

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

23 stars 8 forks 品質 62 トレンド 0MIT

mCP プロトコルを介して LLM に jewish ライブラリがアクセス可能

概要

ユダヤ人のテキストや文学の強力な検索機能を提供するMCP(モデルコンテキストプロトコル)サーバー。 このサーバーは、大規模なランゲージモデルを使用して、標準化されたインターフェイスを使用してユダヤ人のテキストを検索し、参照することができます。 - ユダヤ人のテキストと文献を横断したフルテキスト検索 - 高度なクエリの構文のサポート: - フィールド固有の検索(テキスト:用語、参照:期間、トピック: AND、OR) - ブーリアン演算子(AND、OR) - 必須/除外条件(+term、-term) - フレーズ検索('exact phrase') - ワイルドカード(?、*) - 関連するベースのスコアリング - 参照、トピック、およびハイライトされた抜粋を含む豊富な検索結果 ここからインデックスをダウンロードし、抽出します またはモデルコンテキストプロトコルをサポートするMCPクライアントを介して。 claudeデスクトップアプリとclineの場合、次の設定を使用する必要があります。 サーバは、MCP インターフェイスを介して単一のツールを提供します。 高度なクエリ機能を使用して、ユダヤ人ライブラリ全体で全文検索を実行します.

概要(AI 翻訳)

ユダヤ人のテキストや文学の強力な検索機能を提供するMCP(モデルコンテキストプロトコル)サーバー。 このサーバーは、大規模なランゲージモデルを使用して、標準化されたインターフェイスを使用してユダヤ人のテキストを検索し、参照することができます。

##特徴

  • ユダヤ人のテキストと文献を渡る全文検索
  • 高度なクエリ構文のサポート:
  • フィールド固有の検索(text:term、参照:term、トピック:term)
  • ブール演算子(AND、OR)
  • 必須/除外条件(+term、-term)
  • フレーズ検索(‘exact phrase’)
  • ワイルドカード(?、*)
  • 関連するベースのスコアリング
  • 参照、トピック、および強調された抜粋を含む豊富な検索結果

インストール

Python 3.10以上が必要です。

リポジトリをクローンする

インデックスを取得する

ここからインデックスをダウンロードし、抽出します

依存関係のインストール

サーバーの実行

サーバは直接実行できます。

またはモデルコンテキストプロトコルをサポートするMCPクライアントを介して。 claudeデスクトップアプリとclineの場合、次の設定を使用する必要があります。

利用可能なツール

サーバは、MCP インターフェイスを介して単一のツールを提供します。

##full text search の一覧

高度なクエリ機能を使用して、ユダヤ人ライブラリ全体で全文検索を実行します。

クエリ形式例:

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

README

Jewish Library MCP Server

An MCP (Model Context Protocol) server that provides powerful search capabilities for Jewish texts and literature. This server enables Large Language Models to search and reference Jewish texts through a standardized interface.

Features

  • Full-text search across Jewish texts and literature
  • Advanced query syntax support:
    • Field-specific search (text:term, reference:term, topics:term)
    • Boolean operators (AND, OR)
    • Required/excluded terms (+term, -term)
    • Phrase search (‘exact phrase’)
    • Wildcards (?, *)
  • Relevance-based scoring
  • Rich search results including references, topics, and highlighted excerpts

Installation

Requires Python 3.10 or higher.

Clone the repository

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

Get the index

download and extract the index from here

Install dependencies

pip install .

Running the Server

The server can be run directly:

uv --directory path/to/directory run jewish_library

Or through an MCP client that supports the Model Context Protocol. for claude desktop app and cline you should use the following config:

{
  "mcpServers": {        
      "jewish_library": {
          "command": "uv",
          "args": [
              "--directory",
              "your/path/to/directory",
              "run",
              "jewish_library"
          ],
          "env": {
            "PYTHONIOENCODING": "utf-8" 
          }
      }
  }
}

Available tools

The server provides a single tool through the MCP interface:

full_text_search

Performs a full-text search across the Jewish library with advanced query capabilities.

Example query formats:

# Basic search
"maimonides on prayer"

# Field-specific search
text:"love your neighbor" AND topics:mitzvot

# Required terms
+shabbat +candles

# Phrase search with topic filter
"four species" AND topics:sukkot

# Wildcard search
pray* AND reference:psalms

Search results include:

  • Reference information
  • Relevant topics
  • Highlighted excerpts showing query matches
  • Relevance score

Development

This project uses:

  • MCP SDK for server implementation
  • Tantivy for full-text search capabilities

Requirements

  • Python >= 3.10
  • MCP SDK >= 1.1.1
  • Tantivy search engine

License

MIT License

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →