Skip to main content
Glama
da1y

Elasticsearch MCP Server

by da1y

エラスティックサーチ

Elasticsearch クラスター用のモデルコンテキストプロトコルサーバー。LLM によるインデックス管理とクエリ実行を可能にします。

重要な注意: これは主に、postgres mcp サーバーから claude に例を供給することによって構築されました。

コンポーネント

ツール

  • 検索

    • インデックスに対して検索クエリを実行する

    • 入力:

      • index (文字列): ターゲットインデックス名

      • query (オブジェクト):ElasticsearchクエリDSL

    • 検索ヒットを返す

  • インデックス作成

    • 新しいElasticsearchインデックスを作成する

    • 入力:

      • index (文字列): インデックス名

      • mappings (オブジェクト、オプション): インデックスマッピングの設定

      • settings (オブジェクト、オプション): インデックス設定の構成

  • リストインデックス

    • 利用可能なすべてのインデックスを一覧表示する

    • 入力不要

    • インデックス情報の配列を返します

  • インデックスドキュメント

    • ドキュメントのインデックス作成

    • 入力:

      • index (文字列): ターゲットインデックス名

      • id (文字列、オプション): ドキュメントID

      • document (オブジェクト): 文書の内容

    • インデックス操作の結果を返します

リソース

サーバーは各インデックスのマッピング情報を提供します。

  • インデックスマッピング( elasticsearch://<host>/<index>/schema )

    • JSONマッピング情報

    • フィールド名、タイプ、構成

    • メタデータから自動的に検出

Related MCP server: OpenSearch MCP Server

Claude Desktopでの使用

claude_desktop_config.jsonの「mcpServers」セクションに以下を追加します。

{
  "mcpServers": {
    "elasticsearch": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-elasticsearch",
        "http://localhost:9200"
      ]
    }
  }
}

コンテナを実行するためのDockerワンライナー:

docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -e "xpack.security.enabled=false" docker.elastic.co/elasticsearch/elasticsearch:8.11.3

URL を Elasticsearch エンドポイントに置き換えます。

ライセンス

MITライセンスに基づきます。使用、改変、配布は自由です。詳細はLICENSEファイルをご覧ください。

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

0Releases (12mo)

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Facilitates 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.
    20
    303
    Apache 2.0
  • A
    license
    B
    quality
    D
    maintenance
    A 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.
    14
    11
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    A comprehensive Model Context Protocol server that integrates Elasticsearch search with file operations, document validation, and version control to transform AI assistants into powerful knowledge management systems.
    27
    27
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI assistants to directly interact with Elasticsearch for searching, aggregating, and retrieving documents from indices, supporting full-text search, semantic search, and various query modes.
    38
    MIT

View all related MCP servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/da1y/mcp-server-elasticsearch'

If you have feedback or need assistance with the MCP directory API, please join our Discord server