Skip to main content
Glama
mrfentmen

opensearch-mcp

by mrfentmen

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.

Related MCP server: OpenSearch MCP Server

Tools

  • check_health - Check cluster health status

  • list_indices - List all indices

  • get_index - Get index details

  • create_index - Create a new index

  • delete_index - Delete an index

  • search_index - Search documents in an index

  • search_raw - Search with raw OpenSearch query DSL

  • get_documents - List documents in an index

  • get_document - Get a single document by ID

  • index_document - Add a document to an index

  • delete_document - Delete a document by ID

  • get_stats - Get instance-wide statistics

  • get_cluster_stats - Get cluster statistics

  • get_tasks - List async tasks

  • get_mappings - Get index mappings

  • list_shards - List all shards

  • list_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

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    An MCP server that enables interaction with Elasticsearch and OpenSearch clusters for searching documents and managing indices. It provides tools for cluster health monitoring, index configuration, and general API requests.
    Last updated
    16
    Apache 2.0
  • F
    license
    -
    quality
    D
    maintenance
    Enables LLMs to interact with OpenSearch clusters to monitor cluster health, manage indices, and perform data searches. It provides a standardized interface for real-time OpenSearch operations within MCP-compatible environments like Open WebUI.
    Last updated
  • A
    license
    B
    quality
    A
    maintenance
    MCP server for OpenSearch that enables AI assistants to interact with OpenSearch clusters through a standardized interface for search, index management, and cluster operations.
    Last updated
    9
    144
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • MCP server exposing the Backtest360 engine API as tools for AI agents.

  • MCP server connecting AI agents to non-custodial staking data across 130+ networks.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrfentmen/opensearch-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server