一个提供强大搜索能力的MCP(模型上下文协议)服务器,用于犹太教文本和文献。此服务器使大型语言模型能够通过标准化接口搜索和引用犹太教文本。
需要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接口提供单一工具:
在犹太教图书馆中执行全文搜索,并具有高级查询功能。
示例查询格式:
# 基本搜索
"maimonides on prayer"
# 按字段搜索
text:"love your neighbor" AND topics:mitzvot
# 必须项
+shabbat +candles
# 带主题过滤的短语搜索
"four species" AND topics:sukkot
# 通配符搜索
pray* AND reference:psalms
搜索结果包括:
该项目使用:
MIT许可证