mcp-solr-search

mcp-solr-search

3.3

If you are the rightful owner of mcp-solr-search and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This project implements a Model Context Protocol (MCP) server that provides document search capabilities through Apache Solr, allowing Large Language Models to search and retrieve documents from Solr collections using the MCP standard.

The MCP-Server for Apache Solr Document Search is a robust solution designed to integrate the powerful search capabilities of Apache Solr with the Model Context Protocol (MCP) standard. This server enables Large Language Models (LLMs) to perform efficient document searches and retrievals from Solr collections. By leveraging the MCP standard, the server facilitates seamless communication between applications and LLMs, allowing for complex queries, document retrieval by ID, and advanced search functionalities such as filtering, sorting, and pagination. The server is built with modern technologies, including asynchronous communication with Solr using httpx, and type-safe interfaces with Pydantic models. It also supports authentication via JWT and provides a comprehensive test suite to ensure reliability. The development environment is Docker-based, making it easy to set up and manage. This project is particularly useful for developers looking to enhance their applications with advanced search capabilities powered by Solr and LLMs.

Features

  • MCP Resources for searching Solr documents
  • Asynchronous communication with Solr using httpx
  • Type-safe interfaces with Pydantic models
  • Authentication support (JWT)
  • Docker-based Solr development environment

Tools

  1. search

    Advanced search with filtering, sorting, and pagination

  2. get_document

    Retrieve specific documents by ID