Opensearch MCP Server
Search documents, analyze indices, and manage Opensearch clusters from your AI agent.
Data last scanned last week · Reviewed 2 months ago
Overview
This server provides tools to interface with an Opensearch instance, allowing AI assistants to perform operations such as listing indices, retrieving index mappings, and checking cluster health. It supports searching through documents using the Opensearch Query DSL, enabling natural language interactions with cluster data. To integrate this with Claude Desktop, users must configure the server via a local directory using the uv package manager. The setup requires providing environment variables for the host, username, and password to authenticate with the target Opensearch cluster.
Our verdict
With a security score of 23/100, this project carries a high risk level. The code has not been updated in over 444 days and lacks an editorial review, which raises concerns regarding its reliability and potential vulnerabilities. Given the lack of active maintenance and the absence of a security audit, this server should only be used by developers in isolated, non-critical testing environments rather than production setups.
- Zero direct dependencies reduce potential supply-chain vulnerabilities.
- Provides a functional suite for cluster, document, and index management.
- Licensed under the permissive Apache-2.0 open source license.
- No code updates for over 444 days indicates lack of maintenance.
- Community-maintained project with no official support from Opensearch vendors.
- Security-critical authentication methods have not been editorially reviewed.
Tools
| Tool | Description | Risk |
|---|---|---|
| list_indices | List all indices in the Opensearch cluster. | low |
| get_mapping | Retrieve the mapping configuration for a specific index. | low |
| get_settings | Get the settings configuration for a specific index. | low |
| search_documents | Search documents in an index using Opensearch Query DSL. | low |
| get_cluster_health | Get health status of the cluster. | low |
| get_cluster_stats | Get statistical information about the cluster. | low |
Compatibility
| Client | Local | Docker | Remote | Read-only |
|---|---|---|---|---|
| Claude Desktop | ||||
| Cursor | ||||
| VS Code | ||||
| Windsurf | ||||
| ChatGPT |
Frequently asked questions
›What authentication credentials does the server use by default?
The server uses the default credentials of username 'opensearch' and password 'test123' for the Opensearch cluster.
›How do I configure the connection to my Opensearch instance?
You must configure the OPENSEARCH_HOST, OPENSEARCH_USERNAME, OPENSEARCH_PASSWORD, and DASHBOARDS_HOST environment variables within your Claude Desktop configuration file.
›What tools are available for managing Opensearch indices?
The server provides tools to list all indices via list_indices, retrieve index mapping via get_mapping, and fetch index settings via get_settings.
›Can I perform document searches using this server?
Yes, you can search for documents within an index using the search_documents tool, which accepts Opensearch Query DSL.
›Does the server provide tools for cluster monitoring?
Yes, you can monitor the cluster using the get_cluster_health tool for status and the get_cluster_stats tool for statistical information.
Alternatives
Badge
Maintain this server? Add the live badge to your README.