MCP Grafana With Questdb MCP Server

This repository is a fork of the original Grafana MCP server. It includes custom modifications listed below.

Local serverstdioGo

What is the MCP Grafana With Questdb MCP server?

Connect MCP Grafana With Questdb to Claude, Cursor or any other MCP client and it stops being a tab you switch to. This repository is a fork of the original Grafana MCP server. It includes custom modifications listed below. The mcp grafana with questdb mcp server is what makes that connection.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • list_teams — Admin
  • search_dashboards — Search
  • get_dashboard_by_uid — Dashboard
  • update_dashboard — Dashboard
  • get_dashboard_panel_queries — Dashboard
  • list_datasources — Datasources
  • get_datasource_by_uid — Datasources
  • get_datasource_by_name — Datasources
  • query_prometheus — Prometheus
  • list_prometheus_metric_metadata — Prometheus
  • list_prometheus_metric_names — Prometheus
  • list_prometheus_label_names — Prometheus

Credentials and setup notes

Configuration is passed through the environment: GRAFANA_URL, GRAFANA_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

Installation goes through your MCP client rather than a global install: point it at mcp/grafana on a container image and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Where it fits

This sits in the monitoring and observability group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MCP Grafana With Questdb's toolset — list_teams, search_dashboards, get_dashboard_by_uid and 11 more — is a fair guide to whether it matches your workflow. It is maintained by kis9a; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MCP Grafana With Questdb's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch MCP Grafana With Questdb.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
list_teamsAdmin
search_dashboardsSearch
get_dashboard_by_uidDashboard
update_dashboardDashboard
get_dashboard_panel_queriesDashboard
list_datasourcesDatasources
get_datasource_by_uidDatasources
get_datasource_by_nameDatasources
query_prometheusPrometheus
list_prometheus_metric_metadataPrometheus
list_prometheus_metric_namesPrometheus
list_prometheus_label_namesPrometheus
list_prometheus_label_valuesPrometheus
list_incidentsIncident

How to install the MCP Grafana With Questdb MCP server

**If using Docker:**

```json
{
  "mcpServers": {
    "grafana": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e",
        "GRAFANA_URL",
        "-e",
        "GRAFANA_API_KEY",
        "mcp/grafana",
        "-t",
        "stdio",
        "-debug"
      ],
      "env": {
        "GRAFANA_URL": "http://localhost:3000",
        "GRAFANA_API_KEY": "<your service account token>"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
GRAFANA_URLEndpoint or connection string the server talks to.Yes
GRAFANA_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use MCP Grafana With Questdb to list teams.
  • Use MCP Grafana With Questdb to search dashboards.
  • Use MCP Grafana With Questdb to get dashboard by uid.

Frequently asked questions

It connects MCP Grafana With Questdb to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (list_teams, search_dashboards, get_dashboard_by_uid, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Grafana With Questdb directly.