MCPVault

prometheus_range_query

MCP tool from Last9 MCP Server by last9

How to use it

prometheus_range_query is exposed by the Last9 MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the prometheus_range_query tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Last9 MCP Server

$claude mcp add --transport http last9 https://app.last9.io/api/v4/organizations/<org_slug>/mcp
FULL LAST9 MCP SERVER LISTING

Other tools in Last9 MCP Server (39)

baseline_start_time_iso

/ baselineendtimeiso (string, optional): Explicit baseline. Defaults to the immediately preceding equal-duration window.

body_filters

(array, optional): e.g. ["timeout", "failed"]. OR logic.

datasource

(string, optional): Restrict the comparison to one datasource.

db_system

(string, optional): e.g. postgresql, mysql, mongodb, redis.

env

(string, optional): Filter by environment.

get_apm_service_deviations
get_database_queries
get_database_server_metrics
get_database_slow_queries
get_databases
get_exceptions
get_log_attributes
get_logs
get_service_dependency_graph
get_service_environments
get_service_logs
get_service_operations_summary
get_service_performance_details
get_service_summary
host

(string, optional): Database host (netpeername).

index

(string, optional): physicalindex:<name> or rehydrationindex:<blockname>.

label

(string, required): Label name.

limit

(integer, optional): Max exceptions. Default: 20.

logjson_query

(array, required): JSON pipeline query.

lookback_minutes

(integer, optional): Default: 60.

match_query

(string, optional): PromQL filter.

max_services

/ maxoperations (integer, optional): Default 10, max 10 each.

min_duration_ms

(float, optional): Minimum query duration in ms.

prometheus_instant_query
prometheus_label_values
prometheus_labels
query

(string, required): The PromQL query.

region

(string, optional)

service_name

(string, optional): Filter by service.

severity_filters

(array, optional): e.g. ["error", "warn"]. OR logic.

sort_by

(string, optional): requestcount (default), throughputrpm, http4xxcount, http5xxcount, or grpcerrorcount.

span_name

(string, optional): Filter by span name.

start_time_iso

/ endtimeiso (string, optional): Absolute time range.

time_iso

(string, optional): Defaults to now.