Datadog MCP Server

Datadog MCP servers enable AI models to interact with Datadog observability: metrics, logs, events, monitors, dashboards, and incidents.

October 19, 2026
MCP ServerDevelopment Tools & DevOpsDatadog MCP Server
GitHub starsnpm versionnpm downloads

Overview

The Datadog MCP Server bridges AI agents with Datadog by providing structured access to observability data and controls. It enables natural-language workflows over metrics, logs, events, dashboards, monitors, and incidents.

Community Server:

Maintained by GeLi2001 and distributed as the datadog-mcp-server npm package.

Key Features

πŸ“ˆ

Metrics & Logs

Query timeseries metrics and search logs with filtering and pagination

πŸ””

Monitors & Alerts

List and inspect monitor states for alerting and SLO overview

πŸ“Š

Dashboards & Incidents

Discover dashboards and fetch incidents for operational context

πŸ•΅οΈ

Events & Infrastructure

Fetch events and inspect monitor and infrastructure context

Available Tools

Quick Reference

ToolPurposeCategory
get-metricsList available metricsRead
get-metric-metadataGet metadata for a metricRead
search-logsSearch logs with filtersRead
aggregate-logsAggregate log dataAnalytics
get-monitorsRetrieve monitor statesMonitoring
get-monitorGet a monitor by IDMonitoring
get-dashboardsList dashboard definitionsDiscovery
get-dashboardGet a dashboard by IDDiscovery
get-eventsFetch events within a time rangeEvents
get-incidentsList incidentsIncident

Detailed Usage

get-metricsβ–Ά

List available metrics in your Datadog account.

use_mcp_tool({
  server_name: "datadog",
  tool_name: "get-metrics",
  arguments: {}
});
search-logsβ–Ά

Search logs with query, time window, pagination, and sorting.

use_mcp_tool({
  server_name: "datadog",
  tool_name: "search-logs",
  arguments: {
    filter: {
      query: "service:api-gateway status:error",
      from: "now-30m",
      to: "now"
    },
    limit: 50,
    sort: "-timestamp"
  }
});
get-monitorsβ–Ά

Retrieve monitor states with optional filters.

use_mcp_tool({
  server_name: "datadog",
  tool_name: "get-monitors",
  arguments: {
    groupStates: ["alert", "warn"]
  }
});
get-dashboardsβ–Ά

List dashboard definitions for discovery.

use_mcp_tool({
  server_name: "datadog",
  tool_name: "get-dashboards",
  arguments: {}
});
get-incidentsβ–Ά

List incidents with optional filtering and pagination.

use_mcp_tool({
  server_name: "datadog",
  tool_name: "get-incidents",
  arguments: {
    includeArchived: false,
    query: "state:active",
    pageSize: 10
  }
});

Installation

{
  "mcpServers": {
    "datadog": {
      "command": "npx",
      "args": [
        "datadog-mcp-server",
        "--apiKey", "your_api_key",
        "--appKey", "your_app_key",
        "--site", "datadoghq.com"
      ]
    }
  }
}

Regional Sites:

Use your Datadog site, e.g. datadoghq.eu, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com.

Sources