MCP server for OpenSearch. Search indices, manage documents, check health and stats.
- ✓Recently active
- ✓Clear description
- ✓Documented (README)
- !No standard license detected
claude mcp add opensearch-mcp -- npx -y opensearch-mcp{
"mcpServers": {
"opensearch-mcp": {
"command": "npx",
"args": ["-y", "opensearch-mcp"]
}
}
}MCP Servers overview
# OpenSearch MCP
An MCP server for [OpenSearch](https://opensearch.org/), 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.
## Tools
- `check_health` - Check cluster health status
- `list_indices` - List all indices
- `get_index` - Get index details
- `create_index` - Create a new index
- `delete_index` - Delete an index
- `search_index` - Search documents in an index
- `search_raw` - Search with raw OpenSearch query DSL
- `get_documents` - List documents in an index
- `get_document` - Get a single document by ID
- `index_document` - Add a document to an index
- `delete_document` - Delete a document by ID
- `get_stats` - Get instance-wide statistics
- `get_cluster_stats` - Get cluster statistics
- `get_tasks` - List async tasks
- `get_mappings` - Get index mappings
- `list_shards` - List all shards
- `list_nodes` - List all cluster nodes
## Install
```bash
npx opensearch-mcp
```
## Environment 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
```json
{
"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
What people ask about opensearch-mcp
What is mrfentmen/opensearch-mcp?
+
mrfentmen/opensearch-mcp is mcp servers for the Claude AI ecosystem. MCP server for OpenSearch. Search indices, manage documents, check health and stats. It has 0 GitHub stars and its last recorded update is dated 2026-08-08.
How do I install opensearch-mcp?
+
You can install opensearch-mcp by cloning the repository (https://github.com/mrfentmen/opensearch-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is mrfentmen/opensearch-mcp safe to use?
+
Our security agent has analyzed mrfentmen/opensearch-mcp and assigned a Trust Score of 57/100 (tier: OK). See the full breakdown of passed checks and flags on this page.
Who maintains mrfentmen/opensearch-mcp?
+
mrfentmen/opensearch-mcp is maintained by mrfentmen. The last recorded GitHub activity is dated 2026-08-08, with 0 open issues.
Are there alternatives to opensearch-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy opensearch-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/mrfentmen-opensearch-mcp)<a href="https://claudewave.com/repo/mrfentmen-opensearch-mcp"><img src="https://claudewave.com/api/badge/mrfentmen-opensearch-mcp" alt="Featured on ClaudeWave: mrfentmen/opensearch-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ
The fastest path to AI-powered full stack observability, even for lean teams.