This plugin is currently in Preview.
Query your Datadog data directly from Claude Code using natural language. Ask about logs, metrics, traces, dashboards, monitors, and more.
- A Datadog account
- Claude Code IDE (v2.1.20+)
If you already have the Datadog MCP server registered separately (e.g., in
.claude/mcp.json), disable or remove it first to avoid conflicts by running/mcpin Claude Code.
Start Claude Code, add the marketplace, install the plugin, and restart Claude Code:
/plugin marketplace add DataDog/datadog-client-plugin#claude-code
/plugin install datadog@datadog-claude-code
Auto-updates: Enable auto-update so Claude Code notifies when an update is available. Run /plugin, select the Marketplaces tab, select datadog-claude-code, 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, restart Claude Code and then complete authentication.
You can manually trigger setup by running the
/ddsetupcommand.
Once connected, just ask the agent anything about your Datadog data:
Show me error logs from the last hour
What monitors are currently alerting?
Find traces for service "api-gateway" with latency > 500ms
List my dashboards
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.
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
Instead of OAuth, you can authenticate using a Datadog API key and application key. Set all three environment variables before starting Claude Code:
DD_MCP_DOMAIN=your-mcp-domain \
DD_API_KEY=your-api-key \
DD_APPLICATION_KEY=your-application-key \
claudeThe 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.
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/ddsetupor/ddconfigconfigured. 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/ddtoolsetsconfigured.
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.
- By default, authentication is handled via OAuth in your browser. Key authentication is also supported.
- No Datadog credentials are sent to the AI model provider.
See the LICENSE and NOTICE files included with this plugin.
For details on how Datadog handles your data, see the Datadog Privacy Policy.