Server data from the Official MCP Registry
Search OpenSearch indices, manage documents, check health and stats.
About
Search OpenSearch indices, manage documents, check health and stats.
Security Report
A well-structured OpenSearch MCP server with proper authentication support and appropriate input validation. The code follows secure patterns for credential handling using environment variables, properly encodes all user input in API paths, and uses Zod for schema validation. Credentials are never hardcoded, and sensitive data is handled correctly. Minor code quality improvements could be made around broader error handling, but permissions align well with the server's stated purpose of managing OpenSearch clusters. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity). Package verification found 1 issue.
5 files analyzed · 6 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: OPENSEARCH_URL
Environment variable: OPENSEARCH_API_KEY
Environment variable: OPENSEARCH_USERNAME
Environment variable: OPENSEARCH_PASSWORD
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-mrfentmen-opensearch-mcp": {
"env": {
"OPENSEARCH_URL": "your-opensearch-url-here",
"OPENSEARCH_API_KEY": "your-opensearch-api-key-here",
"OPENSEARCH_PASSWORD": "your-opensearch-password-here",
"OPENSEARCH_USERNAME": "your-opensearch-username-here"
},
"args": [
"-y",
"@mrfentmen/opensearch-mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
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 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-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
{
"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
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
FinAgent
Freeby mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
