Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"treasuredata": {
"env": {
"TD_SITE": "us01",
"TD_API_KEY": "your_api_key",
"TD_DATABASE": "sample_datasets",
"TD_ENABLE_UPDATES": "false"
},
"args": [
"@treasuredata/mcp-server"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP (Model Context Protocol) server for Treasure Data, enabling AI assistants to query and interact with Treasure Data through a secure, controlled interface.
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @treasuredata/mcp-server against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in data
Query and manage PostgreSQL databases directly from AI assistants
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
Manage Supabase projects — databases, auth, storage, and edge functions
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
MCP Security Weekly
Get CVE alerts and security updates for Td Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP (Model Context Protocol) server for Treasure Data, enabling AI assistants to query and interact with Treasure Data through a secure, controlled interface.
This MCP server is currently in a public preview. We're excited for you to try it out and welcome your feedback to help us improve the service.
Please note: During this preview period, use of the server is free. However, we plan to introduce a usage-based pricing model in the future, which will be based on the number of queries issued. We will provide ample notice and detailed pricing information before any charges are implemented.
Your feedback during this phase is invaluable and will help us shape the future of this tool. Thank you for being an early adopter!
This MCP server requires Node.js version 18.0.0 or higher. If you don't have Node.js installed:
Download Node.js from nodejs.org
npm and npxVerify installation by running:
node --version # Should show v18.0.0 or higher
npx --version # Included with npm 5.2+
brew install node (using Homebrew)winget install OpenJS.NodeJSNo installation needed! Configure your MCP tool to run @treasuredata/mcp-server directly via npx:
npx @treasuredata/mcp-server
What is npx? npx is a package runner that comes with npm 5.2+. It downloads and runs packages without installing them globally, ensuring you always use the latest version.
If you prefer a traditional installation:
npm install -g @treasuredata/mcp-server
Add to your MCP client configuration (e.g., Claude Desktop):
{
"mcpServers": {
"treasuredata": {
"command": "npx",
"args": ["@treasuredata/mcp-server"],
"env": {
"TD_API_KEY": "your_api_key",
"TD_SITE": "us01",
"TD_ENABLE_UPDATES": "false",
"TD_DATABASE": "sample_datasets"
}
}
}
}
TD_API_KEY (required): Your Treasure Data API keyTD_SITE (optional): Region endpoint - us01 (default), jp01, eu01, ap02, ap03, devTD_ENABLE_UPDATES (optional): Enable write operations (execute tool) - false (default), trueTD_DATABASE (optional): Default database for queries (e.g., sample_datasets)Claude Code provides built-in support for MCP servers through the claude mcp add command. To use this MCP server with Claude Code:
claude mcp add td -e TD_API_KEY=$TD_API_KEY -- npx @treasuredata/mcp-server
This command:
npx @treasuredata/mcp-server (always uses latest version)You can also specify additional environment variables:
claude mcp add td \
-e TD_API_KEY=$TD_API_KEY \
-e TD_SITE=us01 \
-e TD_DATABASE=sample_datasets \
... [View full README on GitHub](https://github.com/treasure-data/td-mcp-server#readme)