Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ“Š Monitoring
  3. MCP Grafana
MCP Grafana logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 6:31:58 PM

MCP Grafana

User RatingsBe the first to rate and review this MCP server!
View Repository3.4k GitHub StarsTotal stargazers on GitHub for the source repository (3,438 stars).Visit Website
grafanamonitoringobservabilityalertingdashboards

Connects MCP clients to Grafana for dashboards, alerting, incidents, datasources, logs, metrics, and traces.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

This server is confirmed live โ€” we successfully called its tools/list endpoint directly (see the verified badge above). We haven't yet sandbox-tested the stdio install command below specifically, which is a separate, ongoing check.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "grafana-mcp-grafana": {
      "command": "uvx",
      "args": [
        "mcp-grafana"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (65) Directory Badge Claim listing Alternatives๐Ÿ“Š More in Monitoring

Overview

grafana/mcp-grafana MCP server connects an MCP client to a Grafana instance through the Grafana API. It exposes tools for inspecting and modifying dashboards, managing alerting and incidents, checking datasource health, and querying supported observability backends. Reach for it when an agent needs Grafana context during troubleshooting, alert investigation, dashboard work, or operational analysis. Grafana 9.0 or later is required for full functionality, and several query tool groups must be enabled explicitly.

Use cases

โ€ขInvestigate alert rule behavior and notification routing
โ€ขInspect dashboards and extract panel queries
โ€ขQuery Grafana-backed metrics, logs, and traces
โ€ขCheck datasource health across a Grafana instance
โ€ขDocument incidents with timeline notes

Key features

โ€ขDashboard retrieval, summaries, JSONPath properties, and patching
โ€ขAlert rule and notification routing management
โ€ขIncident and Grafana OnCall operations
โ€ขDatasource health checks and metadata retrieval
โ€ขQueries for supported metrics, logs, traces, and databases
โ€ขDashboard snapshots, images, annotations, and deeplinks

Capabilities & Tool Schemas (65) ~16.8k tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Verified live Verified liveCaptured by calling this serverโ€™s live tools/list endpoint.

Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Grafana.

add_activity_to_incident

Add a note (userNote activity) to an existing incident's timeline using its ID. The note body can include URLs which will be attached as context. Use this to add context to an incident.

alerting_manage_routing

Manage Grafana alerting routing configuration, including notification policies, contact points and time intervals. Notification policies define how alerts are grouped, routed, and which contact points receive them. Time intervals define active/mute periods for alert notifications. When to use: - Understanding how alerts are routed to contact points/receivers - Debugging why an alert went to a specific receiver - Checking grouping, timing, or mute interval settings When NOT to use: - Checking alert rule configuration or state (use alerting_manage_rules)

alerting_manage_rules

Manage Grafana alert rules with full CRUD capabilities and filtering. When to use: - Understanding why an alert is or isn't firing - Auditing alert rule configuration (queries, conditions, labels, notification settings) - Finding alert rules by state, folder, group, or name - Creating, updating, or deleting alert rules - Comparing rule versions to see what changed When NOT to use: - Checking how alerts are routed to receivers (use alerting_manage_routing)

analyze_loki_labels

Audits a Loki label strategy and optionally diagnoses query performance. Returns per-label verdicts, missing base labels, normalisation issues, and a recommended set. Pass datasourceUid for live cardinality or labels for static scoring; both may be combined.

check_datasources_health

Check datasource health. Filter by type or UIDs; omit both to check all.

create_annotation

Create a new annotation on a dashboard or panel. Set format to 'graphite' and provide 'what' for Graphite-format annotations.

How MCP Grafana works

What grafana/mcp-grafana MCP server does

grafana/mcp-grafana MCP server gives MCP clients access to Grafana dashboards, datasources, alerting, incidents, annotations, OnCall information, and selected observability analysis workflows. It can retrieve a complete dashboard by UID, or return a smaller summary or selected properties when full dashboard JSON would use too much context. Dashboard tools also expose panel queries and datasource details, and the server supports dashboard creation, updates, patches, annotations, folders, snapshots, deeplinks, and rendered panel images.

Operational tools cover alert rules and alert routing separately. Agents can inspect or change rule configuration, compare rule versions, and filter rules by state, folder, group, or name. Routing tools cover notification policies, contact points, and time intervals. Incident tools can create or retrieve incidents and add timeline notes, while OnCall tools provide alert group, schedule, shift, and currently on-call user information.

How it works

The server runs locally as an MCP process and communicates with Grafana using the configured instance URL and service account token. Grafana remains the source of datasource credentials for supported backends such as Snowflake; the README states that those credentials are not exposed to the MCP server.

Query and investigation capabilities span Prometheus, Loki, InfluxDB, ClickHouse, CloudWatch, Graphite, Athena, Snowflake, Elasticsearch, and OpenSearch, subject to the relevant Grafana datasource and enabled tool group. It can query metrics, logs, traces, and datasource metadata, and includes targeted analysis for Loki error patterns and Tempo slow requests. It can also generate Explore links with embedded time ranges and queries.

Setup and configuration

The recommended configuration uses uvx with the mcp-grafana package. Set GRAFANA_URL to the Grafana address and GRAFANA_SERVICE_ACCOUNT_TOKEN to a service account token. Grafana Cloud instances use their instance URL in place of a local address. The README also documents Docker, binary, and Helm installation paths, but the MCP client example uses uvx.

The server requires Grafana 9.0 or newer for full functionality. Add runpanelquery to the --enabled-tools setting to enable panel query execution. Query examples require examples; InfluxDB, ClickHouse, CloudWatch, Graphite, Athena, Snowflake, and Elasticsearch/OpenSearch each have their own enablement value.

Tools and capabilities

Key capabilities of grafana/mcp-grafana MCP server include:

  • Summarizing dashboards or selecting dashboard fields with JSONPath.
  • Reading panel queries, datasource metadata, annotations, and dashboard images.
  • Creating folders, annotations, snapshots, incidents, and datasources.
  • Managing alert rules and notification routing.
  • Checking datasource health and querying supported datasource types.
  • Inspecting Loki labels, log patterns, Prometheus metadata, CloudWatch resources, and database schemas.
  • Finding slow requests in Tempo and elevated error patterns in Loki.
  • Retrieving Grafana Sift investigations and analyses.

Datasource query tools support datasource-specific features such as PromQL, LogQL, InfluxQL or Flux, SQL, Graphite render queries, Lucene or Elasticsearch Query DSL, and Grafana macro or variable substitution where documented.

Limitations and notes

Large dashboards can consume substantial context because complete dashboard retrieval returns the full model. Use the summary or property tools when only an overview or selected fields are needed. Creating or updating a dashboard requires the full dashboard JSON, while patching is intended for narrower changes.

Panel query execution and several datasource query families are disabled by default and need explicit enablement. Image rendering requires Grafana Image Renderer. Datasource operations may not work correctly on Grafana versions earlier than 9.0. Creating an incident can notify or alert many people, so the tool documentation requires confirmation and judicious use. Datasource creation must be performed in two calls: first obtain the field schema, then collect required values from the user before creating the datasource.

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Monitoring View all alternatives
  • Byok Observability MCP logoByok Observability MCP

    Comprehensive MCP server for Grafana, Prometheus, Kafka UI, and Datadog with a secure "Bring Your Own Key" or BYOK model.

    ๐Ÿ“Š Monitoring2 views
    Compare vs Byok Observability MCP โ†’
  • Langfuse MCP Java logoLangfuse MCP Java

    Query Langfuse traces, debug exceptions, analyze sessions, scores, datasets, schema, observations and manage prompts. Full observability toolkit for LLM applications. (https://github.com/langfuse/langfuse)

    ๐Ÿ“Š Monitoring3 views
    Compare vs Langfuse MCP Java โ†’
  • Grafana Loki MCP logoGrafana Loki MCP

    An MCP server that allows querying Loki logs through the Grafana API.

    ๐Ÿ“Š Monitoring2 views
    Compare vs Grafana Loki MCP โ†’
  • Pagerduty MCP logoPagerduty MCP

    PagerDuty's official MCP server which provides tools to interact with your PagerDuty account.

    ๐Ÿ“Š Monitoring2 views
    Compare vs Pagerduty MCP โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
3.4k
Stargazers on the source repository.
Last commit
3d ago
Most recent push to the default branch.
Tools exposed
65
Callable tools this server registers over MCP.
Directory activity
4 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about MCP Grafana

Install uv, then configure the MCP client to run `uvx` with the `mcp-grafana` package.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Grafana AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/grafana-mcp-grafana?style=directory)](https://allmcps.com/mcp/grafana-mcp-grafana)
HTML Embed
<a href="https://allmcps.com/mcp/grafana-mcp-grafana"><img src="https://allmcps.com/api/badge/grafana-mcp-grafana?style=directory" alt="MCP Grafana on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ“ŠMonitoring
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimePython
AuthAPI key
LicenseApache-2.0
ClientsClaude Desktop, Cursor
Last updatedSep 9, 2026
11/11 checks healthy over the last 34d
Views4
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars3,438
GitHub Star CountTotal stargazers on GitHub representing community popularity (3,438 stars).
Last commit3d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Sep 9, 2026
68Quality signal: Great ยท 68/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools30/30
Adoption & activity10/15
Community engagement1/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 18d ago via OSV.dev ยท mcp-grafana (PyPI)

โ˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ“Š Monitoring โ†’Best MCP servers for Monitoring & Observability โ†’Alternatives to MCP Grafana โ†’Install in Claude DesktopInstall in CursorInstall in VS Code