# Grafana MCP Server MCP server

Agent View of the PolicyLayer registry record for Grafana MCP Server: identity, probed posture, risk grade, and all 43 tools classified. HTML page: https://policylayer.com/tools/0xteamhq-mcp-grafana

## Facts

- Server id: `0xteamhq/mcp-grafana`
- Homepage: https://github.com/0xteamhq/mcp-grafana
- Registry record: grade C, identity unverified
- Lifecycle: active
- Rate-limited: no
- Tools: 43
- Tool categories present: Read, Write
- Tags: 0xteamhq mcp grafana
- Record last modified: 2026-06-29T12:38:52.356Z

## Tools (43)

| Tool | Category | Risk | Record |
| --- | --- | --- | --- |
| `query_loki_logs` | Execute | High | https://policylayer.com/tools/0xteamhq-mcp-grafana/query-loki-logs.md |
| `fetch_pyroscope_profile` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/fetch-pyroscope-profile.md |
| `find_error_pattern_logs` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/find-error-pattern-logs.md |
| `find_slow_requests` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/find-slow-requests.md |
| `generate_deeplink` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/generate-deeplink.md |
| `get_alert_rule_by_uid` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/get-alert-rule-by-uid.md |
| `get_assertions` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/get-assertions.md |
| `get_current_oncall_users` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/get-current-oncall-users.md |
| `get_dashboard_by_uid` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/get-dashboard-by-uid.md |
| `get_dashboard_panel_queries` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/get-dashboard-panel-queries.md |
| `get_dashboard_property` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/get-dashboard-property.md |
| `get_dashboard_summary` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/get-dashboard-summary.md |
| `get_datasource_by_name` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/get-datasource-by-name.md |
| `get_datasource_by_uid` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/get-datasource-by-uid.md |
| `get_incident` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/get-incident.md |
| `get_oncall_shift` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/get-oncall-shift.md |
| `get_sift_analysis` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/get-sift-analysis.md |
| `get_sift_investigation` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/get-sift-investigation.md |
| `list_alert_rules` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-alert-rules.md |
| `list_contact_points` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-contact-points.md |
| `list_datasources` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-datasources.md |
| `list_incidents` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-incidents.md |
| `list_loki_label_names` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-loki-label-names.md |
| `list_loki_label_values` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-loki-label-values.md |
| `list_oncall_schedules` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-oncall-schedules.md |
| `list_oncall_teams` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-oncall-teams.md |
| `list_oncall_users` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-oncall-users.md |
| `list_prometheus_label_names` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-prometheus-label-names.md |
| `list_prometheus_label_values` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-prometheus-label-values.md |
| `list_prometheus_metric_metadata` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-prometheus-metric-metadata.md |
| `list_prometheus_metric_names` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-prometheus-metric-names.md |
| `list_pyroscope_label_names` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-pyroscope-label-names.md |
| `list_pyroscope_label_values` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-pyroscope-label-values.md |
| `list_pyroscope_profile_types` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-pyroscope-profile-types.md |
| `list_sift_investigations` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-sift-investigations.md |
| `list_teams` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-teams.md |
| `list_users_by_org` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/list-users-by-org.md |
| `query_loki_stats` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/query-loki-stats.md |
| `query_prometheus` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/query-prometheus.md |
| `search_dashboards` | Read | Low | https://policylayer.com/tools/0xteamhq-mcp-grafana/search-dashboards.md |
| `add_activity_to_incident` | Write | Medium | https://policylayer.com/tools/0xteamhq-mcp-grafana/add-activity-to-incident.md |
| `create_incident` | Write | Medium | https://policylayer.com/tools/0xteamhq-mcp-grafana/create-incident.md |
| `update_dashboard` | Write | Medium | https://policylayer.com/tools/0xteamhq-mcp-grafana/update-dashboard.md |

## Tool descriptions

- `query_loki_logs` — Executes a LogQL query against a Loki datasource to retrieve log entries or metric values
- `fetch_pyroscope_profile` — Fetches a profile from a Pyroscope data source for a given time range
- `find_error_pattern_logs` — Searches Loki logs for elevated error patterns compared to the last day\
- `find_slow_requests` — Searches relevant Tempo datasources for slow requests and returns the results
- `generate_deeplink` — Generate deeplink URLs for Grafana resources. Supports dashboards, panels, and Explore queries
- `get_alert_rule_by_uid` — Retrieves the full configuration and detailed status of a specific Grafana alert rule
- `get_assertions` — Get assertion summary for a given entity with its type, name, env, site, namespace, and time range
- `get_current_oncall_users` — Get the list of users currently on-call for a specific Grafana OnCall schedule
- `get_dashboard_by_uid` — Retrieves the complete dashboard, including panels, variables, and settings, for a specific dashboard identified by its UID
- `get_dashboard_panel_queries` — Retrieve panel queries and information from a Grafana dashboard
- `get_dashboard_property` — Get specific parts of a dashboard using JSONPath expressions to minimize context window usage
- `get_dashboard_summary` — Get a compact summary of a dashboard including title, panel count, panel types, variables, and other metadata
- `get_datasource_by_name` — Retrieves detailed information about a specific datasource using its name.
- `get_datasource_by_uid` — Retrieves detailed information about a specific datasource using its UID.
- `get_incident` — Get a single incident by ID. Returns the full incident details
- `get_oncall_shift` — Get detailed information for a specific Grafana OnCall shift
- `get_sift_analysis` — Retrieves a specific analysis from an investigation by its UUID
- `get_sift_investigation` — Retrieves an existing Sift investigation by its UUID
- `list_alert_rules` — Lists Grafana alert rules, returning a summary including UID, title, current state, and labels
- `list_contact_points` — Lists Grafana notification contact points, returning a summary including UID, name, and type
- `list_datasources` — List available Grafana datasources. Optionally filter by datasource type.
- `list_incidents` — List Grafana incidents. Allows filtering by status and optionally including drill incidents
- `list_loki_label_names` — Lists all available label names (keys) found in logs within a specified Loki datasource and time range
- `list_loki_label_values` — Retrieves all unique values associated with a specific labelName within a Loki datasource and time range
- `list_oncall_schedules` — List Grafana OnCall schedules, optionally filtering by team ID
- `list_oncall_teams` — List teams configured in Grafana OnCall
- `list_oncall_users` — List users from Grafana OnCall. Can retrieve all users, a specific user, or filter by username
- `list_prometheus_label_names` — List label names in a Prometheus datasource. Allows filtering by series selectors and time range.
- `list_prometheus_label_values` — Get the values for a specific label name in Prometheus. Allows filtering by series selectors and time range.
- `list_prometheus_metric_metadata` — List Prometheus metric metadata. Returns metadata about metrics currently scraped from targets.
- `list_prometheus_metric_names` — List metric names in a Prometheus datasource. Retrieves all metric names and filters them using regex.
- `list_pyroscope_label_names` — Lists all available label names found in profiles within a Pyroscope datasource
- `list_pyroscope_label_values` — Lists all available label values for a particular label name in profiles
- `list_pyroscope_profile_types` — Lists all available profile types in a Pyroscope datasource
- `list_sift_investigations` — Retrieves a list of Sift investigations with an optional limit
- `list_teams` — Search for Grafana teams by a query string. Returns a list of matching teams with details
- `list_users_by_org` — List users by organization. Returns a list of users with details like userid, email, role etc
- `query_loki_stats` — Retrieves statistics about log streams matching a given LogQL selector within a Loki datasource
- `query_prometheus` — Query Prometheus using a PromQL expression. Supports both instant and range queries.
- `search_dashboards` — Search for Grafana dashboards by a query string. Returns a list of matching dashboards with details like title, UID, folder, tags, and URL.
- `add_activity_to_incident` — Add a note (userNote activity) to an existing incident\
- `create_incident` — Create a new Grafana incident. Requires title, severity, and room prefix
- `update_dashboard` — Create or update a dashboard using either full JSON or efficient patch operations

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=0xteamhq-mcp-grafana · API: https://policylayer.com/registry/api · Recommended policies for every tool: https://policylayer.com/policies/0xteamhq-mcp-grafana
