Opensearch MCP server
Search OpenSearch indices, manage documents, check health and stats.
0 stars
Reviews
Write oneNobody has reviewed Opensearch yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Opensearch tools (16, 3 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
check_healthCheck the health of the OpenSearch cluster.
create_indexwrite actionCreate a new index with optional settings.
delete_documentwrite actionDelete a document by ID from an index.
delete_indexwrite actionDelete an index.
get_cluster_statsGet cluster-wide statistics.
get_documentRetrieve a document by ID from an index.
get_indexGet information about a specific index.
get_mappingsGet mapping definitions for an index.
get_statsGet statistics for all indices.
get_tasksList all tasks in the cluster.
index_documentAdd a document to an index.
list_indicesList all indices in the OpenSearch cluster.
list_nodesList all nodes in the cluster.
list_shardsList all shards in the cluster.
search_indexSearch for documents in an index.
search_rawSearch with raw OpenSearch query DSL (advanced usage).
Public scan report
scanner v0.1.10 · 2026-11-01 · same rubric, same numbers if you re-run it
- Code scan7 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 85 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How Opensearch compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 3,472 Web search servers
- Tools
- 16
- the typical Web search server has 5
- Tools that change things
- 19%
- typical: 0%. Fewer write tools means less an agent can break
What its tools let an agent do: 13 read · 1 create · 2 delete
Release history: 2 versions in the registry since 2026-08-08, latest 2026-09-21, typically one every 44 days.
Install Opensearch in Claude Code, Cursor or VS Code
Runs npx -y @mrfentmen/opensearch-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add opensearch-mcp -- npx -y @mrfentmen/opensearch-mcp
What the publisher says
From the Opensearch repository's README, as published. We do not edit it. Read it on GitHub
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.
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
Install
npx opensearch-mcpEnvironment Variables
- OPENSEARCH_URL - OpenSearch server URL (default: http://localhost:9200)
- OPENSEARCHAPIKEY - API key for authentication (preferred)
- OPENSEARCHUSERNAME / OPENSEARCHPASSWORD - 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
Nothing above is checked by us. What we check is on the safety report.
Opensearch: common questions
- Is Opensearch MCP server safe?
- Mostly: it is graded B (75/100). Read the Opensearch safety report
- How do I install Opensearch?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Opensearch need an API key?
- Yes. The registry entry asks for
OPENSEARCH_API_KEY,OPENSEARCH_PASSWORD. - Is Opensearch maintained?
- The last commit was 86 days ago (2026-08-08). The latest release is v1.0.2.
- What can I use instead of Opensearch?
- Servers from other publishers that do the same job: obsei MCP server, Free Search MCP server and Legal Data Hunter MCP server.
- How does Opensearch compare with other Web search MCP servers?
- safety score 75/100 (higher than 45% of 3,472 Web search servers); tools 16 (the typical Web search server has 5); tools that change things 19% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Opensearch
Same job from other publishers: the closest match first, then the best rated.
- obseiSelf-hosted customer feedback with PII stripped at ingest: search, stats and themes with citations.not reviewedEstablishedA
Free SearchNo-API-key web search, page fetching and document reading across many engines. Local-first.not reviewedEstablishedB
Legal Data HunterSearch 18M+ legal documents worldwide — case law, legislation, and doctrine across 110+ countries.not reviewedEstablishedA- DocumentationLocal-first document management and semantic search for AI coding agentsnot reviewedEstablishedA
- Outline MCP ServerConnect AI assistants to Outline for document search, reading, and managementnot reviewedEstablishedB