
Datadog
Plugin在 Claude Code 中预置 Datadog MCP,用自然语言查询日志、指标、链路追踪、看板与告警,排查线上问题。Datadog 官方维护,需要 Datadog 账号(OAuth 或 API Key),目前为预览版。
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 account
- Claude Code (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/mcpin 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
/ddsetupcommand.
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 core and visualizations toolsets are enabled by default. Use /ddtoolsets to change your selection.
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 diagnose 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:
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/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.
Good to know
- 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.
- On macOS, visualization tool results can render in a native side panel. Run
/ddvizto enable, disable, or check its status. Disabling applies to every Claude Code install sharing the default data directory (a dev build withDDVIZ_DATA_DIRset is controlled separately). If the panel isn't showing,/ddvizalso diagnoses why and points you at the fix. - 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_TRACKorDISABLE_TELEMETRY.
Support
Legal
See the LICENSE and NOTICE files included with this plugin.
For details on how Datadog handles your data, see the Datadog Privacy Policy.
相关资源

阿里云可观测 MCP Server
MCP让 agent 查询阿里云 SLS、云监控 CMS 与 ARMS 的日志、指标和链路数据,支持时序对比与自然语言转 SQL。阿里云官方维护,需要 AccessKey,部分 AI 工具按次计费;安装命令用的是 Python 版(主线已改为 Go 二进制)。
aliyun/alibabacloud-observability-mcp-server171
Azure Skills Plugin
Plugin微软官方 Azure 插件:打包 azure-prepare、azure-deploy、azure-diagnostics、azure-cost 等二十多个技能,并接入 Azure MCP 与 Foundry MCP,可查询资源、估算成本、部署与排障。需 Azure 订阅并用 az 登录。
microsoft/azure-skills1.6k
Grafana AI Marketplace
PluginGrafana 官方插件市场,含托管 Grafana Cloud MCP、本地 mcp-grafana 与 Grafana Assistant 三个插件,覆盖看板、数据源、Prometheus/Loki 查询、告警与事件管理,支持 Claude Code 与 Codex。
grafana/ai-marketplace19
Google Agent Skills
SkillGoogle 官方技能库,以 Google Cloud 为主:gcloud、Cloud Run、GKE、BigQuery、IAM、监控与日志、架构完善框架等上百个技能,另含 Ads 与 Analytics。
google/skills22.3k
Amazon CloudWatch MCP Server
MCPAWS 官方:查询 CloudWatch 指标、告警与日志,分析日志异常模式并推荐告警配置,帮助 agent 做故障根因分析。需要 AWS 凭证。
awslabs/mcp9.9k
Cloudflare MCP Server
MCPCloudflare 官方的一组远程 MCP 服务器:管理 Workers 及 KV、R2、D1 等绑定资源,查询日志与可观测性、构建记录、DNS 分析和 Radar 数据。通过 Cloudflare OAuth 授权,部分功能需付费套餐。
cloudflare/mcp-server-cloudflare4.5k