> For the complete documentation index, see [llms.txt](https://insightleap.com/llms.txt). Every page in it is also served as Markdown at its URL plus `.md`.

# Connect Claude Code to InsightLeap

One command adds the InsightLeap MCP server to Claude Code, so it can read your Amazon buy box, offers, listing changes and sales while it works.

Server URL `https://mcp.insightleap.com/mcp`

## Add the server

```
claude mcp add --transport http insightleap https://mcp.insightleap.com/mcp
```

Then run `/mcp` in Claude Code, choose `insightleap`, and sign in to InsightLeap in the browser window that opens.

## Use it in every project

Claude Code adds a server to the current project unless told otherwise. Add `--scope user` to use InsightLeap in every project:

```
claude mcp add --transport http --scope user insightleap https://mcp.insightleap.com/mcp
```

## Sign in with a token

Where no browser can open (a server, a CI job), use a personal token instead. Create one in InsightLeap under [Account Settings > API Access](https://app.insightleap.com/users/edit#api) and add the server with it:

```
claude mcp add --transport http insightleap https://mcp.insightleap.com/mcp \
  --header "Authorization: Bearer $INSIGHTLEAP_TOKEN"
```

A personal token lasts as long as you chose when you made it and does not renew. InsightLeap emails you 7 days before a token that is still in use expires.

## Check the connection

Run `claude mcp list` to see the server and whether it is connected, or ask *Which InsightLeap accounts can you see?* in a session. Claude Code calls the `list_accounts` tool and lists the Amazon accounts your login can read.

## What to ask

Ask Claude Code in your own words, for example:

- Which of my ASINs lost the buy box this week, and who took it?
- Which sellers priced below MAP in the last 30 days, and how often?
- What changed on the listing for this ASIN this month?
- Which products had the biggest drop in shipped revenue last month?
- What are the biggest open problems on this account, by estimated dollars?

Claude Code chooses among [ten tools](https://insightleap.com/mcp#tools), the same ones the [REST API](https://insightleap.com/docs/api) serves. Every tool only reads, so Claude Code cannot change a price, a listing or a setting. It sees exactly what you can open in InsightLeap: your accounts, and the data your role allows.

Claude Code can also put what it reads to work, for example *Write last week's buy box changes for my monitored ASINs to a CSV file.*

## Disconnect

In Claude Code, run `claude mcp remove insightleap`.

In InsightLeap, the connection is listed on the API Access tab of your [account settings](https://app.insightleap.com/users/edit#api), where you can disconnect it. It also ends after 90 days without use. Team admins can revoke any connection on their team under Team Settings > Integrations.

New to InsightLeap? Every plan includes the MCP server and the API. [Start a 14-day trial](https://app.insightleap.com/start).
