Grafana
Open-source observability platform for metrics, logs, and traces visualization
Tools
| Name | Description |
|---|---|
list_dashboardsSearch and list dashboards in Grafana | Search and list dashboards in Grafana |
get_dashboardGet a dashboard by its UID | Get a dashboard by its UID |
create_alert_ruleCreate a new alert rule via the provisioning API | Create a new alert rule via the provisioning API |
get_alert_ruleGet a Grafana-managed alert rule by UID via the provisioning API. | Get a Grafana-managed alert rule by UID via the provisioning API. |
update_alert_ruleUpdate one Grafana-managed alert rule by exact UID. Requires explicit confirmation. | Update one Grafana-managed alert rule by exact UID. Requires explicit confirmation. |
delete_alert_ruleDelete one Grafana-managed alert rule by exact UID. Requires explicit confirmation. | Delete one Grafana-managed alert rule by exact UID. Requires explicit confirmation. |
list_alertsList all provisioned alert rules | List all provisioned alert rules |
list_contact_pointsList Grafana alerting contact points through the provisioning API. | List Grafana alerting contact points through the provisioning API. |
list_alertmanager_alertsList active alerts from Grafana Alertmanager. | List active alerts from Grafana Alertmanager. |
custom_api_callMake a custom API call to the Grafana HTTP API | Make a custom API call to the Grafana HTTP API |
Triggers
| Name | Description |
|---|---|
alert_firedTriggers when a Grafana alert fires via a webhook contact point | Triggers when a Grafana alert fires via a webhook contact point |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('grafana', 'list_dashboards', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'grafana',
input: { /* ... */ },
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect Grafana to my app?
Use Weavz Hosted Connect for Custom authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.
What tools does Grafana support?
Grafana supports 10 tools including List Dashboards, Get Dashboard, Create Alert Rule, Get Alert Rule, Update Alert Rule, and more.
Can I use Grafana with AI agents?
Yes. Add Grafana to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.
How do I connect Grafana to ChatGPT or Claude?
Open the Weavz connector setup, sign in, choose a workspace, and add Grafana as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped Grafana tools exposed by that workspace.
Does Grafana work with Claude Code, Cursor, Codex, and local agents?
Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved Grafana work, and execute Code Mode workflows from a terminal.
What can I ask an AI agent to do with Grafana?
Grafana exposes 10 tools, including List Dashboards, Get Dashboard, Create Alert Rule, Get Alert Rule, Update Alert Rule, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.
Can Grafana be used in stateful agent workflows?
Yes. Agents can combine Grafana tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.
What authentication does Grafana use?
Grafana uses Custom. Weavz stores credentials securely and uses them for authorized action execution.
How much does the Grafana integration cost?
The Grafana integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.
What triggers does Grafana support?
Grafana supports 1 triggers including Alert Fired.
Connect Grafana in minutes
Get 20,000 free action executions every month. No credit card required.