opensearch-mcp-server-py

opensearch-mcp-server-py

3.5

If you are the rightful owner of opensearch-mcp-server-py and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The OpenSearch MCP Server is a Model Context Protocol server designed to facilitate interaction between AI assistants and OpenSearch clusters.

The OpenSearch MCP Server, known as opensearch-mcp-server-py, is a specialized server that implements the Model Context Protocol (MCP) to enable seamless communication between AI models and OpenSearch clusters. This server provides a standardized interface for AI assistants, such as those using large language models (LLMs), to perform various operations on OpenSearch clusters. These operations include searching indices, retrieving mappings, and managing shards. The server supports both standard input/output (stdio) and streaming protocols like Server-Sent Events (SSE) and Streamable HTTP, ensuring flexibility in communication methods. With built-in tools for common OpenSearch operations, the server simplifies the integration process for AI models, making it easier to leverage the powerful search and analytics capabilities of OpenSearch. Additionally, the server offers secure authentication options, including basic authentication and IAM roles, to ensure secure access to OpenSearch clusters.

Features

  • Seamless integration with AI assistants and LLMs through the MCP protocol.
  • Support for both stdio and streaming server transports (SSE and Streamable HTTP).
  • Built-in tools for common OpenSearch operations.
  • Easy integration with Claude Desktop and LangChain.
  • Secure authentication using basic auth or IAM roles.

Tools

  1. ListIndexTool

    Lists all indices in OpenSearch.

  2. IndexMappingTool

    Retrieves index mapping and setting information for an index in OpenSearch.

  3. SearchIndexTool

    Searches an index using a query written in query domain-specific language (DSL) in OpenSearch.

  4. GetShardsTool

    Gets information about shards in OpenSearch.

  5. ClusterHealthTool

    Returns basic information about the health of the cluster.

  6. CountTool

    Returns number of documents matching a query.

  7. ExplainTool

    Returns information about why a specific document matches (or doesn't match) a query.

  8. MsearchTool

    Allows to execute several search operations in one request.