Skip to content
Last updated

Getting Started for AI Agents

The Treasure Data documentation is accessible through Claude Code and other MCP-compatible AI tools via the Model Context Protocol (MCP). This allows AI assistants to access up-to-date product documentation directly.

Connect from Claude Code

You can connect Claude Code to the Treasure Data documentation MCP server to enable documentation lookup during your coding sessions.

Setup

In Claude Code, run the following command to add the Treasure Data documentation server:

$ claude mcp add td-docs https://docs.treasuredata.com/mcp --transport http

This command:

  • Registers the Treasure Data documentation server as td-docs
  • Uses HTTP transport to communicate with the documentation API
  • Enables Claude Code to access all product documentation in real-time

What Claude Code Can Access

Once connected, Claude Code can query information about:

  • Product Documentation: Complete guides for all Treasure Data products
  • API References: Detailed API specifications and examples
  • Integration Guides: Setup instructions for 200+ data sources
  • Best Practices: Implementation patterns and recommendations

Example Usage

After connecting the MCP server, you can ask Claude Code questions like:

  • "How do I configure Real-Time ID Stitching?"
  • "What are the available integrations in Integration Hub?"
  • "Show me the API specification for the Personalization API"
  • "What are the best practices for creating Parent Segments?"

Claude Code will retrieve the relevant documentation and provide accurate answers based on the latest product information.


Learn More