エラスティックサーチ
Elasticsearch クラスター用のモデルコンテキストプロトコルサーバー。LLM によるインデックス管理とクエリ実行を可能にします。
重要な注意: これは主に、postgres mcp サーバーから claude に例を供給することによって構築されました。
コンポーネント
ツール
検索
インデックスに対して検索クエリを実行する
入力:
index(文字列): ターゲットインデックス名query(オブジェクト):ElasticsearchクエリDSL
検索ヒットを返す
インデックス作成
新しいElasticsearchインデックスを作成する
入力:
index(文字列): インデックス名mappings(オブジェクト、オプション): インデックスマッピングの設定settings(オブジェクト、オプション): インデックス設定の構成
リストインデックス
利用可能なすべてのインデックスを一覧表示する
入力不要
インデックス情報の配列を返します
インデックスドキュメント
ドキュメントのインデックス作成
入力:
index(文字列): ターゲットインデックス名id(文字列、オプション): ドキュメントIDdocument(オブジェクト): 文書の内容
インデックス操作の結果を返します
リソース
サーバーは各インデックスのマッピング情報を提供します。
インデックスマッピング(
elasticsearch://<host>/<index>/schema)JSONマッピング情報
フィールド名、タイプ、構成
メタデータから自動的に検出
Claude Desktopでの使用
claude_desktop_config.jsonの「mcpServers」セクションに以下を追加します。
コンテナを実行するためのDockerワンライナー:
URL を Elasticsearch エンドポイントに置き換えます。
ライセンス
MITライセンスに基づきます。使用、改変、配布は自由です。詳細はLICENSEファイルをご覧ください。
Related MCP Servers
- AsecurityAlicenseAqualityFacilitates interaction with Elasticsearch clusters by allowing users to perform index operations, document searches, and cluster management via a Model Context Protocol server and natural language commands.Last updated -16223Apache 2.0
- -security-license-qualityA Model Context Protocol server that enables LLMs to interact directly with MongoDB databases, allowing users to query collections, inspect schemas, and manage data through natural language.Last updated -145MIT License
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.Last updated -MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server implementation that enables natural language interactions with OpenSearch clusters, allowing users to search documents, analyze indices, and manage clusters through simple conversational commands.Last updated -610Apache 2.0