Skip to content
PluginStats

elasticsearch-mcp weekly downloads statistics

By RajwardhanShinde · npm · MCP servers

Secure MCP server for Elasticsearch integration with comprehensive tools and Elastic Cloud support

View on npm Outdated · Nov 18, 2026

elasticsearch-mcp has 1,747 recorded weekly downloads on npm, a decrease of 86.4% over the past 30 days, ranking #1928 of 3,247 tracked listings.

Weekly downloads
1,747
Official API · Dec 5, 2026
7-day growth
-63.8%
-3.1K weekly downloads
30-day growth
-86.4%
-11.1K weekly downloads
90-day growth
+3076%
+1.7K weekly downloads
Rank
#1928
▼ 422 in 7 days

About elasticsearch-mcp

Elasticsearch MCP

Model Context Protocol server for Elasticsearch integration with comprehensive security and performance features

npm version TypeScript Elasticsearch License: MIT

elasticsearch-mcp is a Model Context Protocol (MCP) server that provides standardized, secure tools for interacting with Elasticsearch clusters. Built with TypeScript and optimized for Elastic Cloud environments, it offers comprehensive data management capabilities with enterprise-grade security features.

🚀 Features

  • 🔐 Secure by Design: Input validation, script sanitization, injection prevention
  • ☁️ Elastic Cloud Ready: Native support for cloud ID and API key authentication
  • ⚡ High Performance: Streaming for large datasets, connection pooling, health monitoring
  • 🛠️ Comprehensive Tools: 7 essential tools covering all major Elasticsearch operations
  • 📊 Advanced Querying: Full Elasticsearch DSL support with aggregations and highlighting
  • 📁 Data Export: Stream large datasets to CSV with compression support
  • 🔍 Smart Validation: Zod-based schemas with security-first validation
  • 📝 Full TypeScript: Complete type safety with strict null checks

📦 Installation

npm install elasticsearch-mcp

🏃‍♂️ Quick Start

1. Basic Setup
# Set your Elasticsearch credentials
export ELASTIC_CLOUD_ID="your-cloud-id"
export ELASTIC_API_KEY="your-api-key"

# Start the MCP server
npx elasticsearch-mcp
2. Using with Claude Desktop

Add to your Claude Desktop MCP configuration:

{
  "mcpServers": {
    "elasticsearch-mcp": {
      "command": "npx",
      "args": ["elasticsearch-mcp"],
      "env": {
        "ELASTIC_CLOUD_ID": "your-cloud-id",
        "ELASTIC_API_KEY": "your-api-key"
      }
    }
  }
}
3. Using with any MCP Client
import { ElasticMCPServer } from 'elasticsearch-mcp';

const server = new ElasticMCPServer();
await server.start();

🛠️ Available Tools

ToolDescriptionUse Cases
fetch_indicesList and filter Elasticsearch indicesIndex management, monitoring
search_elasticsearchAdvanced search with aggregationsData analysis, querying
create_indexCreate indices with mappings/settingsSchema management
insert_dataInsert documents with validationData ingestion
update_documentUpdate documents with scriptsData modification
delete_documentDelete by ID or queryData cleanup
export_to_csvStream data to CSV filesReporting, data export

📋 Tool Examples

Search with Aggregations
{
  "tool": "search_elasticsearch",
  "arguments": {
    "index": "sales-data",
    "query": {
      "range": {
        "date": {
          "gte": "2024-01-01",
          "lte": "2024-12-31"
        }
      }
    },
    "aggregations": {
      "monthly_sales": {
        "date_histogram": {
          "field": "date",
          "calendar_interval": "month"
        },
        "aggs": {
          "total_revenue": {
            "sum": { "field": "amount" }
          }
        }
      }
    }
  }
}
Export Large Dataset
{
  "tool": "export_to_csv",
  "arguments": {
    "index": "user-analytics",
    "query": {
      "bool": {
        "filter": [
          { "term": { "status": "active" } },
          { "range": { "last_login": { "gte": "2024-01-01" } } }
        ]
      }
    },
    "fields": ["user_id", "email", "last_login", "country"],
    "filename": "active_users_2024.csv",
    "compress": true,
    "maxRows": 100000
  }
}
Create Index with Schema
{
  "tool": "create_index",
  "arguments": {
    "name": "product-catalog",
    "mappings": {
      "properties": {
        "name": { "type": "text", "analyzer": "standard" },
        "price": { "type": "float" },
        "category": { "type": "keyword" },
        "created_at": { "type": "date" },
        "tags": { "type": "keyword" },
        "description": { "type": "text" }
      }
    },
    "settings": {
      "number_of_shards": 1,
      "number_of_replicas": 1,
      "analysis": {
        "analyzer": {
          "product_analyzer": {
            "type": "standard",
            "stopwords": "_english_"
          }
        }
      }
    },
    "aliases": ["products", "catalog"]
  }
}

⚙️ Configuration

Environment Variables
VariableDescriptionRequiredExample
ELASTIC_CLOUD_IDElastic Cloud deployment IDYes*deployment:dXMtY2VudHJhbDE=
ELASTIC_API_KEYElasticsearch API keyYes*VnVhQ2ZHY0JDZGJrU...
ELASTIC_NODESelf-hosted Elasticsearch URLYes*https://localhost:9200
ELASTIC_USERNAMEBasic auth usernameNoelastic
ELASTIC_PASSWORDBasic auth passwordNochangeme
LOG_LEVELLogging levelNoinfo
LOG_FORMATLog output formatNotext
MAX_CONCURRENT_REQUESTSRequest concurrency limitNo10

*Either ELASTIC_CLOUD_ID or ELASTIC_NODE is required

Configuration File

Create .env file:

# Elastic Cloud (recommended)
ELASTIC_CLOUD_ID=your-deployment-id
ELASTIC_API_KEY=your-api-key

# Logging
LOG_LEVEL=info
LOG_FORMAT=json

# Performance
MAX_CONCURRENT_REQUESTS=10
REQUEST_TIMEOUT_MS=30000

🔒 Security Features…

Description from the npm listing.

  • elasticsearch
  • mcp
  • model-context-protocol
  • elastic-cloud
  • search
  • analytics
  • data-export
  • claude
  • typescript
  • security

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

elasticsearch-mcp weekly downloads on npm, last 90 days: 1,747 weekly downloads as of Dec 5, 2026, +3076% over 90 days.elasticsearch-mcpWeekly downloads on npm · Last 90 days1,747downloads / week+3076% over 90 days02K4K6K8K10K12K14KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
elasticsearch-mcp weekly downloads on npm, last 90 days: 1,747 weekly downloads as of Dec 5, 2026, +3076% over 90 days.

7/30/90-day growth

elasticsearch-mcp weekly downloads growth on npm: -63.8% over 7 days, -86.4% over 30 days, +3076% over 90 days.elasticsearch-mcpWeekly downloads growth on npm1,747downloads / week now7-day growth-3,077 weekly downloads-63.8%30-day growth-11,080 weekly downloads-86.4%90-day growth+1,692 weekly downloads+3076%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
elasticsearch-mcp weekly downloads growth on npm: -63.8% over 7 days, -86.4% over 30 days, +3076% over 90 days.

Ranking history

elasticsearch-mcp npm ranking history: currently #1928 (by weekly downloads).elasticsearch-mcpnpm ranking · by weekly downloads · Last 90 days#1928current rank#1000#1200#1400#1600#1800#2000Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankNov 18, 2026 – Dec 6, 2026 · 9 observations · Updated Dec 5, 2026pluginstats.com
elasticsearch-mcp npm ranking history: currently #1928 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 97, #8 (overall #1,928)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 21, #9 (overall #409)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (135)
Recent weekly downloads observations for elasticsearch-mcp
Date (UTC)Weekly downloadsChange vs. previous
1,747-555
2,302-682
2,984+187
2,797-29
2,826-248
3,074-1.3K
4,333-491
4,824-754
5,578+61
5,517-709
6,226-427
6,653-323
6,976-1.5K
8,496—

Similar npm MCP servers plugins

All 20 elasticsearch-mcp alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/elasticsearch-mcp. First seen Nov 18, 2026; last successful collection Nov 18, 2026. See the methodology.