opensearch-mcp
Provides tools for interacting with OpenSearch, enabling search across indices, document management, index creation/deletion, and cluster health monitoring.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@opensearch-mcpSearch my products index for 'wireless headphones'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenSearch MCP
An MCP server for OpenSearch, the community-driven, Apache 2.0 search and analytics suite.
What it does
Search through OpenSearch indices, manage documents, create/delete indexes, check cluster health, and monitor statistics. Perfect for AI agents that need to query search indexes.
Related MCP server: OpenSearch MCP Server
Tools
check_health- Check cluster health statuslist_indices- List all indicesget_index- Get index detailscreate_index- Create a new indexdelete_index- Delete an indexsearch_index- Search documents in an indexsearch_raw- Search with raw OpenSearch query DSLget_documents- List documents in an indexget_document- Get a single document by IDindex_document- Add a document to an indexdelete_document- Delete a document by IDget_stats- Get instance-wide statisticsget_cluster_stats- Get cluster statisticsget_tasks- List async tasksget_mappings- Get index mappingslist_shards- List all shardslist_nodes- List all cluster nodes
Install
npx opensearch-mcpEnvironment Variables
OPENSEARCH_URL- OpenSearch server URL (default:http://localhost:9200)OPENSEARCH_API_KEY- API key for authentication (preferred)OPENSEARCH_USERNAME/OPENSEARCH_PASSWORD- Basic auth credentials
Claude Desktop setup
{
"mcpServers": {
"opensearch": {
"command": "npx",
"args": ["-y", "opensearch-mcp"],
"env": {
"OPENSEARCH_URL": "http://localhost:9200",
"OPENSEARCH_API_KEY": "your-api-key"
}
}
}
}Example usage
"Search my products index for 'wireless headphones'" "Check if my OpenSearch cluster is healthy" "Create a new index called 'blog-posts'" "How many documents are in my logs index?"
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server that enables interaction with Elasticsearch and OpenSearch clusters for searching documents and managing indices. It provides tools for cluster health monitoring, index configuration, and general API requests.16Apache 2.0
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to interact with OpenSearch clusters to monitor cluster health, manage indices, and perform data searches. It provides a standardized interface for real-time OpenSearch operations within MCP-compatible environments like Open WebUI.-
- AlicenseAqualityAmaintenanceMCP server for OpenSearch that enables AI assistants to interact with OpenSearch clusters through a standardized interface for search, index management, and cluster operations.977,891 PyPI151Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server for managing OpenSearch Dashboards, enabling AI assistants to create, manage, and inspect dashboards, visualizations, saved objects, and plugin features.1Apache 2.0