Opensearch MCP Server

The official OpenSearch client for Node.js

Local serverstdio

What is the Opensearch MCP server?

Opensearch MCP server exists for a simple reason — assistants are far more useful when they can act on Opensearch directly instead of describing what you should do. The official OpenSearch client for Node.js.

What you get

The OpenSearch JavaScript client provides a safer and easier way to interact with your OpenSearch cluster. Rather than using OpenSearch from the browser and potentially exposing your data to the public, you can build an OpenSearch client that takes care of sending requests to your cluster.

Setting it up

The server ships on npm as @opensearch-project/opensearch, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What the assistant can call

Once Opensearch is connected, these are the calls the assistant has available:

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the opensearch mcp server does with a few real requests.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Opensearch's toolset — Setup — is a fair guide to whether it matches your workflow. It is maintained by GitHub Actions; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Opensearch's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
SetupIf you prefer to add the client manually or just want to examine the source code, see [opensearch-js](https://github.com/opensearch-project/opensearch-js) on GitHub.

How to install the Opensearch MCP server

{
  "mcpServers": {
    "opensearch-mcp-server-py": {
      "command": "npx",
      "args": ["-y", "@opensearch-project/opensearch"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Opensearch to Setup.

Frequently asked questions

It connects Opensearch to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Setup) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Opensearch directly.