How to Use the Datadog MCP in Claude Code
Let Claude Code search logs, query metrics, and manage monitors directly from your terminal.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Datadog MCP to Claude Code
Create your Vinkius account to connect Datadog to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Run Datadog log searches directly from your terminal
The `search_logs` tool queries your log storage boundary using your custom query syntax directly from the command line. Claude Code executes these searches, pipes the raw JSON output to your terminal, and filters the results using local shell utilities. You can chain this tool with local grep commands to isolate errors during SSH sessions. This saves you from opening a browser during high-severity production outages.
Track scheduled downtimes in your deployment scripts
The `list_downtimes` tool pulls active maintenance windows and recurring schedules into your terminal environment. Claude Code reads these schedules before running automated deployment scripts to confirm you are not pushing updates during a critical window. If an active downtime is detected, Claude Code can pause the execution or alert the on-call engineer. This keeps your CI/CD pipelines aware of manual schedule overrides.
Inspect live metrics via this command-line MCP Server
The `query_metrics` tool retrieves UNIX timestamped time-series data directly into your shell. Claude Code uses this to print ASCII metric trends or feed raw data points into other terminal utilities for quick performance checks. You get instant visibility into CPU spikes and memory leaks without leaving your SSH session. This allows for rapid diagnostics when you are working on headless servers.
Set up Datadog MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seedatadog-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Datadog transactions." It will automatically discover and invoke the available Datadog tools.
claude mcp add --transport http datadog-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Datadog MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Datadog MCP today
We host it, we monitor it, we maintain it. You just paste one token.