National Library of Israel Search MCP

National Library of Israel Search MCP

Enables natural language search of the National Library of Israel's digital archive using Claude. Converts conversational queries into structured API calls for exploring cultural, historical, and literary assets.

Category
访问服务器

README

🌍 National Library of Israel Search MCP

Welcome to the National Library of Israel Model Context Protocol (NLI MCP) - a modern AI-powered bridge for exploring millions of cultural, historical, and literary assets held by the National Library of Israel (NLI).

This MCP server allows natural language search using Claude, making it easier than ever to search the NLI digital archive through conversational queries in Hebrew or English.

🤔 Why Use This?

The NLI API is powerful but complex. It requires structured metadata-based queries that are hard to construct without technical or library-specific knowledge. This MCP bridges that gap by converting simple questions like:

"medieval Hebrew manuscripts"

into rich API calls that return accurate and media-rich results with thumbnails, manifests, or streaming content when available.

📚 What You Can Discover

The National Library of Israel houses an extraordinary collection including:

  • Historical Documents: Ancient manuscripts, government records, and personal archives
  • Literary Works: Books, poetry, and writings in multiple languages
  • Visual Materials: Photographs, maps, illustrations, and artwork
  • Audio Collections: Music recordings, speeches, and oral histories
  • Cultural Artifacts: Items representing Jewish heritage and Israeli culture
  • Academic Resources: Research materials and scholarly publications

⚡ Getting Started

1. Install Claude Desktop

First, you need to install Claude Desktop if you haven't already:

  • Windows & Mac: Download from https://claude.ai/download
  • Linux: Use the AppImage or follow the installation instructions on the official website

Make sure you have Claude Desktop version ≥ 2.0 for MCP support.

2. Download or Clone

Option A: Download the packaged release

Download it from here.

  • Available for Windows (with .zip) and Linux (with .tar.gz).
  • Unzip the downloaded file.
  • Double-click to install:
    • install_mcp_server.bat (for Windows)
    • install_mcp_server.bash (for Linux)

➡ This will install and register the server with Claude Desktop.

Option B: Clone manually

git clone https://github.com/mula2812/NLI_AI_Search.git
cd nli_mcp

3. Make sure Python ≥ 3.10 is installed

Windows:

winget install Python.Python.3

Ubuntu/Debian:

sudo apt update
sudo apt install python3.10 python3.10-venv python3.10-distutils -y

To optionally set Python 3.10 as the default:

sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
sudo update-alternatives --config python3

4. Install Requirements

pip install -r requirements.txt

5. Run the Installer

Windows

.\install_mcp_server.bat

Linux

chmod +x install_mcp_server.bash
./install_mcp_server.bash

6. Launch Claude Desktop

  • Restart Claude Desktop.
  • After clicking the "Search and Tools" button that is near the + button in the search bar, you should now see a tool named: nli_mcp

If visible, you're ready to go!

🔍 What It Does

This server provides:

  • 🤖 Natural Language Query Processing:

    • Converts everyday language into structured API calls.
    • Handles advanced disambiguation, topic inference, and multiple query generation.
  • 📸 Image Extraction:

    • Automatically detects relevant thumbnails.
    • Falls back to IIIF manifests if no thumbnails are available.
  • 🎧 Streaming Support:

    • Supports playback of media via MP4, HLS, or audio endpoints.
  • 🌐 Multilingual Responses:

    • Answers can be returned in Hebrew or English based on the user's input.

⚙ Tools Available

Tool Name Purpose
process_natural_query Converts a natural language query into structured API parameters
generate_response Fetches results, extracts images, and builds a user-facing response
stream_batches Streams large result sets for long or segmented queries
get_image Retrieves IIIF image by identifier
get_manifest Retrieves IIIF manifest JSON for a given record
get_stream Retrieves MP4/HLS/audio streams associated with a library record

🎉 Now You Can Enjoy Using It 👨‍💻

Once installed:

  • Open Claude Desktop.
  • Ask any question involving books, authors, subjects, images, or topics.
  • For example:

    Books by Bialik published after 1920.

You'll get:

  • Search results
  • Metadata
  • Links to items
  • Images or thumbnails
  • In some cases, streaming content or IIIF resources

🛠️ Troubleshooting & FAQ

🔧 Plugin not appearing?

  • Ensure Claude Desktop is ≥ v2.0 and you restarted after install.
  • Ensure that the installation package or project is located only in a path that contains English characters.

💬 MCP isn't responding. What should I do?

  • Make sure you installed it correctly. You should see in search and tools the "nli_mcp" addition.

  • Ensure you enable all the "nli_mcp" inside options (from the search and tools options).

  • Check your internet connection and firewall settings.

  • Review the logs for any error messages.

🔑 "Invalid API key" error

As a default visitor key is installed to your computer using the bat or bash file, which allows basic access to the library data.

  1. Double-check the NLI_API_KEY environment variable, to ensure it installed correctly.
  2. Another option is to create your own free KEY: Obtaining a personal API key is not essential for the project's initial function, as mentioned. However, if you want to get full access to all the data and capabilities the National Library offers, it is highly recommended to register and get your own API key.
  • Visit the National Library of Israel's Open Library API documentation Open Library API (click).
  • Follow the instructions to register and get your API key. You may need to contact the National Library for access.

🤝 Contributing

I warmly welcome contributions to improve this project. To contribute, please follow these steps:

  1. Fork this repository to create your own copy.

  2. Make your changes in a new branch.

  3. Submit a pull request with a clear description of your changes.

I look forward to seeing your inventions and updates!

📬 Contact & Support

Issues & Bugs: GitHub Issues

Discussions & Q&A: GitHub Discussions

License

This project is licensed under the MIT License with Commons Clause.

  • Personal, educational, and non-commercial use is allowed.
  • Commercial use, including selling, licensing, or using the software in any revenue-generating product or service, requires prior written permission and a separate commercial license agreement from Ilan Mulakandov.
  • This restriction applies even if the software was originally used for personal, educational, or non-commercial purposes that later lead to commercial use.
  • Users must retain the copyright notice and license text in all copies or substantial portions of the software.

🚨 Disclaimer

This project is not officially affiliated with the National Library of Israel, but it uses their free public OpenLibrary APIs.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选