Elasticsearch MCP Server
Elasticsearch
用于 Elasticsearch 集群的模型上下文协议 (LLM) 服务器。使 LLM 能够管理索引并执行查询。
重要提示:这主要是通过从 postgres mcp 服务器向 claude 提供示例来构建的。
成分
工具
搜索
针对索引执行搜索查询
输入:
index(字符串):目标索引名称query(对象):Elasticsearch 查询 DSL
返回搜索结果
创建索引
创建新的 Elasticsearch 索引
输入:
index(字符串):索引名称mappings(对象,可选):索引映射配置settings(对象,可选):索引设置配置
列表索引
列出所有可用索引
无需输入
返回索引信息数组
索引文档
索引文档
输入:
index(字符串):目标索引名称id(字符串,可选):文档 IDdocument(对象):文档内容
返回索引操作结果
资源
服务器提供每个索引的映射信息:
索引映射(
elasticsearch://<host>/<index>/schema)JSON 映射信息
字段名称、类型和配置
从元数据中自动发现
Related MCP server: OpenSearch MCP Server
与 Claude Desktop 一起使用
添加到claude_desktop_config.json的“mcpServers”部分:
{
"mcpServers": {
"elasticsearch": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-elasticsearch",
"http://localhost:9200"
]
}
}
}Docker 一个运行容器的内衬:
docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -e "xpack.security.enabled=false" docker.elastic.co/elasticsearch/elasticsearch:8.11.3将 URL 替换为您的 Elasticsearch 端点。
执照
采用 MIT 许可证。可免费使用、修改和分发。详情请参阅许可证文件。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
The BigQuery remote MCP server is a fully managed service that uses the Model Context Protocol to connect AI applications and LLMs to BigQuery data sources. It provides secure, standardized tools for AI agents to list datasets and tables, retrieve schemas, generate and execute SQL queries through natural language, and analyze data—enabling direct access to enterprise analytics data without requiring manual SQL coding.
Related MCP Servers
- AlicenseAqualityAmaintenanceFacilitates interaction with Elasticsearch clusters by allowing users to perform index operations, document searches, and cluster management via a Model Context Protocol server and natural language commands.20303Apache 2.0
- AlicenseBqualityDmaintenanceA Model Context Protocol server implementation that enables natural language interactions with OpenSearch clusters, allowing users to search documents, analyze indices, and manage clusters through simple conversational commands.1411Apache 2.0
- AlicenseAqualityDmaintenanceA comprehensive Model Context Protocol server that integrates Elasticsearch search with file operations, document validation, and version control to transform AI assistants into powerful knowledge management systems.2727MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to directly interact with Elasticsearch for searching, aggregating, and retrieving documents from indices, supporting full-text search, semantic search, and various query modes.38MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/da1y/mcp-server-elasticsearch'
If you have feedback or need assistance with the MCP directory API, please join our Discord server