Integrations
Supports loading Treasure Data API credentials from a .env file as an alternative to environment variables.
Treasure Data MCP Server
A Model Context Protocol (MCP) server that provides Treasure Data API integration for Claude Code and Claude Desktop, allowing for database management and listing functionality.
Installation
Authentication
The client requires a Treasure Data API key for authentication. You can provide this in two ways:
- Set the
TD_API_KEY
environment variable:Copy - Pass it directly to the command:Copy
Usage
Command Line Interface
The package provides a simple command-line interface for common operations:
List all databases
Get information about a specific database
Python API
You can also use the client directly in your Python code:
API Endpoints
By default, the client uses the US region endpoint (api.treasuredata.com
). If you need to use the Japan region, specify the endpoint:
MCP Server Configuration
This server implements the Model Context Protocol (MCP) to provide Claude with access to Treasure Data API functionality.
Running the MCP Server
You can run the MCP server in several ways:
The server requires a Treasure Data API key, which should be provided via the TD_API_KEY
environment variable.
Setting up with Claude Code
To configure this MCP server for use with Claude Code:
- Install the serverCopy
- Set your Treasure Data API key as an environment variableCopy
- Create a
.claude/plugins.json
file in your project directory with the following content:Copy - When using Claude Code in a project with this configuration, you'll have access to the following MCP tools:
mcp__td_list_databases
: List all databases in your Treasure Data accountmcp__td_get_database
: Get information about a specific database
Setting up with Claude Desktop
To configure this MCP server for use with Claude Desktop:
- Install the server as described above
- In Claude Desktop, create a new MCP tool configuration:
- Go to Settings > MCP Tools > Add New Tool
- Name: Treasure Data API
- Command:
uv run mcp
- Environment variables: Add your
TD_API_KEY
- Save the configuration and restart Claude Desktop
- You can now use the Treasure Data API tools in your Claude Desktop conversations
Using MCP Tools in Claude
Once configured, you can use commands like:
or
Development
To set up the development environment:
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An MCP server for interacting with Treasure Data API, allowing users to retrieve database information and check server status through natural language queries.
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -78715TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -7184TypeScriptMIT License
- AsecurityFlicenseAqualityAn MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.Last updated -3926
- -securityFlicense-qualityAn MCP server that connects to Backlog API, providing functionality to search, retrieve, and update issues through natural language commands.Last updated -241JavaScript