プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Grafana

✓ Brand-named GitHub · github.com/grafana✓ Claude のコネクタ一覧に掲載

作者:grafanaバージョン v2.3.0i★ 3,678iパソコンでもクラウドでも公式サイト ↗
レジストリ名io.github.grafana/mcp-grafana

インストール方法

What it does

An MCP server giving access to Grafana dashboards, data and more.

  • Connects パソコンでもクラウドでも
  • Account or key Cloud: Needs X-Grafana-URL · Local: Needs GRAFANA_SERVICE_ACCOUNT_TOKEN, GRAFANA_PASSWORD · 1 setting to fill in (GRAFANA_URL)
  • Category 開発者ツール

一緒に使える

この種の作業を AI に教える Skill。これと一緒に使えます

rea

Reverse engineer anything with agents, from app behavior down to native binaries.

作者:morluto★ 467,2351 個の skill

Skill · 手順書

andrej-karpathy-skills

A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.

作者:multica-ai★ 234,1251 個の skill

Skill · 手順書ライセンス記載なし

graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

作者:Graphify-Labs★ 149,8731 個の skill

Skill · 手順書

この順位の理由

これは「AI につながるアプリ」タブにあり、スターを使わず次の順で並びます

1. Claude のコネクタディレクトリにあるはいディレクトリでの人気 15,487
2. チームが実際に試したいいえ
3. タイのユーザー向けいいえ
4. スターを除いた利用状況20/100人気 0 · 新しさ 12 · 応答中 8 · ユーザーのいいね +0
5. 登録日2026-11-10

ユーザーのいいね: 0 · 順位に最大 5 点(1 人 1 点)加算。お金では買えません。

品質: 基本チェック 5/5 項目に合格(表示のみ、並び順には不使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Grafana をインストールして。https://mcp.popnx.com/i/grafana-mcp-grafana.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 5/5 合格 · 質問内容は提供元のサーバー(mcp.grafana.com)を通ります · ✓ コマンド確認済み 2026年11月14日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude アプリでそのままインストール、設定は不要

Grafana Cloud は Claude が選んだ一覧に掲載されています。下のボタンからすぐ追加できます · 2026年11月16日 確認

  1. Claude で Grafana Cloud のページを開く

    claude.ai で開きます · 未ログインの場合は先に「Sign in to add」が表示されます

  2. 「Connect to Claude」を押し、求められたら Grafana Cloud のアカウントにログイン

    「Failed to add the connector」と出たら、少し待ってからもう一度押すか、下の別の方法を使ってください

  3. 試してみる

    Grafana を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Grafana を使っていると言うか、回答に Grafana のツール名が出れば接続成功です

リンクが開けない?メニューから操作
  1. Web 版 Claude (claude.ai) か Claude Desktop アプリを開く

  2. 左のサイドバーの「Customize」をクリック

    Customize

  3. 「Connectors」タブを選び、Connectors の横の「+」ボタンをクリック

    CustomizeConnectors+

  4. 検索欄に「Grafana Cloud」と入力するか一覧から探してクリック

  5. 「Connect」をクリック(「Install」と表示されるものもあります)

  6. 求められたらそのサービスにログイン

  7. チャットで有効にする:入力欄左下の「+」→「Connectors」→ Grafana Cloud をオン

メニュー名は Claude の画面どおり英語です

メニュー名は 2026年11月13日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

別の方法:URL で自分で追加(custom connector)

Claude につなげます · 約 5 分

Grafana のキーが必要です(提供元のサイトで作成) · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加

  1. Grafana に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    Grafana のサイトを開く ↗

  2. Claude の Connectors ページを開く

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  3. 「Add」→「Custom」→「Web」を押し、この 2 つを入力

    ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します

    Name · 名前Grafana
    Remote MCP server URL · アドレスhttps://mcp.grafana.com/mcp

    Request headers に、この名前と値を追加

    ヘッダー名X-Grafana-URL
    値<ここにキーを貼り付け>

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

    Claude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します

  4. チャットで有効にする

    +ConnectorsGrafana

  5. 試してみる

    Grafana を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Grafana を使っていると言うか、回答に Grafana のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Grafana につなげません

Grafana は接続時に自分のキーが必要ですが、OpenAI のヘルプページは OAuth ログインしか説明しておらず、確認できたキー入力方法がありません

代わりにできること

A · Grafana につなげるアプリを使う

  • Grafana のキーが必要です(提供元のサイトで作成) · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加
  • Grafana のキーが必要です(提供元のサイトで作成)
  • Grafana のキーが必要です(提供元のサイトで作成)
  • Grafana のキーが必要です(提供元のサイトで作成)

B · 開発者ツール の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげます · 約 5 分

Grafana のキーが必要です(提供元のサイトで作成)

  1. Grafana に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    Grafana のサイトを開く ↗

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --transport http --scope user grafana https://mcp.grafana.com/mcp --header 'X-Grafana-URL: your-value'

    Enter の前に「your-value」を自分のキーに書き換えてください

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  4. Claude Code で /mcp と入力

    Grafana が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Grafana を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Grafana を使っていると言うか、回答に Grafana のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげます · 約 5 分

Grafana のキーが必要です(提供元のサイトで作成)

  1. Grafana に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    Grafana のサイトを開く ↗

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. キーを入力

    Grafana の設定で X-Grafana-URL が空です。自分のキーを入れて保存します

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  4. Cursor の AI チャットを Agent モードで開く

  5. 試してみる

    Grafana を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Grafana を使っていると言うか、回答に Grafana のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげます · 約 5 分

Grafana のキーが必要です(提供元のサイトで作成)

  1. Grafana に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    Grafana のサイトを開く ↗

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. キーを入力

    Grafana の設定で X-Grafana-URL が空です。自分のキーを入れて保存します

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  4. VS Code の AI チャットを Agent モードで開く

  5. 試してみる

    Grafana を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Grafana を使っていると言うか、回答に Grafana のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

Web 経由でつなぐアプリ用のアドレス

アドレスhttps://mcp.grafana.com/mcp

JSON 設定は下の「開発者向け」にあります

つまずいたら?Grafana を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

Web 経由

Claude Code

claude mcp add --transport http --scope user grafana https://mcp.grafana.com/mcp --header 'X-Grafana-URL: your-value'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "grafana": {
      "url": "https://mcp.grafana.com/mcp",
      "headers": {
        "X-Grafana-URL": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "grafana": {
      "type": "http",
      "url": "https://mcp.grafana.com/mcp",
      "headers": {
        "X-Grafana-URL": "your-value"
      }
    }
  }
}

パソコンにインストール

Claude Code

claude mcp add --scope user grafana --env GRAFANA_URL=your-value --env GRAFANA_SERVICE_ACCOUNT_TOKEN=your-value --env GRAFANA_PASSWORD=your-value -- docker run -i --rm -e GRAFANA_URL -e GRAFANA_SERVICE_ACCOUNT_TOKEN -e GRAFANA_PASSWORD docker.io/grafana/mcp-grafana:2.3.0

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "grafana": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GRAFANA_URL",
        "-e",
        "GRAFANA_SERVICE_ACCOUNT_TOKEN",
        "-e",
        "GRAFANA_PASSWORD",
        "docker.io/grafana/mcp-grafana:2.3.0"
      ],
      "env": {
        "GRAFANA_URL": "your-value",
        "GRAFANA_SERVICE_ACCOUNT_TOKEN": "your-value",
        "GRAFANA_PASSWORD": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "grafana": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GRAFANA_URL",
        "-e",
        "GRAFANA_SERVICE_ACCOUNT_TOKEN",
        "-e",
        "GRAFANA_PASSWORD",
        "docker.io/grafana/mcp-grafana:2.3.0"
      ],
      "env": {
        "GRAFANA_URL": "your-value",
        "GRAFANA_SERVICE_ACCOUNT_TOKEN": "your-value",
        "GRAFANA_PASSWORD": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "grafana": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GRAFANA_URL",
        "-e",
        "GRAFANA_SERVICE_ACCOUNT_TOKEN",
        "-e",
        "GRAFANA_PASSWORD",
        "docker.io/grafana/mcp-grafana:2.3.0"
      ],
      "env": {
        "GRAFANA_URL": "your-value",
        "GRAFANA_SERVICE_ACCOUNT_TOKEN": "your-value",
        "GRAFANA_PASSWORD": "your-value"
      }
    }
  }
}

自分で入力する値

  • GRAFANA_URL 必須 env
    Grafana インスタンスの URL
    英語の原文を見るURL to your Grafana instance
  • GRAFANA_SERVICE_ACCOUNT_TOKEN 秘密 必須 env
    Grafana インスタンスで認証するために使用するサービスアカウントトークン
    英語の原文を見るService account token used to authenticate with your Grafana instance
  • GRAFANA_USERNAME env
    Grafana インスタンスで認証するためのユーザー名
    英語の原文を見るUsername to authenticate with your Grafana instance
  • GRAFANA_PASSWORD 秘密 必須 env
    Grafana インスタンスで認証するためのパスワード
    英語の原文を見るPassword to authenticate with your Grafana instance
  • GRAFANA_ORG_ID env
    マルチオーガニゼーション対応のための組織 ID。SSE/streamable HTTP トランスポートでは X-Grafana-Org-Id ヘッダーでも設定できます。
    英語の原文を見るOrganization ID for multi-org support. Can also be set via X-Grafana-Org-Id header in SSE/streamable HTTP transports.
  • GRAFANA_EXTRA_HEADERS env
    すべての Grafana API リクエストとともに送信する追加の HTTP ヘッダーの JSON オブジェクト
    英語の原文を見るJSON object of additional HTTP headers to send with all Grafana API requests
  • GRAFANA_FORWARD_HEADERS env
    受信リクエストから Grafana へ転送する HTTP ヘッダー名のカンマ区切りリスト(SSE/streamable-http のみ)。例: Cookie,X-Session-Id
    英語の原文を見るComma-separated list of HTTP header names to forward from the incoming request to Grafana (SSE/streamable-http only). Example: Cookie,X-Session-Id
  • X-Grafana-URL HTTP header
    Grafana Cloud インスタンスの URL
    英語の原文を見るURL of your Grafana Cloud instance

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
npm/PyPIにない
接続方法
パソコンでもクラウドでも
最新バージョンi
v2.3.0
レジストリ公開日i
2026年11月11日
コードの最終更新i
2026年11月18日
最終確認
2026年11月18日
作者
grafana
パッケージ
oci: docker.io/grafana/mcp-grafana:2.3.0
ウェブサイト
grafana.com
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

インターネット経由でつなげるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

このサーバーは、ツール一覧を表示する前にサインインを求めます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント grafana で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:昨日

  • ✓ 合格

    ライセンスがある

    Apache-2.0を使用

  • ✓ 合格

    エンドポイントが応答する

    198ミリ秒で応答(HTTP 401)

  • ✓ 合格

    OAuthでサインイン

    OAuthでのサインインに対応しているため、AIアプリがログイン画面へ案内してくれます

  • … 未チェック

    ツールの説明に隠れた指示がない

    まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります

クラウドのアドレスは直近 4 回中 4 回応答 · 最新 198 ms · 確認日 2026年11月18日

公開済みの脆弱性(OSV.dev)

未確認:バージョン付きの npm と PyPI パッケージのみ確認できます

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/grafana-mcp-grafana.svg)](https://mcp.popnx.com/en/servers/grafana-mcp-grafana)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

開発者ツールのほかのサーバーとの比較i

  • このカテゴリのほかの6116件のうち99%よりスターが多い
  • このカテゴリのほかの6116件のうち84%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの6116件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Grafanaは安全ですか?

当てはまる基本チェック5項目のうち5項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:X-Grafana-URL, GRAFANA_SERVICE_ACCOUNT_TOKEN, GRAFANA_PASSWORD

パソコンで動きますか、それともクラウドですか?

どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は昨日、最新バージョン(v2.3.0)がレジストリに届いたのは8 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。

代わりに使えるものは?

同じカテゴリには:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

GitDiagram

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

作者:ahmedkhaleel2004広く使われている★ 1.9万2 か月前更新

クラウドで動く✓ 提供元 · gitdiagram.comPopNx チームが実際に試用

Appllama

Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.

作者:Appllama広く使われている★ 52303 か月前更新

クラウドで動く✓ 提供元 · appllama.io

Omnara

Deploy durable AI agents with Omnara, an open-source managed-agent platform.

作者:omnara-ai広く使われている★ 34172 か月前更新

クラウドで動く✓ 提供元 · omnara.com

Repowise

Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.

作者:repowise-dev広く使われている↓ 6506/週★ 8180 リポジトリ全体のスター6 日前更新

パソコンでもクラウドでも✓ 提供元 · repowise.dev
似たものと比べる
これ
Grafana
GitDiagramAppllamaCloudflare MCPOmnaraRepowise
動く場所クラウドでもパソコンにインストールでも使えるクラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドでもパソコンにインストールでも使える
キーが必要はいいいえいいえいいえいいえいいえ
Claude で + から追加はいいいえいいえはいいいえいいえ
基本チェック5/54/44/44/44/45/5
ライセンスApache-2.0MITMITApache-2.0Apache-2.0AGPL-3.0
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Grafana MCP server

A Model Context Protocol (MCP) server for Grafana.

This provides access to your Grafana instance and the surrounding ecosystem.

Quick Start

Requires uv. Add the following to your MCP client configuration (e.g. Claude Desktop, Cursor):

{

"mcpServers": { "grafana": { "command": "uvx", "args": ["mcp-grafana"], "env": { "GRAFANA_URL": "http://localhost:3000", "GRAFANA_SERVICE_ACCOUNT_TOKEN": " " } } } }

For Grafana Cloud, replace GRAFANA_URL with your instance URL (e.g. https://myinstance.grafana.net). See Usage for more installation options including Docker, binary, and Helm.

Requirements

  • Grafana version 9.0 or later is required for full functionality. Some features, particularly datasource-related operations, may not work correctly with earlier versions due to missing API endpoints.

Features

_The following features are currently available in MCP server. This list is for informational purposes only and does not represent a roadmap or commitment to future features._

Dashboards
  • Search for dashboards: Find dashboards by title, folder UID, tag, or starred status
  • Get dashboard by UID: Retrieve full dashboard details using its unique identifier. Pass optional version to load a saved snapshot instead of the current dashboard. _Warning: Large dashboards can consume significant context window space._
  • List dashboard versions: List saved versions of a dashboard as compact metadata (version number, author, timestamp, save message)
  • Get dashboard summary: Get a compact overview of a dashboard including title, panel count, panel types, variables, and metadata without the full JSON to minimize context window usage
  • Get dashboard property: Extract specific parts of a dashboard using JSONPath expressions (e.g., $.title, $.panels[*].title) to fetch only needed data and reduce context window consumption
  • Update or create a dashboard: Modify existing dashboards or create new ones. _Warning: Requires full dashboard JSON which can consume large amounts of context window space._
  • Patch dashboard: Apply specific changes to a dashboard without requiring the full JSON, significantly reducing context window usage for targeted modifications
  • Get panel queries and datasource info: Get the title, query string, and datasource information (including UID and type, if available) from every panel in a dashboard
Run Panel Query

Note: Run panel query tools are disabled by default. To enable them, add runpanelquery to your --enabled-tools flag.

  • Run panel query: Execute a dashboard panel's query with custom time ranges and variable overrides. Infinity panels run when the query uses the backend or jq-backend parser (Google Sheets queries always do); the default simple parser and the UQL and GROQ parsers work only in the browser. Neo4j panels on the kniepdennis-neo4j-datasource plugin run their Cypher query through the plugin, which opens read-only sessions. Elasticsearch panels interpolate variables in the Lucene query with the lucene format, as Grafana does, and auto date histograms use the same interval as $__interval.
Context Window Management

The dashboard tools now include several strategies to manage context window usage effectively (issue #101):

  • Use `get_dashboard_summary` for dashboard overview and planning modifications
  • Use `get_dashboard_property` with JSONPath when you only need specific dashboard parts
  • Avoid `get_dashboard_by_uid` unless you specifically need the complete dashboard JSON
Datasources
  • List and fetch datasource information: View all configured datasources and retrieve detailed information about each.
  • _Supported datasource types: Prometheus, Loki, ClickHouse, CloudWatch, Elasticsearch, OpenSearch, Snowflake, Athena._
  • Datasource resources: Each datasource you can access is also exposed as an MCP resource at grafana://datasources/{uid}, so you can attach one to a conversation directly (for example with @ in Claude Code) instead of the model looking it up. Disabled along with the datasource tools.
Query Examples

Note: Query examples tools are disabled by default. To enable them, add examples to your --enabled-tools flag.

  • Get query examples: Retrieve example queries for different datasource types to learn query syntax.
Prometheus Querying
  • Query Prometheus: Execute PromQL queries (supports both instant and range metric queries) against Prometheus datasources.
  • Query Prometheus metadata: Retrieve metric metadata, metric names, label names, and label values from Prometheus datasources.
  • Query histogram percentiles: Calculate histogram percentile values (p50, p90, p95, p99) using histogram_quantile.
Loki Querying
  • Query Loki logs and metrics: Run both log queries and metric queries using LogQL against Loki datasources.
  • Query Loki metadata: Retrieve label names, label values, and stream statistics from Loki datasources.
  • Query Loki patterns: Retrieve log patterns detected by Loki to identify common log structures and anomalies.
InfluxDB Querying

Note: InfluxDB tools are disabled by default. To enable them, add influxdb to your --enabled-tools flag.

  • Query InfluxDB: Execute queries against InfluxDB datasources using either InfluxQL (v1.x) or Flux (v2.x). The dialect is inferred from the datasource configuration, or can be set explicitly via the dialect parameter.
SQL Datasource Querying

Note: SQL tools are disabled by default. To enable them, add sql to your --enabled-tools flag. Back-compat aliases clickhouse, snowflake, and athena also work.

Unified SQL tools support ClickHouse, Snowflake, Athena, MySQL, PostgreSQL, MSSQL, and BigQuery through a single set of tools. Queries go through Grafana's datasource plugins, so authentication is handled by datasource configuration — credentials are never seen by the MCP server.

  • List databases/schemas/catalogs: Discover organizational units for a SQL datasource. For Athena, omit catalog to list catalogs, or pass a catalog to list databases.
  • List tables: List tables in a database or schema with metadata (row counts, sizes where available).
  • Describe table schema: Get column names, types, nullability, defaults, and comments.
  • Query SQL: Execute SQL queries with datasource-specific macro substitution ($__timeFilter(col), $__from/$__to, $__interval, ${varname}), automatic limit enforcement, and template variable support.

For BigQuery, configure the grafana-bigquery-datasource plugin in Grafana. Discovery uses database for the project and schema for the dataset. If database is omitted, the project defaults to datasource defaultProject, then the plugin's /defaultProjects endpoint (including GCE project discovery). Metadata is fetched through APIs only, without query jobs or table scans. Column descriptions and nested types are included; the plugin omits table descriptions/types, column nullability, and defaults.

BigQuery queries require qualified table references such as `my-project.my_dataset.fct_events` and use the datasource's billing project. Optional location defaults to datasource processingLocation. Use ${name:sqlstring} for escaped string variables. Row limits do not limit bytes scanned or query costs.

CloudWatch Querying

Note: CloudWatch tools are disabled by default. To enable them, add cloudwatch to your --enabled-tools flag.

  • List CloudWatch namespaces: Discover available AWS CloudWatch namespaces.
  • List CloudWatch metrics: List metrics available in a specific namespace.
  • List CloudWatch dimensions: Get dimensions for filtering metric queries.
  • Query CloudWatch: Execute CloudWatch metric queries with time range support.
  • List CloudWatch log groups: Discover log groups, optionally filtered by name prefix.
  • List CloudWatch log group fields: Discover the fields available in a log group.
  • Query CloudWatch Logs: Run CloudWatch Logs Insights queries across one or more log groups.
Google Cloud Logging Querying

Note: Google Cloud Logging tools are disabled by default. To enable them, add cloudlogging to your --enabled-tools flag. Requires the Google Cloud Logging datasource plugin (googlecloud-logging-datasource) version 1.8.0 or later, which needs Grafana 11.2+. Older plugin versions return a different response layout and query_cloud_logging reports an error asking for an upgrade.

  • List Cloud Logging projects: Discover the GCP project IDs the datasource can read logs from.
  • List Cloud Logging buckets and views: Discover log buckets and log views to scope a query.
  • Query Cloud Logging: Run Cloud Logging query language filters (e.g. resource.type="k8s_container" AND severity>=ERROR) with time range and limit; returns entries newest-first with severity, body, labels, and trace ID. GCP authentication is handled by the datasource configuration.
Azure Monitor Querying

Note: Azure Monitor tools are disabled by default. To enable them, add azuremonitor to your --enabled-tools flag. They query through an Azure Monitor datasource (grafana-azure-monitor-datasource); Azure authentication is handled by the datasource configuration.

  • Query Azure Log Analytics: Run KQL against one or more Log Analytics workspaces or resources with time range and limit; returns columns and rows.
  • Query Azure Resource Graph: Run Resource Graph KQL to inventory Azure resources and their current state across subscriptions.
Graphite Querying

Note: Graphite tools are disabled by default. To enable them, add graphite to your --enabled-tools flag.

  • Query Graphite: Execute Graphite render API queries against a Graphite datasource.
  • List Graphite metrics: Browse and discover Graphite metric paths.
  • List Graphite tags: List available Graphite tags and tag values.
  • Query Graphite density: Query Graphite metric density for a given pattern.
Elasticsearch/OpenSearch Querying

Note: Elasticsearch/OpenSearch tools are disabled by default. To enable them, add elasticsearch to your --enabled-tools flag.

  • Query Elasticsearch/OpenSearch: Execute search queries against Elasticsearch or OpenSearch datasources using either Lucene query syntax or Elasticsearch Query DSL. Supports filtering by time range and retrieving logs, metrics, or any indexed data. Returns documents with their index, ID, source fields, and optional relevance score.
Quickwit Querying

Note: Quickwit tools are disabled by default. To enable them, add quickwit to your --enabled-tools flag.

  • Query Quickwit: Execute search queries against Quickwit datasources using Lucene query syntax or partial Elasticsearc

冒頭だけを表示しています。続きはリポジトリで読めます