mcp-otzaria-server

by Sivan22
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

犹太图书馆 MCP 服务器

MCP(模型上下文协议)服务器,提供强大的犹太文本和文献搜索功能。该服务器支持大型语言模型通过标准化界面搜索和引用犹太文本。

特征

  • 犹太文本和文献的全文搜索
  • 高级查询语法支持:
    • 特定字段搜索(文本:术语、参考:术语、主题:术语)
    • 布尔运算符(AND、OR)
    • 必需/排除的术语(+term、-term)
    • 短语搜索(“精确短语”)
    • 通配符(?,*
  • 基于相关性的评分
  • 丰富的搜索结果,包括参考文献、主题和突出显示的摘录

安装

需要 Python 3.10 或更高版本。

克隆存储库

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

获取索引

这里下载并提取索引

安装依赖项

pip install .

运行服务器

可以直接运行服务器:

uv --directory path/to/directory run jewish_library

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

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

可用工具

服务器通过MCP接口提供单一工具:

全文搜索

使用高级查询功能在犹太图书馆中执行全文搜索。

查询格式示例:

# 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

搜索结果包括:

  • 参考信息
  • 相关主题
  • 显示查询匹配的突出显示摘录
  • 相关性得分

发展

该项目使用:

要求

  • Python >= 3.10
  • MCP SDK >= 1.1.1
  • Tantivy搜索引擎

执照

MIT 许可证

-
security - not tested
A
license - permissive license
-
quality - not tested

一个提供强大犹太文本和文献搜索功能的 MCP 服务器。该服务器支持大型语言模型通过标准化界面搜索和引用犹太文本。

  1. Features
    1. Installation
      1. Clone the repository
      2. Get the index
      3. Install dependencies
    2. Running the Server
      1. Available tools
        1. full_text_search
      2. Development
        1. Requirements
          1. License
            ID: y5y2a19u1s