Kibana Bridge MCP
Enables searching and analyzing logs in Kibana through the user's logged-in browser session, with tools for summarizing, filtering, and inspecting log entries.
Enables searching and analyzing logs in OpenSearch Dashboards through the user's logged-in browser session, with tools for summarizing, filtering, and inspecting log entries.
Supports searching logs in SAP BTP Cloud Logging via its Kibana/OpenSearch Dashboards interface.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kibana Bridge MCPSummarize the errors in our logs over the last 24 hours, then dig into the most common one."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kibana Bridge MCP
English | Türkçe
Let your AI assistant search Kibana / OpenSearch Dashboards logs through your logged-in browser tab. No API keys, no service accounts.

Log platforms behind corporate SSO rarely hand out API tokens. Your browser session is the one credential you always have, so a small extension runs the searches inside your dashboard tab and an MCP server hands the results to Claude Code, Cursor, Codex or any other MCP client.

Works with Kibana and OpenSearch Dashboards (including SAP BTP Cloud Logging).
Setup
Takes about two minutes. Using an AI agent with a terminal? Let it do the setup.
1. Add it to your AI client
claude mcp add --scope user kibana-logs -- npx -y kibana-bridge-mcp@latest--scope user makes it available in all your projects (leave it out to add it to the current project only). Your client starts the server by itself whenever it needs it, and @latest keeps it up to date.
JSON config (Claude Desktop, Cursor and most other clients):
{
"mcpServers": {
"kibana-logs": {
"command": "npx",
"args": ["-y", "kibana-bridge-mcp@latest"]
}
}
}Config files: Claude Desktop ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows). Cursor ~/.cursor/mcp.json.
codex mcp add kibana-logs -- npx -y kibana-bridge-mcp@latest
gemini mcp add kibana-logs npx kibana-bridge-mcp@latest
code --add-mcp '{"name":"kibana-logs","command":"npx","args":["-y","kibana-bridge-mcp@latest"]}'Windows: many clients can't find npx on their own, so run it through cmd /c. For example claude mcp add --scope user kibana-logs -- cmd /c npx -y kibana-bridge-mcp@latest, or "command": "cmd", "args": ["/c", "npx", "-y", "kibana-bridge-mcp@latest"] in JSON.
Standalone server: run npx -y kibana-bridge-mcp@latest in a terminal and connect clients to http://localhost:47822/mcp (or /sse for older clients).
2. Install the browser extension
npx -y kibana-bridge-mcp@latest install-extensionThis copies the extension folder path to your clipboard and opens your browser's extensions page. There, turn on Developer mode, click Load unpacked and paste the path.
Works in Chrome, Edge, Brave, Arc, Vivaldi and Opera. Install it in the browser you use for your dashboard.

In Edge, Developer mode is in the left sidebar. In the folder picker, press ⌘⇧G on macOS or use the address bar on Windows to paste the path. Add --browser brave (or chrome, edge, …) to the command to pick a browser other than your default, or --lang tr|en to set the output language.
3. Add your dashboard
Open your Kibana / OpenSearch Dashboards site, log in, click the extension icon and press ➕ Add this dashboard. The name and index pattern are detected for you. Repeat for other environments (stage, prod, …).
A small pill then appears in the dashboard header showing whether the AI is connected, and what it's searching for while it works.
4. Try it
Summarize the errors in our logs over the last 24 hours, then dig into the most common one.
Updating
The server updates by itself. When the extension is out of date, the AI tells you: re-run the install-extension command, then click reload ↻ on Kibana Log Bridge in the extensions page.
Related MCP server: es-mcp
Let your AI do the setup
Paste this into Claude Code, Codex, Cursor or any agent with a terminal:
Set up kibana-bridge-mcp for me by following https://github.com/yunusemregul/kibana-mcp#for-ai-agents
For AI agents
You can run steps 1 and 2. The browser steps need the user, because browsers don't let scripts enable Developer mode, load extensions or grant site access.
Check
node --versionis 18 or newer, then register the server with the client you're running in (commands; use thecmd /cform on Windows).Run
npx -y kibana-bridge-mcp@latest install-extension. It prints the folder path (--no-openskips opening the browser,--browser <name>picks one).Ask the user to turn on Developer mode, click Load unpacked and paste that path. Wait for them to confirm.
Ask the user to open their dashboard, log in, click the Kibana Log Bridge icon (in the puzzle-piece menu if not pinned) and press ➕ Add this dashboard.
Ask the user to restart the client or reconnect MCP servers (
/mcpin Claude Code) so the tools load.Verify with
curl -s http://localhost:47822/health. You want"connected":trueand at least one name in"environments". No answer means the client hasn't started the server yet. Finish with a broadsummarize_logscall.
Tools
Tool | What it does |
| Cheap overview: hit count, time histogram, top values per field. Start here. |
| Lists every field in matching docs, with types. Learns the schema. |
| Full search with include/exclude filters and custom display fields. |
| Everything around a timestamp, optionally limited to one trace. |
| One log entry in full, as YAML. |
The tools teach the AI to investigate like an engineer (summarize wide, find the noise, exclude it, narrow down), and results are compacted to keep token usage low.
environment: which configured dashboard to search. Defaults to the first one.level: filter by log level, e.g.'ERROR'or['ERROR','WARN'].query_dsl: a raw OpenSearch / Elasticsearch query clause for anything plain text can't express, e.g.{range: {status: {gte: 500}}}.match: "wildcard"on an include/exclude filter for*and?patterns.trace_idonget_log_contextto follow one trace.full: trueoninspect_logto skip trimming of long stack traces and annotations.
Troubleshooting
Problem | Fix |
"No active browser extension connected" | Check the extension is loaded and enabled, and that your AI client is running. |
"Redirected to a login page" / HTTP 401 or 403 | Your dashboard session expired. Log in again in that tab and retry. |
"No environments configured" | Open your dashboard and press ➕ Add this dashboard in the extension. |
"Port 47821 (or 47822) is in use" | Another program has the port. Free it or set |
Results show empty messages | Your logs use a different text field. Ask the AI to run |
Configuration
You don't need this for normal use. It's for tuning the server to an unusual log schema or changing ports.
Set these in the env block of your MCP client config.
Variable | Default | Purpose |
|
| HTTP port for MCP clients |
|
| WebSocket port for the extension (also change it in the extension settings) |
|
| Bind address |
|
| Fields used as each hit's message text, in order |
|
| Default fields |
|
| Fields searched by |
|
| Field |
|
| Field |
|
|
|
|
| Source tag shown before each hit |
Freeing a port: lsof -ti:47821 | xargs kill on macOS / Linux, or netstat -ano | findstr :47821 then taskkill /PID <pid> /F on Windows.
Security
Everything runs on your machine. Searches go only to your own dashboard, using your existing session and permissions.
The extension only accesses dashboards you add, and only reads.
The local server rejects connections from web pages. Its MCP port has no authentication, so don't expose port 47822 to other machines.
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect LLM tools to your Algolia account with user-scoped access for internal workflows.
Read-only access to Auralogs production logs: search logs, inspect errors, review AI analyses.
- mcpOAuthcom.vibgrate
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
Ingest and search LogsLoom logs from coding agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with Kibana dashboards, visualizations, and Elasticsearch data through read-only resources and executable tools for searching logs, exporting dashboards, and querying data.77 npm3MIT
- -licenseNot gradedqualityNot gradedmaintenanceEnables querying Elasticsearch logs from AI assistants using natural language, with optional SSH tunnel support.-
- AlicenseAqualityDmaintenanceEnables AI assistants to search Elasticsearch logs, retrieve log details, analyze service health, scan local codebases for APIs, and create Kibana dashboards.57 npmMIT
- AlicenseAqualityAmaintenanceEnables AI agents to search and analyze SAP Commerce Cloud (CCv2) runtime logs via OpenSearch Dashboards using a session cookie, providing read-only tools for full-text search and error aggregation.3MIT