datadog-logs-mcp
Provides tools for querying Datadog logs, including searching logs with time range, sorting, and pagination; retrieving individual log entries; performing aggregations (count, avg, sum, min, max, percentiles) with group-by breakdowns; and listing configured log indexes.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@datadog-logs-mcpsearch logs for error status:500 in the last hour"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
datadog-logs-mcp
MCP server for querying Datadog logs. Use with Claude Code, Claude Desktop, or any MCP-compatible client.
Setup
{
"mcpServers": {
"datadog-logs": {
"command": "npx",
"args": ["-y", "datadog-logs-mcp"],
"env": {
"DD_API_KEY": "your-api-key",
"DD_APP_KEY": "your-app-key",
"DD_SITE": "datadoghq.com"
}
}
}
}Environment Variables
Variable | Required | Description |
| Yes | Datadog API key |
| Yes | Datadog Application key |
| No | Datadog site (default: |
Related MCP server: Datadog Logs MCP Server
Tools
search_logs
Search logs using Datadog log search syntax with time range, sorting, and pagination.
get_log
Get a specific log entry by ID.
aggregate_logs
Aggregate logs with computations (count, avg, sum, min, max, percentiles) and group-by breakdowns.
list_indexes
List all configured log indexes.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables interaction with Datadog's monitoring platform to search logs, search trace spans, and perform trace span aggregation for analysis.Last updated3911MIT
- FlicenseBqualityDmaintenanceEnables searching and retrieving Datadog logs through the Model Context Protocol with customizable queries, time ranges, and result limits.Last updated3
- FlicenseAqualityDmaintenanceEnables querying OpenTelemetry logs stored in OpenSearch across development and production environments. Provides tools for searching logs by various criteria including free-text Lucene queries, trace IDs, service names, error levels, and specific fields.Last updated8
- Alicense-qualityBmaintenanceEnables AI assistants to search logs, query metrics, manage dashboards, analyze APM traces, and control monitors via Datadog APIs.Last updatedMIT
Related MCP Connectors
Read-only access to Auralogs production logs: search logs, inspect errors, review AI analyses.
Investigate errors, track deployments, analyze performance, and manage application monitoring
Define, ship & query your analytics tracking from one source of truth, trusted by humans and agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bgrgndzz/datadog-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server