datadog-mcp
Retrieves logs from Datadog for a specific Kubernetes cluster and namespace, enabling analysis of log data.
Queries logs filtered by Kubernetes cluster and namespace from Datadog.
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-mcpshow me logs from cluster production and namespace default from 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-mcp
Model Context Protocol server that retrieves logs from a specific Kubernetes cluster and namespace from Datadog for analysis by Claude.
Prerequisites
Datadog API Key
Datadog Application Key with permission to read logs
Claude Desktop application
Node.js >= 18
Related MCP server: Kubernetes MCP Server
Usage
Clone the repository
Build the application
cd datadog-mcp
npm run buildAdd the Datadog API Key and Application Key to your Claude desktop configuration, and MCP server configuration if needed. Example for macOS:
vim ~/Library/Application Support/Claude/claude_desktop_config.jsonThe above file should look like the following. In this example we are using nvm, so we need to provide the full path to the executable in line 4. If you are not using nvm, you can just pass
node.
{
"mcpServers": {
"datadog-mcp": {
"command": "/Users/<your-user>/.nvm/versions/node/v22.11.0/bin/node",
"args": [
"/<path-to-repo>/datadog-mcp/build/index.js"
],
"env": {
"DD_API_KEY": <YOUR_API_KEY>
"DD_APP_KEY": <YOUR_APP_KEY>
}
}
}
}Open the Claude desktop application. On the bottom right hand corner of the chat window you should see a hammer 🔨, and
1 MCP tool availablewhen hovering. If you don't see the hammer, something is not working properly.Ask Claude to provide information about a specific cluster and namespace. For example:
What insights can you give me about datadog logs in the cluster dev and namespace app?Claude will use your API and APP keys, make a request to Datadog, parse the logs and provide a response.
To do
Pass start and end timestamp
Query Metrics
Query Monitors
Reference
The code is based on the starter example provided by Anthropic.
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
- Flicense-qualityCmaintenanceprovide access to monitor and cluster logs from datadog8
- Flicense-qualityDmaintenanceEnables interactive Kubernetes cluster monitoring and troubleshooting through natural language queries. Users can diagnose pod issues, check service status, and investigate cluster problems using conversational AI.
- FlicenseBqualityDmaintenanceEnables comprehensive Datadog monitoring capabilities including CI/CD pipeline management, service logs analysis, metrics querying, monitor and SLO management, service definitions retrieval, and team management through Claude and other MCP clients.1320
- Flicense-qualityDmaintenanceEnables AI models to query and analyze Kubernetes cluster logs through Grafana Loki, supporting semantic operations like error aggregation and pod restart detection. It provides tools for regex-based log searching and namespace discovery to facilitate natural language troubleshooting.
Related MCP Connectors
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Read-only access to Auralogs production logs: search logs, inspect errors, review AI analyses.
Connect your team's living knowledge base — docs, data, issues, CRM — to Claude and ChatGPT.
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/sqr/datadog-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server