OpenSearch MCP
Databasestdiosse
The official OpenSearch Model Context Protocol server, enabling AI assistants to interact with OpenSearch clusters. Lets agents list indices, inspect mappings, run search and aggregation queries, and read basic cluster health so they can explore and analyze data stored in OpenSearch through natural language.
Connect
Add this configuration to .claude/mcp.json
Transport:
{
"mcpServers": {
"opensearch": {
"command": "npx",
"args": [],
"env": {
"OPENSEARCH_URL": "<YOUR_OPENSEARCH_URL>",
"OPENSEARCH_USERNAME": "<YOUR_OPENSEARCH_USERNAME>",
"OPENSEARCH_PASSWORD": "<YOUR_OPENSEARCH_PASSWORD>"
}
}
}
}Tools (2)
list_indices
List the indices available in the OpenSearch cluster.
{
"type": "object",
"properties": {}
}search
Run a search or aggregation query against an index.
{
"type": "object",
"required": [
"index",
"query"
],
"properties": {
"index": {
"type": "string",
"description": "Target index name"
},
"query": {
"type": "object",
"description": "OpenSearch query DSL body"
}
}
}Resources
This server does not expose any resources.
Prompts
This server does not expose any prompts.
Server information
- License
- Apache-2.0
- Stars
- 0
- Last updated
- July 25, 2026