Alibaba Cloud OpenSearch

v1.0.0Search & Data Extractionstable

This MCP server equips AI Agents with tools to interact with OpenSearch through a standardized and extensible interface. See our product document for more information.

aialiyunmcp-serveropensearch
Share:
11
Stars
0
Downloads
0
Weekly
0/5

What is Alibaba Cloud OpenSearch?

Alibaba Cloud OpenSearch is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to this mcp server equips ai agents with tools to interact with opensearch through a standardized and extensible interface. see our product document for more information.

This MCP server equips AI Agents with tools to interact with OpenSearch through a standardized and extensible interface. See our product document for more information.

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • This MCP server equips AI Agents with tools to interact with

Use Cases

Search and index documents
Integration with Alibaba Cloud
aliyun

Maintainer

LicenseApache-2.0
Languagepython
Versionv1.0.0
UpdatedApr 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx alibabacloud-opensearch

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Alibaba Cloud OpenSearch

Alibaba Cloud OpenSearch MCP Server provides AI agents with a standardized interface to the Alibaba Cloud AI Search platform, enabling document analysis, image parsing, text embedding and sparse embedding, semantic reranking, web search, and natural language query analysis for building advanced RAG and conversational search pipelines.

Prerequisites

  • Python 3.10 or later installed
  • uv package manager installed
  • Alibaba Cloud account with AI Search (OpenSearch) service enabled
  • AISEARCH_API_KEY obtained from the Alibaba Cloud console
  • AISEARCH_ENDPOINT URL for your OpenSearch instance
1

Clone the repository

The server is not on PyPI, so clone the GitHub repository to your local machine and navigate into the aisearch-mcp-server subdirectory.

git clone https://github.com/aliyun/alibabacloud-opensearch-mcp-server.git
cd alibabacloud-opensearch-mcp-server/aisearch-mcp-server
2

Obtain your API key and endpoint from Alibaba Cloud

Log in to the Alibaba Cloud console, navigate to AI Search (OpenSearch), create or select an instance, and copy the API key and endpoint URL from the instance details page.

3

Configure the MCP client

Add the aisearch-mcp-server to your claude_desktop_config.json using the uv command, pointing to the cloned directory and supplying the API key and endpoint as environment variables.

{
  "mcpServers": {
    "aisearch-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/alibabacloud-opensearch-mcp-server/aisearch-mcp-server",
        "run",
        "aisearch-mcp-server"
      ],
      "env": {
        "AISEARCH_API_KEY": "your_api_key_here",
        "AISEARCH_ENDPOINT": "https://your-instance.aliyuncs.com"
      }
    }
  }
}
4

Restart Claude Desktop and confirm tools are available

Restart Claude Desktop after saving the config. Claude should now have access to document_analyze, text_embedding, rerank, web_search, and other OpenSearch tools.

Alibaba Cloud OpenSearch Examples

Client configuration

claude_desktop_config.json entry for the Alibaba Cloud AISearch MCP server using uv to run from the cloned repo directory.

{
  "mcpServers": {
    "aisearch-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/Users/yourname/alibabacloud-opensearch-mcp-server/aisearch-mcp-server",
        "run",
        "aisearch-mcp-server"
      ],
      "env": {
        "AISEARCH_API_KEY": "sk-xxxxxxxxxxxxxxxx",
        "AISEARCH_ENDPOINT": "https://your-instance.aliyuncs.com"
      }
    }
  }
}

Prompts to try

Example prompts to use with the Alibaba Cloud OpenSearch MCP server once connected to Claude Desktop.

- "Extract the text and structure from this PDF document at URL https://example.com/report.pdf"
- "Generate a text embedding vector for the sentence 'AI-powered search solutions'"
- "Rerank these 5 candidate passages by relevance to the query 'cloud database performance'"
- "Search the web for the latest news about Alibaba Cloud AI services"
- "Analyze my query 'find contracts signed in 2023' and convert it to a SQL filter expression"
- "Split this HTML article into semantic paragraphs for indexing"

Troubleshooting Alibaba Cloud OpenSearch

Server fails to start with 'command not found: uv'

Install uv with: curl -LsSf https://astral.sh/uv/install.sh | sh, then restart your terminal. Ensure the uv binary is on your PATH.

API returns 401 Unauthorized

Double-check that AISEARCH_API_KEY is set correctly in the env block and that the key has permissions for the AI Search service. Generate a new key from the Alibaba Cloud console if needed.

Tools are not visible in Claude Desktop after restarting

Verify the --directory path in the args array points to the aisearch-mcp-server subdirectory (not the repo root). Check Claude Desktop logs under Help > Show Logs for startup errors.

Frequently Asked Questions about Alibaba Cloud OpenSearch

What is Alibaba Cloud OpenSearch?

Alibaba Cloud OpenSearch is a Model Context Protocol (MCP) server that this mcp server equips ai agents with tools to interact with opensearch through a standardized and extensible interface. see our product document for more information. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Alibaba Cloud OpenSearch?

Follow the installation instructions on the Alibaba Cloud OpenSearch GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Alibaba Cloud OpenSearch?

Alibaba Cloud OpenSearch works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Alibaba Cloud OpenSearch free to use?

Yes, Alibaba Cloud OpenSearch is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "alibabacloud-opensearch": { "command": "npx", "args": ["-y", "alibabacloud-opensearch"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Alibaba Cloud OpenSearch?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides