datadog
MCP server by us-all Community
Datadog MCP server with 163 tools for metrics, monitors, logs, APM, RUM, SLOs, incidents and fleet automation. Built for engineers who want to query or manage Datadog from an AI assistant.
Install datadog
Built from the published package, never by AI.
claude mcp add datadog -e DD_API_KEY=YOUR_DD_API_KEY -e DD_APP_KEY=YOUR_DD_APP_KEY -- npx -y @us-all/datadog-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"datadog": {
"env": {
"DD_API_KEY": "YOUR_DD_API_KEY",
"DD_APP_KEY": "YOUR_DD_APP_KEY"
},
"args": [
"-y",
"@us-all/datadog-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"datadog": {
"env": {
"DD_API_KEY": "YOUR_DD_API_KEY",
"DD_APP_KEY": "YOUR_DD_APP_KEY"
},
"args": [
"-y",
"@us-all/datadog-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"datadog": {
"env": {
"DD_API_KEY": "YOUR_DD_API_KEY",
"DD_APP_KEY": "YOUR_DD_APP_KEY"
},
"args": [
"-y",
"@us-all/datadog-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add datadog --env DD_API_KEY=YOUR_DD_API_KEY --env DD_APP_KEY=YOUR_DD_APP_KEY -- npx -y @us-all/datadog-mcp{
"mcpServers": {
"datadog": {
"env": {
"DD_API_KEY": "YOUR_DD_API_KEY",
"DD_APP_KEY": "YOUR_DD_APP_KEY"
},
"args": [
"-y",
"@us-all/datadog-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add datadog npx -y @us-all/datadog-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the datadog block.
About
The Datadog MCP server gives an AI assistant 163 tools across the Datadog API. They cover metrics, monitors, logs, APM, RUM, SLOs, incidents, synthetics, CI visibility, fleet automation and status pages. Two aggregation tools, analyze-monitor-state and slo-compliance-snapshot, combine several API calls into one structured response. The server runs over stdio by default, or over Streamable HTTP when MCP_TRANSPORT is set to http.
Users supply a Datadog API key, an Application key and a Datadog site. Write operations are blocked unless DD_ALLOW_WRITE is set to true, and DD_TOOLS can limit which tool categories load. It suits teams that need full API coverage, SLO and status-page writes, or self-hosting for internal or isolated Datadog sites.
Written from the project's README and checked against it.
Tools it gives your assistant
analyze-monitor-stateAggregation tool that combines several monitor API calls into one structured response.slo-compliance-snapshotAggregation tool that summarises SLO compliance in one response, with a caveats array.create-sloCreates an SLO. Requires DD_ALLOW_WRITE=true.search-logsSearches Datadog logs.query-metricsQueries Datadog metrics.search-rum-eventsSearches RUM events.search-spansSearches APM spans.get-incidentRetrieves a single incident by ID.search-toolsMeta-tool that lets the assistant discover available tools at runtime.list-hostsLists hosts in the Datadog account.
What you need
- Datadog API key (DD_API_KEY)
- Datadog Application key (DD_APP_KEY)
- Node.js with npx, or Docker
- Datadog site setting (DD_SITE), default us5.datadoghq.com
| Setting | Needed | What it is |
|---|---|---|
DD_Environment variable, secret | Required | Datadog API key |
DD_Environment variable, secret | Required | Datadog application key |
DD_Environment variable | Optional | Datadog site (datadoghq.com, datadoghq.eu, us3.datadoghq.com, etc.) Default: datadoghq.com |
DD_Environment variable | Optional | Comma-separated category allowlist (e.g. metrics,monitors,logs). Default: all categories enabled. |
DD_Environment variable | Optional | Comma-separated category disablelist. |
DD_Environment variable | Optional | Set to 'true' to enable write/destructive tools. Default read-only. Default: false |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- List my SLOs and their error budget remaining this month, grouped by status.
- Find monitors that alerted more than 10 times in the last 7 days but had short MTTR.
- Pull the linked monitors and recent APM error spikes for an active incident.
Good to know
- Write tools are disabled unless DD_ALLOW_WRITE is set to true.
- Streamable HTTP mode requires MCP_HTTP_TOKEN for Bearer auth unless skipped behind a proxy.
- Loading all categories uses about 25,200 tokens of tool schema; category toggles reduce this.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to datadog
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
datadog: common questions
Can this server change my Datadog account?
By default, all write tools are blocked. Setting DD_ALLOW_WRITE=true enables create, update and delete tools, including monitors, dashboards and SLOs.
Can I reduce the number of tools the assistant loads?
Yes. The DD_TOOLS variable takes a comma-separated allowlist of categories, and DD_DISABLE takes a denylist. The search-tools meta-tool also lets the assistant find tools at runtime.
How does it differ from Datadog's official MCP?
The source describes Datadog's Bits AI MCP as complementary. This server is self-hosted, covers the full API surface with 163 tools, and adds SLO write, fleet automation and status-page tools.
How do I install datadog?
In Claude Code run claude mcp add datadog -e DD_API_KEY=YOUR_DD_API_KEY -e DD_APP_KEY=YOUR_DD_APP_KEY -- npx -y @us-all/datadog-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is datadog the official server?
datadog is a community project by us-all, not verified by a company domain.
Is datadog free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is datadog safe to use?
It scores 67 of 100. Grades: maintenance C, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to datadog?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does datadog work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
