
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that lets MCP-compatible clients access a Kibana instance via natural language or programmatic requests.
Kibana MCP Server is cataloged as an MCP server attributed to tocharianou. An MCP server that lets MCP-compatible clients access a Kibana instance via natural language or programmatic requests. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Apache License 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Kibana MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No. The tool is read-only and Elasticsearch enforces the configured user's index privileges on every search, so indices the user cannot read return no results.
API Key, Basic authentication with username and password, and session cookies.
README.md · 1fe0eb9a54c7 · Fetched 2026-11-13 09:04:53 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Kibana MCP server implementation that allows any MCP-compatible client (such as Claude Desktop) to access your Kibana instance via natural language or programmatic requests.
This project is based on the official Elastic Kibana API documentation and uses the OpenAPI YAML specification from Elastic Stack 8.x. For details, see the Kibana API documentation.
This project is community-maintained and is not an official product of Elastic or MCP.
💡 Companion Project: For complete Elastic Stack integration, pair this with Elasticsearch MCP Server for direct Elasticsearch data operations.
# Global installation (recommended)
npm install -g @tocharianou/mcp-server-kibana
# Or use directly with npx
npx @tocharianou/mcp-server-kibana
git clone https://github.com/TocharianOU/mcp-server-kibana.git
cd mcp-server-kibana
npm install && npm run build
Add to your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"kibana": {
"command": "npx",
"args": ["@tocharianou/mcp-server-kibana"],
"env": {
"KIBANA_URL": "http://your-kibana-server:5601",
"KIBANA_API_KEY": "your-api-key",
"KIBANA_DEFAULT_SPACE": "default"
}
}
}
}
# Using API Key (recommended)
KIBANA_URL=http://localhost:5601 \
KIBANA_API_KEY=your-api-key \
npx @tocharianou/mcp-server-kibana
# Using Basic Auth
KIBANA_URL=http://localhost:5601 \
KIBANA_USERNAME=your-username \
KIBANA_PASSWORD=your-password \
npx @tocharianou/mcp-server-kibana
# Using Cookie Auth
KIBANA_URL=http://localhost:5601 \
KIBANA_COOKIES="sid=xxx; security-session=yyy" \
npx @tocharianou/mcp-server-kibana
MCP_TRANSPORT=http \
MCP_HTTP_PORT=3000 \
KIBANA_URL=http://localhost:5601 \
KIBANA_API_KEY=your-api-key \
npx @tocharianou/mcp-server-kibana
Access at: http://localhost:3000/mcp
Health check: http://localhost:3000/health
Securing HTTP mode. Every session on /mcp acts with the Kibana credentials the server was started with, so treat the endpoint as sensitive:
localhost only and rejects requests whose Host header is not a loopback name (DNS rebinding protection).MCP_BEARER_TOKEN. Clients must then send Authorization: Bearer <token> on every /mcp request. /health stays open.MCP_HTTP_HOST=0.0.0.0) without MCP_BEARER_TOKEN logs a warning at startup: anyone who can reach the port can use your Kibana credentials.Host header to a localhost-bound server, list that hostname in MCP_ALLOWED_HOSTS.MCP_TRANSPORT=http \
MCP_HTTP_HOST=0.0.0.0 \
MCP_BEARER_TOKEN="$(openssl rand -hex 32)" \
KIBANA_URL=http://localhost:5601 \
KIBANA_API_KEY=your-api-key \
npx @tocharianou/mcp-server-kibana
| Variable | Description | Example |
|---|---|---|
KIBANA_URL | Kibana server address | http://localhost:5601 |
| Variable | Description | Priority |
|---|---|---|
KIBANA_API_KEY | API Key (base64 encoded) | 1st |
KIBANA_USERNAME + KIBANA_PASSWORD | Basic authentication | 2nd |
KIBANA_COOKIES | Session cookies | 3rd |
| Variable | Description | Default |
|---|---|---|
KIBANA_DEFAULT_SPACE | Default Kibana space | default |
KIBANA_CA_CERT | CA certificate path | - |
KIBANA_TIMEOUT | Request timeout (ms) | 60000 |
MCP_TRANSPORT | Transport mode | stdio |
MCP_HTTP_PORT | HTTP server port | 3000 |
MCP_HTTP_HOST | HTTP server host | localhost |
MCP_BEARER_TOKEN | HTTP mode: require Authorization: Bearer <token> on /mcp | - |
MCP_ALLOWED_HOSTS | HTTP mode: extra hostnames accepted in the Host header (comma-separated) | - |
NODE_TLS_REJECT_UNAUTHORIZED | Disable SSL validation | 1 |
get_status - Get Kibana server statusexecute_kb_api - Execute custom Kibana API requestssearch_elasticsearch - Search Elasticsearch documents and logs through Kibana's search API, within the user's Elasticsearch index privilegesget_available_spaces - List available Kibana spacessearch_kibana_api_paths - Search API endpointslist_all_kibana_api_paths - List all API endpointsget_kibana_api_detail - Get API endpoint detailsvl_search_saved_objects - Search saved objects (universal)vl_get_saved_object - Get single saved objectvl_create_saved_object - Create new saved objectvl_update_saved_object - Update single saved objectvl_bulk_update_saved_objects - Bulk update operationsvl_bulk_delete_saved_objects - Bulk delete operationsSupported Object Types: dashboard, visualization, index-pattern, search, config, lens, map, tag, canvas-workpad, canvas-element
analyze_object_dependencies - Analyze saved object dependenciesanalyze_deletion_impact - Check impact before deletioncheck_dashboard_health - Dashboard health checkscan_all_dashboards_health - Batch health scanningUse search_elasticsearch when you need to search documents, application logs, traces, or aggregations in Elasticsearch. It sends Query DSL through Kibana's /internal/search/es route instead of the Dev Tools Console proxy.
The tool is read-only and does not widen data access: Elasticsearch enforces the configured user's index privileges on every search, exactly as it does for Discover and dashboards. Indices the user cannot read return no results.
It exists because the Dev Tools Console proxy (/api/console/proxy) is gated by a separate Kibana privilege, since the Console can call any Elasticsearch API including write and admin endpoints. A user who can read the target indices but has no Dev Tools privilege gets 403 from the Console proxy; this tool gives that user search, and nothing more. If your Kibana administrators rely on withholding Dev Tools to block ad-hoc queries from an account, be aware that this tool allows Query DSL searches for it.
Example tool arguments for a bounded log search:
{
"index": "application-logs-*",
"body": {
"size": 20,
"_source": [
"@timestamp",
"message",
"trace.id",
"service.name"
],
"sort": [
{ "@timestamp": "desc" }
],
"query": {
"bool": {
"filter": [
{
"range": {
"@timestamp": {
"gte": "2025-01-15T10:00:00Z",
"lt": "2025-01-15T11:00:00Z"
}
}
},
{
"term": {
"service.name.keyword": "example-service"
}
}
]
}
}
}
}
For high-volume logs, start with a small time window and a small size. After finding a trace or correlation id, use that value in a second narrow search instead of repeatedly scanning a broad time range. Use _source to keep only fields needed for the current investigation.
The tool rejects wildcard-only index segments such as *, **, or _all (including inside comma-separated index expressions), an empty search body, and body.size above 100. String size values are coerced and validated as numbers. The endpoint is an internal Kibana API, so compatibility should be verified after major Kibana upgrades.
| Resource URI | Description |
|---|---|
kibana-api://paths | List all available API endpoints |
kibana-api://paths?search=<keyword> | Search endpoints by keyword |
kibana-api://path/{method}/{encoded_path} | Get specific endpoint details |
NODE_TLS_REJECT_UNAUTHORIZED=0 (use with caution)/api/console/proxy while searching Elasticsearch: Use search_elasticsearch. The Console proxy can require the Kibana Dev Tools privilege even when the user has permission to read the target indices.Use MCP Inspector for debugging:
npm run inspector
This provides a browser-accessible debugging interface.
This project is community-maintained. Contributions and feedback are welcome!
Please follow the Elastic Community Code of Conduct in all communications.
Apache License 2.0 - See LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Kibana MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-kibana)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.