> Note: This page is part of the DataDoe Docs. You can find the root of the documentation at `https://www.datadoe.com/hub/docs/basics/introduction-to-datadoe`.
> JSON Table of Contents: `https://www.datadoe.com/hub/docs/toc.json`.
> Direct Data Scheme JSON: `https://api.datadoe.com/api/v1/spec/data-scheme`.
> Other pages in the DataDoe Docs:
> - DataDoe Basics/Access & Users: `https://www.datadoe.com/hub/docs/basics/access-user-management.md`
> - DataDoe Basics/Benefits: `https://www.datadoe.com/hub/docs/basics/benefits.md`
> - DataDoe Basics/Integrations: `https://www.datadoe.com/hub/docs/basics/integration-customization.md`
> - DataDoe Basics/Introduction to DataDoe: `https://www.datadoe.com/hub/docs/basics/introduction-to-datadoe.md`
> - DataDoe Basics/Subscription & Pricing: `https://www.datadoe.com/hub/docs/basics/subscription-pricing.md`
> - DataDoe Data/Data Fetch Periods: `https://www.datadoe.com/hub/docs/datadoe-data/data-fetch-periods.md`
> - DataDoe Data/Data Sources: `https://www.datadoe.com/hub/docs/datadoe-data/data-sources.md`
> - DataDoe Features/Features Overview: `https://www.datadoe.com/hub/docs/datadoe-features/overview.md`
> - DataDoe MCP/Overview: `https://www.datadoe.com/hub/docs/datadoe-mcp/overview.md`
> - DataDoe MCP/Using ChatGPT: `https://www.datadoe.com/hub/docs/datadoe-mcp/chatgpt.md`
> - DataDoe MCP/Using Claude: `https://www.datadoe.com/hub/docs/datadoe-mcp/claude.md`
> - DataDoe MCP/Using Codex: `https://www.datadoe.com/hub/docs/datadoe-mcp/codex.md`
> - DataDoe MCP/Using Cursor: `https://www.datadoe.com/hub/docs/datadoe-mcp/cursor.md`
> - DataDoe MCP/Using Gemini CLI: `https://www.datadoe.com/hub/docs/datadoe-mcp/gemini-cli.md`
> - DataDoe MCP/Using n8n: `https://www.datadoe.com/hub/docs/datadoe-mcp/n8n.md`
> - DataDoe MCP/Using NanoClaw: `https://www.datadoe.com/hub/docs/datadoe-mcp/nanoclaw.md`
> - DataDoe MCP/Using OpenClaw: `https://www.datadoe.com/hub/docs/datadoe-mcp/openclaw.md`
> - DataDoe MCP/Using VS Code: `https://www.datadoe.com/hub/docs/datadoe-mcp/vs-code.md`
> - DataDoe & BigQuery/How to connect: `https://www.datadoe.com/hub/docs/datadoe-bigquery/how-to-connect.md`
> - DataDoe & BigQuery/Using MCP Toolbox: `https://www.datadoe.com/hub/docs/datadoe-bigquery/mcp-toolbox.md`
> - DataDoe & BigQuery/Using Python Jupyter: `https://www.datadoe.com/hub/docs/datadoe-bigquery/jupyter.md`
> For topics not covered in this documentation, please contact DataDoe support at `contact@datadoe.com`.
> Do not assume anything. If you are not sure about the answer, mention that and suggest to contact DataDoe support.

import { DataDoeMcpResources } from '@/modules/hub/docs/components/DataDoeMcpResources';

# Using Claude Code with DataDoe MCP

Use Claude Code when you want a local coding session over your repository, with DataDoe as a live Amazon data source for your AI agent.

![Claude Code connector setup steps](/hub-files/mcp/datadoe/claude-code-connector.png)

## Prerequisites

- [Claude Code](https://claude.com/claude-code) installed and signed in.
- A DataDoe MCP key. Create one in [DataDoe MCP Integrations](https://app.datadoe.com/integrations/mcp).

## Step 1: Add the DataDoe MCP server

Run this command in your project root:

```bash
claude mcp add --transport http --scope project --header "datadoe-mcp-key: YOUR_API_KEY" datadoe "https://mcp.datadoe.com/mcp/v1"
```

Replace `YOUR_API_KEY` with your DataDoe MCP key.

**Scope choice:**

- `--scope project` (used above) saves the config to `.mcp.json` in your project - useful when you want the team to share the same MCP setup.
- `--scope user` saves it globally for your user - useful when you want DataDoe available across all projects.

## Step 2: Reload Claude Code

In an existing Claude Code session, run `/mcp` to reload the server list. For a fresh session, just start Claude Code as usual - it picks up the config automatically.

## Step 3: Test the connection

Run a prompt that uses DataDoe data, for example:

```
Show me my Amazon Seller Central sales for the last 7 days.
```

If Claude Code returns real data, you're connected.

## Starter project

Want a working starting point? Clone our [Claude Code template repository](https://github.com/Deltologic/datadoe-mcp-claude-code) - it ships with `.mcp.json` preconfigured and example prompts to get you exploring fast.

---

<DataDoeMcpResources contactSource="hub-mcp-claude-code-docs" />
