ClawLink

How to connect Grafana to OpenClaw

Connect Grafana to OpenClaw with ClawLink: paste your Grafana key once and 11 tools work from chat. No MCP server to run, nothing stored on your machine.

Get started for free
OpenClaw
OpenClaw
ClawLink
ClawLink
Grafana
Grafana
GrafanaOAUTH2MCP

Query dashboards, alerts, and metrics. Once connected, OpenClaw can read and act on Grafana from chat — pairing, token refresh, and tool wiring handled for you.

11 tools

The usual route to Grafana access for OpenClaw is an MCP server you configure and keep running, plus your own OAuth app or API keys. ClawLink gives OpenClaw a more practical Grafana setup: install one ClawHub skill, connect Grafana in the browser, and OpenClaw can call real Grafana actions from any chat surface with no auth, token refresh, or tool wiring to build yourself.

Copy this prompt into OpenClaw, or open the Grafana skill on ClawHub.

Prompt for OpenClaw
Before installing anything, inspect the ClawHub skill metadata and setup requirements.
If the skill asks you to install a third-party package or CLI, verify its source, maintainer, and package contents before running the install command.
Install the skill "Grafana" (hith3sh/grafana-monitoring) from ClawHub only after those checks pass.
Skill page: https://clawhub.ai/hith3sh/grafana-monitoring
Keep the work scoped to this skill only.
After install, help me finish setup from verified skill metadata.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Setup

It takes three steps to connect OpenClaw to Grafana.

  1. 1

    Install the plugin

    Paste the setup prompt into OpenClaw, or install from the terminal and ask OpenClaw to pair:

    openclaw plugins install clawhub:clawlink-plugin
  2. 2

    Connect Grafana

    Enter your account details in the dashboard.

  3. 3

    Use it from chat

    Ask OpenClaw: "What can you do with Grafana?"

Install by command

The setup prompt above does all of this in one paste. By hand, it is one install command plus a browser approval:

openclaw plugins install clawhub:clawlink-plugin

Then ask OpenClaw to set up ClawLink. It starts browser pairing and prints an approval link — open it, approve the device, return to the chat, and say done. Finally, connect Grafana in the ClawLink dashboard — enter your Grafana account details once.

Verify the connection by asking OpenClaw:

Create it in Grafana for me, then confirm the important fields before you finish.

Using a different agent?

The OpenClaw plugin is one client of ClawLink's MCP server. Claude Code, Cursor, Codex, or any agent that can run a shell command pairs with the same ClawLink account through the CLI:

npx -y @useclawlink/cli login

login opens the same browser approval and stores a credential locally. Once Grafana is connected in the dashboard, that agent calls the same 11 Grafana tools over MCP. Full setup for MCP clients and shell agents: connect apps to any AI agent.

Grafana MCP for OpenClaw

Looking for a Grafana MCP server for OpenClaw? ClawLink connects Grafana to OpenClaw and exposes 11 Grafana tools your agent can call over MCP, with hosted auth and nothing to run or maintain yourself. Using Hermes instead? The Hermes Grafana integration works the same way.

What the OpenClaw Grafana integration can do

11 Grafana tools are ready for OpenClaw once the account is connected.

All 11 Grafana tools for OpenClaw

ToolWhat it does
Create otlp v1 logs grafana_create_otlp_v1_logsTool to create OTLP v1 logs in Grafana Loki. Use when you need to send OpenTelemetry Protocol logs to Grafana for ingestion and storage.
Get distributor ha tracker grafana_get_distributor_ha_trackerTool to retrieve distributor HA tracker status. Use when you need to check which replica has been elected as leader for each Prometheus HA cluster.
Get health grafana_get_healthCheck Grafana server health and database connectivity. Returns 'ok' if Grafana's web server is running and can access the database.
Get index gateway ring grafana_get_index_gateway_ringTool to retrieve the index gateway hash ring status from Grafana Loki. Returns information about the state, health, and last heartbeat time of each index gateway in the ring.
Get overrides exporter ring grafana_get_overrides_exporter_ringTool to retrieve the overrides-exporter hash ring status as an HTML page. Use when you need to check the state, health, and heartbeat information of overrides-exporter instances.
Get ruler ring grafana_get_ruler_ringTool to retrieve the ruler ring status from Grafana Mimir. Use when you need to check the distributed hash ring topology and operational status of ruler instances.
Get status grafana_get_statusTool to check if a valid Grafana Enterprise license is available. Use when you need to verify license status or availability.
Get store gateway tenants grafana_get_store_gateway_tenantsRetrieves store gateway tenants. Returns a list of tenants that have blocks stored in the store-gateway's configured storage.
Post acs grafana_post_acsTool to perform SAML Assertion Consumer Service (ACS) operation. Use when processing SAML authentication responses from an identity provider.
Query public dashboard grafana_query_public_dashboardQuery a panel on a public Grafana dashboard to retrieve time-series data and metrics. Use when you need to fetch visualization data from a publicly shared dashboard without authentication.
Retrieve jwks grafana_retrieve_jwksTool to retrieve JSON Web Key Set (JWKS) with all public keys for token verification. Use when you need to get the keys that can verify JWT tokens.

Try it: find the Grafana tool you need

Browse the 11 Grafana tools

Click any tool to see exactly what OpenClaw can do and copy a ready-to-use prompt.

Example prompts

Create it in Grafana for me, then confirm the important fields before you finish.

Pull the relevant data from Grafana, summarize it in plain English, and point out anything that needs attention.

Pull the relevant data from Grafana, summarize it in plain English, and point out anything that needs attention.

Pull the relevant data from Grafana, summarize it in plain English, and point out anything that needs attention.

The alternative to ClawLink is usually manual credential setup plus your own token handling, permission troubleshooting, and tool plumbing for OpenClaw. That is fine if you want to build and maintain the integration yourself. Most teams just want Grafana working from chat.

ManualClawLink
Setup flowCollect and store the right Grafana credentials yourself, then keep the account mapping and request format correct.ClawLink keeps the setup in one hosted flow so non-technical users can link Grafana without custom integration screens.
Ongoing maintenanceYou own refresh logic, permission debugging, environment config, and every provider-specific edge case for Grafana.ClawLink handles the repetitive integration plumbing so your team can focus on the workflow instead of the infrastructure.
Agent usabilityYou still need to expose the right Grafana actions to the runtime in a format your agent can reliably use.11 tools for Grafana are already exposed through ClawLink, so the agent can read and act from chat immediately.

Composio also exposes Grafana to AI agents. It is developer infrastructure: Python and TypeScript SDKs, an MCP server, and a catalog past 1,000 apps, aimed at teams shipping agent products. ClawLink is built for OpenClaw users instead. You install the plugin once, connect Grafana in the browser, and the 11 tools above work from chat. There is no SDK and no config file, and the Grafana key you paste at setup is stored server-side rather than kept in your environment. Choosing between them? Read the full Composio alternatives comparison.

Troubleshooting

OpenClaw installed the Grafana skill but can't call the tools

The ClawHub skill teaches OpenClaw about Grafana, but the calls run through the ClawLink plugin and your connected account. Make sure Grafana is connected in the dashboard, then start a fresh chat so OpenClaw reloads the tool catalog. If OpenClaw runs as a persistent gateway, restart it so the new tools register.

Connection succeeds but no tools appear

Reconnect Grafana from the dashboard, then start a fresh chat if the runtime still has the old tool catalog loaded.

"Tool schema not loaded yet" error when calling Grafana tools

Grafana tool schemas load on demand the first time a tool runs and are cached after that, so this error usually clears on its own: wait a few seconds and retry the same request. If every Grafana call keeps failing with it in a fresh chat, reconnect from the dashboard, and contact support if it still persists — that pattern points to a configuration problem on our side, not something you can fix by reconnecting again.

Grafana returns 403 or "permission denied" on one action while others work

Two usual causes. The connected account may not have access to the specific workspace, inbox, store, or project in the request — check that first. If access looks right, the agent may have sent a placeholder value (like "YOUR_ID" or an example id from documentation) instead of a real one: ask it to run a list or search tool first, then retry the action with a real id from those results. Most failures at this stage are one of these two, not ClawLink bugs.

The setup form accepts credentials but calls still fail

Re-enter the credentials carefully and verify the account-level permissions for Grafana. Basic and token-based integrations tend to fail on formatting mistakes or limited account roles.

FAQ

Is there a OpenClaw Grafana integration?

Yes. ClawLink is the fastest way to connect OpenClaw to Grafana: link your Grafana account once in the browser and OpenClaw can call the Grafana API through 11 ready-made tools — no custom code or token handling.

How do I add Grafana to OpenClaw with ClawLink?

Paste the setup prompt from this page into OpenClaw. It installs the ClawLink Grafana skill from ClawHub, then you click Connect in the dashboard to authorize Grafana. OpenClaw calls the tools from the next message — no config files, and the Grafana key you paste is stored server-side instead of in your environment.

How long does it take to connect Grafana to OpenClaw?

About two minutes. Sign in, click Connect next to Grafana in the dashboard, authenticate, and OpenClaw can use it from the next chat message.

Why use ClawLink instead of wiring Grafana up myself?

The alternative to ClawLink is usually manual credential setup plus your own token handling, permission troubleshooting, and tool plumbing for OpenClaw. That is fine if you want to build and maintain the integration yourself. Most teams just want Grafana working from chat.

OpenClaw installed the Grafana skill but can't call the tools

The ClawHub skill teaches OpenClaw about Grafana, but the calls run through the ClawLink plugin and your connected account. Make sure Grafana is connected in the dashboard, then start a fresh chat so OpenClaw reloads the tool catalog. If OpenClaw runs as a persistent gateway, restart it so the new tools register.