mcp-server-opensearch: An OpenSearch MCP Server
@MCP-Mirror
About mcp-server-opensearch: An OpenSearch MCP Server
Mirror of
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"ibrooksSDX_mcp-server-opensearch": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@ibrooksSDX/mcp-server-opensearch",
"--client",
"claude"
]
}
}
}Tools
2`query` (json): prepared json query message
Confirmation message
Overview
What is mcp-server-opensearch?
mcp-server-opensearch is a basic Model Context Protocol (MCP) server that acts as a semantic memory layer on top of the OpenSearch distributed search and analytics engine. It is designed for developers who need to integrate LLM applications with OpenSearch for storing and retrieving memories.
How to use mcp-server-opensearch?
Install automatically via Smithery (npx -y @smithery/cli install @ibrooksSDX/mcp-server-opensearch --client claude) or run directly with uv run mcp-server-opensearch --opensearch-url "http://localhost:9200" --index-name "my_index". Configuration can also be done via environment variables (OPENSEARCH_HOST, OPENSEARCH_HOSTPORT, INDEX_NAME). For local development, use fastmcp dev demo.py. Use with Claude Desktop by adding a configuration entry to claude_desktop_config.json.
Key features of mcp-server-opensearch
- Semantic memory layer on OpenSearch
- Single tool:
search-openSearch - Supports query via JSON input
- Configurable via CLI flags or environment variables
- Integrates with Claude Desktop via MCP
- Installation via Smithery or uv
Use cases of mcp-server-opensearch
- Storing and retrieving LLM conversation memories in OpenSearch
- Providing persistent context for AI assistants
- Building a memory layer for custom AI workflows
- Adding searchable memory to MCP‑compatible chat interfaces
FAQ from mcp-server-opensearch
What is the Model Context Protocol?
MCP is an open protocol that enables seamless integration between LLM applications and external data sources and tools, providing a standardized way to connect LLMs with the context they need.
What dependencies are required?
The server uses opensearch-py with async support, but installation currently has a blocker: pip install opensearch-py[async] fails due to shell expansion. The recommended runtime is uv.
How do I configure the server?
You can pass --opensearch-url, --opensearch-api-key, and --index-name as command‑line arguments, or set the environment variables OPENSEARCH_HOST, OPENSEARCH_HOSTPORT, and INDEX_NAME.
What is the current development status?
The project is under construction; the async client for OpenSearch is not yet installing correctly, and work is ongoing to resolve that blocker.
How do I test the server?
Run the local OpenSearch client test with uv run python src/mcp-server-opensearch/test_opensearch.py, then test the MCP server connection with cd src/mcp-server-opensearch && uv run fastmcp dev demo.py.
More Databases MCP servers
Postgres Mcp
crystaldbaPostgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
Elasticsearch/OpenSearch MCP Server
cr7258A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.
MCP Alchemy
runekaagaardA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
mcp_mysql_server
wenb1n-devModel Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
Dbhub
bytebaseZero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
Comments