Solr MCP
Solr MCP
一个用于通过模型上下文协议 (MCP) 访问 Apache Solr 索引的 Python 包。此集成允许像 Claude 这样的 AI 助手针对您的 Solr 索引执行强大的搜索查询,并结合关键字和向量搜索功能。
特征
MCP 服务器:实现模型上下文协议,以便与 AI 助手集成
混合搜索:将关键词搜索精度与向量搜索语义理解相结合
向量嵌入:使用 Ollama 和 nomic-embed-text 为文档生成嵌入
统一集合:将文档内容和向量嵌入存储在同一个集合中
Docker 集成:使用 Docker 和 docker-compose 轻松设置
Related MCP server: CodeAlive MCP
快速入门
克隆此存储库
使用 Docker 启动 SolrCloud:
docker-compose up -d安装依赖项:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install poetry poetry install处理并索引示例文档:
python scripts/process_markdown.py data/bitcoin-whitepaper.md --output data/processed/bitcoin_sections.json python scripts/create_unified_collection.py unified python scripts/unified_index.py data/processed/bitcoin_sections.json --collection unified运行 MCP 服务器:
poetry run python -m solr_mcp.server
有关更详细的设置和使用说明,请参阅QUICKSTART.md指南。
要求
Python 3.10 或更高版本
Docker 和 Docker Compose
SolrCloud 9.x
Ollama(用于嵌入生成)
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
贡献
欢迎贡献!请参阅CONTRIBUTING.md获取相关指南。
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Search your knowledge bases from any AI assistant using hybrid RAG.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables semantic search capabilities by providing tools to manage Qdrant vector database collections, process and embed documents using various embedding services, and perform semantic searches across vector embeddings.485 npm4MIT

CodeAlive MCPofficial
AlicenseNot gradedqualityAmaintenanceA Model Context Protocol server that enhances AI agents by providing deep semantic understanding of codebases, enabling more intelligent interactions through advanced code search and contextual awareness.90MIT- AlicenseNot gradedqualityBmaintenanceA local-first semantic search server for documents, supporting PDFs, Office files, and text/markdown, enabling natural language search via the Model Context Protocol (MCP).1MIT
- FlicenseAqualityCmaintenanceA Model Context Protocol server that enables AI agents to query a Graphiti knowledge graph and pgvector document store for evidence-backed responses via hybrid search and RAG.4-