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.
Latest Blog Posts
- 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