Skip to main content
Glama
ibrooksSDX

MCP Server for OpenSearch

by ibrooksSDX

mcp-server-opensearch: OpenSearch MCP サーバー

鍛冶屋のバッジ

モデルコンテキストプロトコル(MCP)は、LLMアプリケーションと外部データソースおよびツールとのシームレスな統合を可能にするオープンプロトコルです。AI搭載IDEの構築、チャットインターフェースの拡張、カスタムAIワークフローの作成など、MCPはLLMと必要なコンテキストを接続する標準化された方法を提供します。

このリポジトリは、分散検索および分析エンジンであるOpenSearch用の MCP サーバーを作成する方法の例です。

建設中

画像1画像2

Open Search 非同期クライアントのドキュメント

pip install opensearch-py[async]
zsh: no matches found: opensearch-py[async]

Related MCP server: @git-fabric/aiana

概要

OpenSearchエンジン内でメモリを保存および取得するための基本的なモデルコンテキストプロトコルサーバー。OpenSearchデータベース上のセマンティックメモリレイヤーとして機能します。

コンポーネント

ツール

  1. search-openSearch

    • OpenSearchデータベースにメモリを保存する

    • 入力:

      • query (json): 準備された json クエリ メッセージ

    • 戻り値: 確認メッセージ

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の mcp-server-opensearch を自動的にインストールするには:

npx -y @smithery/cli install @ibrooksSDX/mcp-server-opensearch --client claude

uvの使用(推奨)

uvを使用する場合*、 mcp-server-opensearch を*直接実行するために特別なインストールは必要ありません。

uv run mcp-server-opensearch \
  --opensearch-url "http://localhost:9200" \
  --index-name "my_index" \

または

uv run fastmcp run demo.py:main

テスト - ローカルオープンサーチクライアント

画像4

uv run python src/mcp-server-opensearch/test_opensearch.py

画像1画像2

cd src/mcp-server-opensearch
uv run fastmcp dev demo.py

Claude Desktopでの使用

このサーバーを Claude Desktop アプリで使用するには、 claude_desktop_config.jsonの「mcpServers」セクションに次の構成を追加します。

{
  "opensearch": {
    "command": "uvx",
    "args": [
      "mcp-server-opensearch",
      "--opensearch-url",
      "http://localhost:9200",
      "--opensearch-api-key",
      "your_api_key",
      "--index-name",
      "your_index_name"
    ]
  }, "Demo": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "fastmcp",
        "--with",
        "opensearch-py",
        "fastmcp",
        "run",
        "/Users/ibrooks/Documents/GitHub/mcp-server-opensearch/src/mcp-server-opensearch/demo.py"
      ]
    }
}

またはFastMCP UIを使用してサーバーをClaudeにインストールします

uv run fastmcp install demo.py

環境変数

サーバーの構成は環境変数を使用して行うこともできます。

  • OPENSEARCH_HOST : OpenSearch サーバーの URL (例http://localhost

  • OPENSEARCH_HOSTPORT : OpenSearch サーバーのホストのポート9200

  • INDEX_NAME : 使用するインデックスの名前

A
license - permissive license
Not graded
quality - not tested
D
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
    Not graded
    quality
    D
    maintenance
    Provides semantic memory capabilities using Qdrant vector database with configurable embedding providers, allowing storage and retrieval of information using vector similarity.
    2
    Apache 2.0
  • F
    license
    A
    quality
    Not graded
    maintenance
    A composable semantic memory layer that provides cross-project recall and session context using Qdrant and OpenAI embeddings. It enables users to securely store, search, and manage persistent memories with built-in secret scrubbing for privacy.
    11

View all related MCP servers

Related MCP Connectors

  • Persistent memory for AI agents. Search, store, and recall across sessions.

  • Universal memory for AI agents and tools. Save, organize and search context anywhere.

  • Mem0-compatible persistent memory for AI agents: write facts once, recall them semantically.

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/ibrooksSDX/mcp-server-opensearch'

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