Solr MCP

MIT License
1
  • Linux
  • Apple

Integrations

  • Provides access to Apache Solr indexes, allowing hybrid search capabilities that combine keyword search precision with vector search semantic understanding across document collections.

  • Uses Ollama with nomic-embed-text to generate vector embeddings for documents, enabling semantic search capabilities in Solr collections.

Solr MCP

モデルコンテキストプロトコル(MCP)を介してApache SolrインデックスにアクセスするためのPythonパッケージ。この統合により、ClaudeのようなAIアシスタントは、キーワード検索とベクター検索の両方の機能を組み合わせた強力な検索クエリをSolrインデックスに対して実行できるようになります。

特徴

  • MCP サーバー: AI アシスタントとの統合のためのモデル コンテキスト プロトコルを実装します
  • ハイブリッド検索: キーワード検索の精度とベクトル検索の意味理解を組み合わせる
  • ベクトル埋め込み: Ollamaとnomic-embed-textを使用してドキュメントの埋め込みを生成します。
  • 統合コレクション: ドキュメントコンテンツとベクター埋め込みの両方を同じコレクションに保存します
  • Docker統合: Dockerとdocker-composeを使用した簡単なセットアップ

クイックスタート

  1. このリポジトリをクローンする
  2. Docker で SolrCloud を起動します。
    docker-compose up -d
  3. 依存関係をインストールします:
    python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install poetry poetry install
  4. サンプル ドキュメントを処理してインデックスを作成します。
    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
  5. MCP サーバーを実行します。
    poetry run python -m solr_mcp.server

より詳細なセットアップと使用手順については、 QUICKSTART.mdガイドを参照してください。

要件

  • Python 3.10以上
  • Docker と Docker Compose
  • SolrCloud 9.x
  • Ollama(埋め込み生成用)

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。

貢献

貢献を歓迎します!ガイドラインについてはCONTRIBUTING.mdをご覧ください。

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

AI アシスタントがモデル コンテキスト プロトコルを通じて Apache Solr インデックスに対してハイブリッド検索クエリを実行し、キーワードの精度とベクトルベースのセマンティック理解を組み合わせられるようにする Python サーバーです。

  1. Features
    1. Quick Start
      1. Requirements
        1. License
          1. Contributing

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              This server enables AI systems to integrate with Tavily's search and data extraction tools, providing real-time web information access and domain-specific searches.
              Last updated -
              2
              4,797
              329
              JavaScript
              MIT License
              • Apple
              • Linux
            • A
              security
              F
              license
              A
              quality
              This server allows users to perform web searches using Perplexity AI, providing a tool for retrieving search results through a simple API interface.
              Last updated -
              1
              2
              TypeScript
            • A
              security
              A
              license
              A
              quality
              Enables AI assistants to interact with Meilisearch via the Model Context Protocol, allowing comprehensive index, document, and search management through a standardized interface.
              Last updated -
              68
              4
              TypeScript
              MIT License
              • Apple
              • Linux
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants to perform web searches using SearXNG, a privacy-respecting metasearch engine.
              Last updated -
              5
              JavaScript
              MIT License
              • Linux
              • Apple

            View all related MCP servers

            ID: gvkc9n0gmr