opensearch-mcp MCP Server
Search OpenSearch indices, manage documents, check health and stats.
opensearch-mcp scores 46 (Fair), with no SPDX license recorded and written in TypeScript. It installs as a local process. It declares 17 tools. Filed under Databases. GitHub shows 0 stars. Package registries report about 76 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
46 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade B
72/100 for listing completeness. Lost points: short README, 11 of 17 tools barely described, short summary.
How quality is graded
Where the 46 comes from
22 + 10 + 0 + 0 + 4 + 10 = 46. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mrfentmen-opensearch-mcp": { "command": "npx", "args": [ "-y", "@mrfentmen/opensearch-mcp@1.0.2" ], "env": { "OPENSEARCH_URL": "", "OPENSEARCH_API_KEY": "YOUR_OPENSEARCH_API_KEY", "OPENSEARCH_USERNAME": "", "OPENSEARCH_PASSWORD": "YOUR_OPENSEARCH_PASSWORD" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
OPENSEARCH_URL | Optional | OpenSearch server URL (default: http://localhost:9200) |
OPENSEARCH_API_KEYSecret | Optional | OpenSearch API key for authentication |
OPENSEARCH_USERNAME | Optional | OpenSearch username for basic auth |
OPENSEARCH_PASSWORDSecret | Optional | OpenSearch password for basic auth |
Tools17Tool docs quality grade D
All capabilitiescheck_healthtoolCheck cluster health status
create_indextoolCreate a new index
delete_documenttoolDelete a document by ID
delete_indextoolDelete an index
Get cluster statistics
get_documenttoolGet a single document by ID
get_documentstoolList documents in an index
get_indextoolGet index details
get_mappingstoolGet index mappings
get_statstoolGet instance-wide statistics
get_taskstoolList async tasks
index_documenttoolAdd a document to an index
About
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
Frequently asked questions
What is opensearch-mcp MCP Server?
Search OpenSearch indices, manage documents, check health and stats.
How do I install opensearch-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. opensearch-mcp MCP Server runs locally from the npm package @mrfentmen/opensearch-mcp with the command npx -y @mrfentmen/opensearch-mcp@1.0.2.
Does opensearch-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for opensearch-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does opensearch-mcp MCP Server provide?
opensearch-mcp MCP Server provides 17 tools, including check_health, create_index, delete_document, and delete_index. See the full tool list for descriptions and parameters.
How is opensearch-mcp MCP Server's trust score calculated?
opensearch-mcp MCP Server scores 46 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.