Skip to main content
plugin

datadog · datadog-labs — Claude Code plugin for Datadog queries

Connect Claude Code to Datadog through an MCP server and ask about logs, metrics, traces, or dashboards. The plugin is in Preview.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin install datadog@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-official
Open on GitHub

What datadog does

Once connected to a Datadog account, Claude Code can answer questions about observability data in natural language. Ask it to find service errors, inspect alerting monitors, or locate traces by service and latency. Browser-based OAuth is the default; setup guides you through choosing the Datadog MCP domain.

You need a Datadog account and Claude Code v2.1.30 or later. If you already registered the Datadog MCP server separately, remove or disable that entry before installing this plugin to avoid a conflict. Use /ddsetup to connect, /ddconfig to check the site, authentication, and network access, and /ddtoolsets to manage tool groups. The /ddviz command controls the visualization panel. This plugin is still in Preview.

What it helps with

  • find error logs for a named service
  • check which monitors are alerting
  • search traces by service and latency threshold
  • list Datadog dashboards

Example prompts for the agent

  • Find error logs for the checkout service from the last hour.
  • Which monitors are alerting right now?
  • Show traces for api-gateway with latency above 500 ms.

How to install datadog

Plugin marketplace

/plugin install datadog@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-official

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about datadog

How do I install datadog in Claude Code?

In Claude Code, add the marketplace with /plugin marketplace add anthropics/claude-plugins-official, then install the plugin with /plugin install datadog@claude-plugins-official.

What does datadog do?

It connects Claude Code to Datadog through an MCP server. You can ask the agent about logs, metrics, traces, dashboards, and monitors.

What do I need to use datadog?

You need a Datadog account and Claude Code v2.1.30 or later. Disable or remove a separately registered Datadog MCP server before installing to prevent a conflict.

Source text

SKILL.md · Apache-2.0
**This plugin is currently in Preview.**

# Datadog Claude Code Plugin

Query your Datadog data directly from Claude Code using natural language. Ask about logs, metrics, traces, dashboards, monitors, and more.

## What you need

- A [Datadog](https://www.datadoghq.com/) account
- [Claude Code](https://code.claude.com/docs) (v2.1.30+)

## Getting started

> If you already have the Datadog MCP server registered separately (e.g., in `.claude/mcp.json`), disable or remove it first to avoid conflicts. Run `/mcp` in Claude Code, then restart Claude Code.

Start Claude Code, install the plugin from the official marketplace:

```
/plugin install datadog@claude-plugins-official
```

> Auto-updates: Enable auto-update so Claude Code notifies when an update is available. Run /plugin, select the Marketplaces tab, select claude-plugins-official, then select Enable auto-update.

Before you can start querying your Datadog data, you’ll need to connect the plugin to Datadog using your account. The setup process will guide you in selecting the correct Datadog MCP domain. After setup, follow the instructions shown in Claude Code.

> You can manually trigger setup by running the `/ddsetup` command.

## Using the plugin

Once connected, just ask the agent anything about your Datadog data:

```
Show me error logs for the "checkout" service from the last hour
```

```
What monitors are currently alerting?
```

```
Find traces for service "api-gateway" with latency > 500ms
```

```
List my dashboards
```

## Can't connect?

**Never connected before?** Run the `/ddsetup` command. It will help you provide the correct Datadog MCP domain and set up the MCP server.

**Was working before but stopped?** Run the `/ddconfig` command. It will check your site, authentication status, and network access to help diagnose the issue.

## Changing settings

The plugin provides a few commands you can run in the agent to manage configuration:

- `/ddconfig` — change your Datadog site or switch organizations
- `/ddtoolsets` — enable or disable groups of tools
- `/ddviz` — enable, disable, or check the status of the visualization panel

## Advanced usage

### Key authentication

Instead of OAuth, you can authenticate using a Datadog API key and application key. Set all three environment variables before starting Claude Code:

```bash
DD_MCP_DOMAIN=your-mcp-domain \
DD_API_KEY=your-api-key \
DD_APPLICATION_KEY=your-application-key \
claude
```

The `DD_MCP_DOMAIN` value must be the MCP domain (e.g. `mcp.datadoghq.com`, `mcp.us3.datadoghq.com`, `mcp.datadoghq.eu`), not a URL — do not include `https://`. When using key authentication, `/ddsetup` is not required — the plugin connects directly.

### Environment variable overrides

The plugin uses environment variables with default values in its registration file. You can override these defaults by setting the environment variables directly:

- `DD_MCP_DOMAIN` — overrides the Datadog MCP domain. If set, the plugin uses this value regardless of what `/ddsetup` or `/ddconfig` configured. Useful for non-standard environments or key authentication.
- `DD_MCP_TOOLSETS` — overrides the enabled toolsets (comma-separated). If set, the plugin uses this value regardless of what `/ddtoolsets` configured.

When environment variables are set, `/ddsetup`, `/ddconfig`, and `/ddtoolsets` still edit the default values in the registration file, but those defaults won't take effect until the environment variables are removed.

## Good to know

- By default, authentication is handled via OAuth in your browser. Key authentication is also [supported](#key-authentication).
- No Datadog credentials are sent to the AI model provider.
- On macOS, visualization tool results can render in a native side panel. Run `/ddviz` to enable, disable, or check its status. Disabling applies to every Claude Code install sharing the default data directory (a dev build with `DDVIZ_DATA_DIR` set is controlled separately).
- When the panel can't render, the plugin sends lightweight telemetry (a failure-reason code only, never your queries or results) so we can spot broken setups. Opt out with `DO_NOT_TRACK` or `DISABLE_TELEMETRY`.

## Support

- [Datadog MCP Server Documentation](https://docs.datadoghq.com/mcp_server/)

## Legal

See the [LICENSE](LICENSE) and [NOTICE](NOTICE) files included with this plugin.

For details on how Datadog handles your data, see the [Datadog Privacy Policy](https://www.datadoghq.com/legal/privacy).

© Datadog · Apache-2.0 · datadog-labs/claude-code-plugin

Similar plugins

All plugins for DevOps and infrastructure →

datadog by other authors comes first.

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor