50 tools from the Mcp Grafana Npx MCP Server, categorised by risk level.
View the Mcp Grafana Npx policy →find_error_pattern_logs Searches Loki logs for elevated error patterns compared to the last day's average, waits for the analysis to complete, and returns the results incl... find_slow_requests Searches relevant Tempo datasources for slow requests, waits for the analysis to complete, and returns the results. get_alert_group Get a specific alert group from Grafana OnCall by its ID. Returns the full alert group details. get_annotation_tags Returns annotation tags with optional filtering by tag name. Only the provided filters are applied. get_annotations Fetch Grafana annotations using filters such as dashboard UID, time range and tags. get_assertions Get assertion summary for a given entity with its type, name, env, site, namespace, and a time range get_current_oncall_users Get the list of users currently on-call for a specific Grafana OnCall schedule ID. Returns the schedule ID, name, and a list of detailed user objec... get_dashboard_by_uid Retrieves the complete dashboard, including panels, variables, and settings, for a specific dashboard identified by its UID. WARNING: Large dashboa... get_dashboard_panel_queries Retrieve panel queries from a Grafana dashboard. Supports all datasource types (Prometheus, Loki, CloudWatch, SQL, etc.) and row-nested panels. Opt... get_dashboard_property Get specific parts of a dashboard using JSONPath expressions to minimize context window usage. Common paths: '$.title' (title)\, '$.panels[*].title... get_dashboard_summary Get a compact summary of a dashboard including title\, panel count\, panel types\, variables\, and other metadata without the full JSON. Use this f... get_datasource Retrieves detailed information about a specific datasource by UID or name. Returns the full datasource model, including name, type, URL, access set... get_incident Get a single incident by ID. Returns the full incident details including title, status, severity, labels, timestamps, and other metadata. get_oncall_shift Get detailed information for a specific Grafana OnCall shift using its ID. A shift represents a designated time period within a schedule when users... get_panel_image Render a Grafana dashboard panel or full dashboard as a PNG image. Returns the image as base64 encoded data. Requires the Grafana Image Renderer se... get_sift_analysis Retrieves a specific analysis from an investigation by its UUID. The investigation ID and analysis ID should be provided as strings in UUID format. get_sift_investigation Retrieves an existing Sift investigation by its UUID. The ID should be provided as a string in UUID format (e.g. '02adab7c-bf5b-45f2-9459-d71a2c29e... list_alert_groups List alert groups from Grafana OnCall with filtering options. Supports filtering by alert group ID, route ID, integration ID, state (new, acknowled... list_datasources List all configured datasources in Grafana. Use this to discover available datasources and their UIDs. Supports filtering by type and pagination. list_incidents List Grafana incidents. Allows filtering by status ('active', 'resolved') and optionally including drill incidents. Returns a preview list with bas... list_loki_label_names Lists all available label names (keys) found in logs within a specified Loki datasource and time range. Returns a list of unique label strings (e.g... list_loki_label_values Retrieves all unique values associated with a specific `labelName` within a Loki datasource and time range. Returns a list of string values (e.g., ... list_oncall_schedules List Grafana OnCall schedules, optionally filtering by team ID. If a specific schedule ID is provided, retrieves details for only that schedule. Re... list_oncall_teams List teams configured in Grafana OnCall. Returns a list of team objects with their details. Supports pagination. list_oncall_users List users from Grafana OnCall. These are OnCall users (separate from Grafana users). Can retrieve all users in the OnCall directory, a specific us... list_prometheus_label_names List label names in a PromQL-compatible datasource (Prometheus, Thanos, Mimir, Cloud Monitoring, etc.). Allows filtering by series selectors and ti... list_prometheus_label_values Use after list_prometheus_metric_names to find label values for filtering queries. Gets the values for a specific label name in a PromQL-compatible... list_prometheus_metric_metadata List Prometheus metric metadata. Returns metadata about metrics currently scraped from targets. Note: This endpoint is experimental. list_prometheus_metric_names DISCOVERY: Call this first to find available metrics before querying. Lists metric names in a PromQL-compatible datasource (Prometheus, Thanos, Mim... list_pyroscope_label_names
Lists all available label names (keys) found in profiles within a specified Pyroscope datasource, time range, and
optional label matchers. Label m... list_pyroscope_label_values
Lists all available label values for a particular label name found in profiles within a specified Pyroscope datasource,
time range, and optional l... list_pyroscope_profile_types
Lists all available profile types available in a specified Pyroscope datasource and time range. Returns a list of all
available profile types (exa... 2/5 list_sift_investigations Retrieves a list of Sift investigations with an optional limit. If no limit is specified, defaults to 10 investigations. query_loki_logs Executes a LogQL query against a Loki datasource to retrieve log entries or metric values. Returns a list of results, each containing a timestamp, ... query_loki_patterns Retrieves detected log patterns from a Loki datasource for a given stream selector and time range. Returns a list of patterns, each containing a pa... query_loki_stats Retrieves statistics about log streams matching a given LogQL *selector* within a Loki datasource and time range. Returns an object containing the ... query_prometheus WORKFLOW: list_prometheus_metric_names -> list_prometheus_label_values -> query_prometheus. Query a PromQL-compatible datasource (Prometheus, Thano... query_prometheus_histogram Query Prometheus histogram percentiles. DISCOVER FIRST: Use list_prometheus_metric_names with regex='.*_bucket$' to find histograms.
Generates his... query_pyroscope
Unified Pyroscope query tool for fetching profiles or metrics from Pyroscope. Profile data shows WHICH functions consume resources; metrics data
s... 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. 2/5 search_folders Search for Grafana folders by a query string. Returns matching folders with details like title, UID, and URL. 2/5 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. U... 2/5 alerting_manage_routing Manage Grafana alerting routing configuration, including notification policies, contact points and time intervals.
Notification policies define ho... 2/5 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 aler... 3/5 create_annotation Create a new annotation on a dashboard or panel. Set format to 'graphite' and provide 'what' for Graphite-format annotations. 2/5 create_folder Create a Grafana folder. Provide a title and optional UID. Returns the created folder. 2/5 create_incident Create a new Grafana incident. Requires title, severity, and room prefix. Allows setting status and labels. This tool should be used judiciously an... 2/5 generate_deeplink Generate deeplink URLs for Grafana resources. Supports dashboards (requires dashboardUid), panels (requires dashboardUid and panelId), and Explore ... 2/5 update_annotation Updates the provided properties of an annotation by ID. Only fields included in the request are modified; omitted fields are left unchanged. 2/5 update_dashboard Create or update a dashboard. Two modes: (1) Full JSON — provide 'dashboard' for new dashboards or complete replacements. (2) Patch — provide 'uid'... 3/5 The Mcp Grafana Npx MCP server exposes 50 tools across 2 categories: Read, Write.
Use Intercept, the open-source MCP proxy. Write YAML rules for each tool — rate limits, argument validation, or deny rules — then run Intercept in front of the Mcp Grafana Npx server.
Mcp Grafana Npx tools are categorised as Read (41), Write (9). Each category has a recommended default policy.
Open source. One binary. Zero dependencies.
npx -y @policylayer/intercept