
Datadog Mcp
io.github.TANTIOPEPublished by GitHub account TANTIOPEv1.0.9Updated Oct 24, 2026
Full Datadog API access: monitors, logs, metrics, traces, dashboards, and observability tools
Overview
A local MCP server that gives an AI assistant full Datadog observability access: monitors, logs, metrics, traces, dashboards, incidents, SLOs and more.
- What you can do
- List, search, create, update, mute and delete monitors, including dry-run validation and template previews; manage downtimes and hosts and their tags; read usage and billing summaries and validate API keys. Search and aggregate logs, inspect and edit log pipelines, indexes and archives. Query, search and inspect metrics timeseries and metadata. Search and aggregate APM traces and list services; search, aggregate, histogram and deduplicate events and incidents. List, get, create, update and delete dashboards, SLOs, synthetic tests, notebooks and incidents; trigger synthetic runs. Read RUM applications, events, performance and session waterfalls; list security rules, signals and findings; list
- When to use it
- Useful when you want an assistant to investigate production issues, correlate logs, traces and metrics, triage alerts and incidents, or manage Datadog monitors, dashboards, SLOs and synthetic tests from a chat client instead of the Datadog UI.
- Requirements
- Runs locally over stdio via the npm package datadog-mcp (Node.js, typically launched with npx). Requires a Datadog API key (DD_API_KEY) and application key (DD_APP_KEY); DD_SITE is optional for non-default regions. The keys' scopes determine which tools work. Network access to the Datadog API is needed.
Installation
In SourceWeft
- Open Datadog Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Datadog MCP Server
[Quality gate] [CI/Release] [npm] [License] [Coverage]
DISCLAIMER: This is a community-maintained project and is not officially affiliated with, endorsed by, or supported by Datadog, Inc. This MCP server utilizes the Datadog API but is developed independently.
MCP server providing AI assistants with full Datadog observability access. Features grep-like log search, APM trace filtering with duration/status/error queries, smart sampling modes for token efficiency, and cross-correlation between logs, traces, and metrics. Supports both stdio (local) and http (remote/Kubernetes) transports.
Quick Start
Minimal Claude Desktop / VS Code / Cursor config — just the two required keys:
With optional tuning (EU site, custom default limits, longer log windows):
To run as an HTTP server (e.g. inside a container or Kubernetes pod), add transport variables to the same env block:
Configuration
Required environment variables
Optional environment variables
Optional flags
Transports
Select with --transport=http or MCP_TRANSPORT=http.
Deployment
Docker
Kubernetes
Use environment variables — not container args — for transport configuration:
Note: Kubernetes
args:replaces the entire Dockerfile CMD, causing Node.js to receive the flags instead of your application. Environment variables avoid this issue.
Tools
Limit Control
AI assistants have full control over query limits. The MCP_DEFAULT_* environment variables only set the fallback used when the AI doesn't specify a limit — they do NOT cap what the AI can request.
Tool-level token reduction features (compact: true on logs, sample: "diverse" | "spread" | "first", field projections, diagnostics) are surfaced in each tool's MCP description and chosen by the AI at call time.
Notable behaviors
A handful of patterns worth knowing about — the AI can discover the rest from tool descriptions.
- Renotifies vs real fires.
monitors topandevents searchwithsource:alertcount every renotify Datadog emits (one everyrenotify_intervalwhile a monitor is Alert). To get actual state transitions, usemonitors history(defaults totransitionType: ["alert","alert recovery"]) or passtransitionTypetoevents search. - DST-safe time buckets.
events histogrambuckets byhour_of_day/day_of_week/day_of_monthin any IANAtimezoneviaIntl.DateTimeFormat. Cursor-paginates the underlying search; cap controlled byMCP_MAX_EVENTS_HISTOGRAM(default 5000) withbucketCountIncomplete+nextCursoron overflow. - Validate before create.
monitors createwithdry_run: truecalls/api/v1/monitor/validateinstead of persisting. Allowed in--read-onlymode. - Monitor template preview.
monitors previewrenders a notification against acontextpayload — variable substitution + Datadog's six documented conditionals (is_alert,is_warning,is_no_data,is_recovery,is_alert_to_warning,is_warning_to_alert) + the tag conditionals{{#is_match "tag" "val"}}(substring) and{{#is_exact_match "tag" "val"}}(exact), with^negations and OR'd multiple comparison values (resolved againstcontext.variables; case-sensitive).{{#each}}and partials throwEUNSUPPORTED_TEMPLATE_SYNTAX. - SLO round-trip.
slos getprojectsquery,monitorIds,monitorTags,groups, and a UIurlso you can edit and feed back intoslos updatewithout dropping definition fields. - Cross-correlation.
logs(sample:"diverse")→ pulldd.trace_id→traces(query:"trace_id:<id>")→metrics(query:"p95:trace.express.request{service:...}")(root metric without.durationfor percentiles).
Deep links
Every query response includes a datadog_url field built for your configured DD_SITE — datadoghq.com (default), .eu, us3 / us5 / ap1.datadoghq.com, or ddog-gov.com. Supported on logs, metrics, traces, events, monitors, rum, slos.
Contributing
Contributions are welcome! Feel free to open an issue or a pull request if you have any suggestions, bug reports, or improvements to propose.
License
This project is licensed under the Apache License, Version 2.0.
Source: README.md at commit 29f2696
Tools
0Version history
1- v1.0.9LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts