@leval/mcp-grafana

devops-infra MCP Server

MCP (Model Context Protocol) server for Grafana - TypeScript/npm implementation with 43+ tools for dashboards, alerts, incidents, and observability

VerifiedInstall Ready
devops-infradevops-infratypescript
5 views2 stars3 forksv1.1.7MIT

Why This Matters

Discovered via github-topic:model-context-protocol and last synced 3mo ago.

VerifiedInstall Ready
Source
github-topic:model-context-protocol
Stars
2
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

npx @leval/mcp-grafana

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "-leval-mcp-grafana": {
      "command": "npx",
      "args": [
        "@leval/mcp-grafana"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

24
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (24)

Tool

Description

get_datasource_by_uid

Get datasource by UID

get_incident

Get incident details

search_dashboards

Search for dashboards

get_datasource_by_name

Get datasource by name

query_loki_logs

Execute LogQL queries

create_incident

Create new incident

get_dashboard_by_uid

Get complete dashboard JSON

query_loki_stats

Get log stream statistics

add_activity_to_incident

Add notes to incidents

get_dashboard_summary

Get dashboard metadata

query_prometheus

Execute PromQL queries

list_loki_label_names

List log label names

Error

Solution

get_dashboard_property

Extract specific properties

list_prometheus_metric_names

List available metrics

list_loki_label_values

Get log label values

update_dashboard

Create or update dashboards

list_prometheus_label_names

List label names

find_error_pattern_logs

Find error patterns

list_datasources

List all datasources

list_prometheus_metric_metadata

Get metric metadata

list_incidents

List incidents

list_prometheus_label_values

Get label values

Works Well With - Skills

revops

When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and proc

1104 starsHas guide

schema

When the user wants to add, fix, or optimize schema markup and structured data on their site. Also use when the user mentions "schema markup," "structured data," "JSON-LD," "rich snippets," "schema.org," "FAQ schema," "product schema," "review schema," "breadcrumb schema," "Google rich results," "knowledge panel," "star ratings in search," or "add structured data." Use this whenever someone wants their pages to show enhanced results in Google. For broader SEO issues, see seo-audit. For AI search

1104 starsHas guide

social

When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms, or wants to do social listening and engagement triage. Also use when the user mentions 'LinkedIn post,' 'Twitter thread,' 'social media,' 'content calendar,' 'social scheduling,' 'engagement,' 'viral content,' 'what should I post,' 'repurpose this content,' 'tweet ideas,' 'LinkedIn carousel,' 'social media strategy,' 'grow my following,' 'Tik

1104 starsHas guide

referrals

When the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy. Also use when the user mentions 'referral,' 'affiliate,' 'ambassador,' 'word of mouth,' 'viral loop,' 'refer a friend,' 'partner program,' 'referral incentive,' 'how to get referrals,' 'customers referring customers,' or 'affiliate payout.' Use this whenever someone wants existing users or partners to bring in new customers. For launch-specific virality, see launch.

1104 starsHas guide