Set up Argorant in Claude Code

One command, plus the CLI pairing that makes terminal work fast.

Claude Code adds MCP servers from the terminal. One command is enough:

claude mcp add --transport http argorant https://mcp.argorant.com/mcp

The first tool call triggers the OAuth sign-in. After you approve, the connection persists for that project. Ask Claude Code something free first, for example to count logistics operations leaders in the Benelux, so you can see the tools respond before anything is spent.

Pair it with the CLI

Claude Code is a terminal agent, so the Argorant CLI is often the better tool for file-producing work. Give it a key in the environment and it can run exports that land as real files in your repo:

export ARGORANT_API_KEY=ag_live_...
npx argorant count --keywords logistics --country "United States" --seniority vp --json
npx argorant export --keywords logistics --country "United States" -n 500 -o leads.csv --yes
The one command that adds the Argorant MCP server to Claude Code
The one command that adds the Argorant MCP server to Claude Code

Guardrails worth setting

  • Tell Claude Code in your project instructions that reveal and export require your explicit go.
  • Remember that inside an agent loop there is no confirmation prompt: reveal, export and verify --file spend immediately when stdin is not a terminal.
  • Exit codes are machine readable, so the agent can branch: 2 means the key was rejected, 5 means a paid plan is required.

Everything runs against the same account as the web app: same credits, same saved lists, same exports.

Still stuck? support@argorant.com