Solr Vector Search
A Python toolkit for integrating Solr search through the MCP protocol, supporting hybrid search and vector optimization
rating : 2.5 points
downloads : 12
What is the MCP Server?
The MCP Server is a tool for accessing Apache Solr indexes. It integrates with AI assistants (such as Claude) through the Model Context Protocol. It combines the advantages of keyword search and vector search and can efficiently handle complex queries.How to use the MCP Server?
You can start using the MCP Server in just a few simple steps. First, install the necessary dependencies. Then, start SolrCloud and create an index. Finally, run the MCP Server to perform queries.Applicable Scenarios
The MCP Server is well - suited for application scenarios that require high - performance search, such as knowledge base management, document retrieval, and semantic - based intelligent search.Main Features
MCP Protocol SupportImplement the Model Context Protocol to enable AI assistants to seamlessly access Solr indexes.
Hybrid SearchCombine keyword search and vector search to improve search accuracy and efficiency.
Vector Embedding GenerationUse Ollama and nomic - embed - text to generate vector representations of documents.
Unified Collection StorageStore both document content and vector embeddings in a single collection.
Docker IntegrationProvide an easy - to - use Docker container deployment solution.
Optimized Vector SearchOptimize vector similarity calculations through SQL filtering conditions to improve performance.
Advantages and Limitations
Advantages
Powerful hybrid search capabilities
Efficient vector embedding generation
Easy - to - use Docker integration
Optimized queries for large - scale datasets
Limitations
Requires a certain technical background to set up the environment
Has certain requirements for hardware resources
How to Use
Clone the Repository
Use Git to clone the project repository.
Start SolrCloud
Use Docker to start the SolrCloud service.
Install Dependencies
Create a virtual environment and install the required dependencies.
Process Documents
Process Markdown files into a structured JSON format.
Create a Collection
Initialize a unified collection to store data.
Index Data
Index the processed data into the Solr collection.
Run the MCP Server
Start the MCP Server to receive query requests.
Usage Examples
Bitcoin Whitepaper SearchDemonstrate how to find specific paragraphs in the Bitcoin whitepaper.
Knowledge Base QueryShow how to quickly find answers in the enterprise knowledge base.
Frequently Asked Questions
What dependencies does the MCP Server require?
How to optimize vector search performance?
Does it support custom models?
Related Resources
GitHub Repository
Source code and documentation address.
QUICKSTART.md
Quick start guide.
MCP Protocol Official Website
Learn more about the MCP protocol.
Featured MCP Services

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
100
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
153
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
840
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
575
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
761
4.8 points