MCP server enabling natural language search across millions of cultural, historical, and literary assets held by the National Library of Israel (NLI). Converts conversational queries in Hebrew or English into structured API calls against the NLI digital archive, returning results with thumbnails, IIIF manifests, and streaming content. The collection includes ancient manuscripts, government records, photographs, maps, music recordings, oral histories, and scholarly publications spanning Jewish heritage and Israeli culture.
Clone from GitHub to install
git clone https://github.com/mula2812/NLI_AI_Search
cd NLI_AI_Search
pip install -r requirements.txt.mcp.json
{
"mcpServers": {
"nli-search": {
"command": "python3",
"args": [
"nli_mcp.py"
],
"cwd": "/path/to/NLI_AI_Search"
}
}
}process_natural_queryProcess natural language queries and convert them to structured search parameters for the NLI API
generate_responseGenerate a user-facing response from search results with image extraction and formatting
stream_batchesProcess large result sets in streaming batches for comprehensive analysis
get_imageRetrieve an image by IIIF identifier
get_manifestRetrieve the IIIF manifest for a given record ID
get_streamRetrieve media streams (MP4, HLS, audio) for a library item
Primary search API for the National Library of Israel digital archives
International Image Interoperability Framework endpoints for images and manifests
Search for books by Bialik in the National LibraryFind historical photographs of JerusalemShow ancient manuscripts about KabbalahSearch for Leah Goldberg children poemsFind audio recordings of Israeli Mizrahi musicNLI_API_KEY (optional, default visitor key provided)Python 3.10+mcphttpxpydanticA default visitor API key is included. Installation scripts provided for Windows and Linux. Installation path must contain only English characters.