Skip to content
Weavz
Menu
Prometheus

Prometheus MCP integration

Prometheus metrics, PromQL queries, targets, rules, status, and firing alerts

Sign in, add Prometheus in Apps, then choose the account your AI can use.

7 tools
1 trigger
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Tools

Name
instant_query

Run a PromQL instant query through the stable /api/v1/query endpoint.

range_query

Run a PromQL range query through the stable /api/v1/query_range endpoint.

list_alerts

List active Prometheus alerts from /api/v1/alerts.

list_rules

List alerting and recording rules, optionally filtered by rule type and file.

list_targets

List scrape targets and health state from /api/v1/targets.

get_status

Read Prometheus status endpoints such as runtime info, build info, config, flags, and TSDB stats.

list_series

Find metric series matching one or more Prometheus selectors.

Triggers

Name
firing_alert

Poll Prometheus for newly firing alerts.

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('prometheus', 'instant_query', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'prometheus',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

Is there a Prometheus MCP server through Weavz?

Yes. Add the Prometheus integration to a Weavz workspace, enable the actions you need and connect any required account. Weavz provides the workspace MCP endpoint in Tool Mode or Code Mode. The catalog currently lists 7 Prometheus actions.

What can an AI agent do with Prometheus?

Available actions include Instant Query, Range Query, List Alerts, List Rules, List Targets, and more. Your workspace exposes only the actions you enable. The agent also needs the intended account access and any required input values.

How do I connect Prometheus to Claude or ChatGPT?

Use a compatible remote MCP client, add the Weavz connector and choose a workspace. Add Prometheus, connect the required account and review the enabled actions. Client availability and account requirements vary; adding the connector does not authorize every app automatically.

Can I use Prometheus through an API or SDK?

Yes, supported actions can run through the Weavz REST API, TypeScript SDK or Python SDK. Configure a workspace and the required connections, use scoped access, and pass the intended end-user context when acting for a customer.

What authentication does Prometheus require?

The catalog lists custom credentials for Prometheus. Use Hosted Connect to authorize the intended account. Required permissions, provider app access and available connection methods depend on the integration.

How do I review sensitive Prometheus actions?

Limit enabled actions, scope credentials to the intended user and configure Human Gates for the operations that need review. A matching policy can pause a send, record change or other sensitive action for an approver before execution.

What limits or costs apply to Prometheus?

Weavz plan limits apply to the actions and resources you use. The external provider may also require an account, a paid plan, API credits or specific permissions, and may enforce its own rate limits. Check current Weavz pricing and the provider’s terms before rollout.

What Prometheus triggers are available?

The catalog lists 1 triggers, including Firing Alert. Configure the trigger and your event handler before using incoming events to start work.

Connect Prometheus in minutes

Get 20,000 free action executions every month. No credit card required.