OpenSearch

by ibrookssdx

4 stars
304 downloads
Not rated
GitHub

About

Integrates with OpenSearch to enable powerful full-text search, data aggregation, and real-time analytics capabilities for applications requiring advanced search and log analysis.

Details

Author
ibrookssdx
Repository
ibrooksSDX/mcp-server-opensearch
GitHub stars
4
Downloads
304
License
Apache License 2.0
Categories
AI, Design, Developer Tools, Search, Security, Infrastructure, Frontend, Database

- Provides a single tool search-openSearch to query OpenSearch.
- Acts as a semantic memory layer on top of OpenSearch.
- Supports configuration via CLI arguments or environment variables.
- Can be installed automatically via Smithery for Claude Desktop.
- Uses FastMCP for development and testing.
- Includes a demo script (demo.py) for quick setup.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name OpenSearch
    Command (node, npx, python, etc.) uvx
    Arguments
    • Argument 1 mcp-server-opensearch
    • Argument 2 --opensearch-url
    • Argument 3 http://localhost:9200
    • Argument 4 --opensearch-api-key
    • Argument 5 your_api_key
    • Argument 6 --index-name
    • Argument 7 your_index_name

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Open Search Async Client Docs

```shell
pip install opensearch-py[async]

search-openSearch

Store a memory in the OpenSearch database. Input: query (json): prepared json query message. Returns: Confirmation message.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "opensearch": {
            "cwd": "string",
            "env": {},
            "args": [
                "mcp-server-opensearch",
                "--opensearch-url",
                "http://localhost:9200",
                "--opensearch-api-key",
                "your_api_key",
                "--index-name",
                "your_index_name"
            ],
            "shell": false,
            "command": "uvx"
        }
    }
}

Linux

{
    "cwd": "string",
    "env": [],
    "args": [
        "mcp-server-opensearch",
        "--opensearch-url",
        "http://localhost:9200",
        "--opensearch-api-key",
        "your_api_key",
        "--index-name",
        "your_index_name"
    ],
    "shell": false,
    "command": "uvx"
}

Macos

{
    "cwd": "string",
    "env": [],
    "args": [
        "mcp-server-opensearch",
        "--opensearch-url",
        "http://localhost:9200",
        "--opensearch-api-key",
        "your_api_key",
        "--index-name",
        "your_index_name"
    ],
    "shell": false,
    "command": "uvx"
}

Windows

{
    "cwd": "string",
    "env": [],
    "args": [
        "mcp-server-opensearch",
        "--opensearch-url",
        "http://localhost:9200",
        "--opensearch-api-key",
        "your_api_key",
        "--index-name",
        "your_index_name"
    ],
    "shell": false,
    "command": "uvx"
}

mcp-server-opensearch: An OpenSearch MCP Server

smithery badge

> The Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you’re building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.

This repository is an example of how to create a MCP server for OpenSearch, a distributed search and analytics engine.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.