· Sales data · 10 min read · Updated

Claude Code Data Enrichment: Setup and How It Works

The four ways to give Claude Code enrichment data, what each one does with a list of 5,000 rows, and how to set one up with one command and a sign-in.

Summarize
›In this post · 5 sections
  1. Understanding single-source MCP servers
  2. Understanding gateways
  3. Understanding CLIs
  4. Understanding declared jobs
  5. Set up enrichment in Claude Code

To enrich data from Claude Code, connect an enrichment MCP server or API and ask for what you need in plain words. Setup takes a minute with any of them; with pipe0 it is one command and a browser sign-in.

What decides whether it works on a real list is how the tool moves the data. One row works with anything. A list of 5,000 rows is where agents slow down, lose count, and start writing files.

This post sorts the ways to give Claude Code enrichment into four kinds, by where the rows go and who puts the job together. That gives you a way to judge any enrichment tool for Claude Code, including the ones not named here.

Understanding single-source MCP servers

Three records ask one database. Two come back with an answer; the one it does not hold comes back empty.

Most enrichment MCP servers belong to one data provider. The server turns the provider's API into tools, about one per endpoint: search people, enrich a contact, find a phone number. Each call looks up a record, or a small batch, in that provider's own data.

For a list, the agent loops. It sends a row, reads the answer, copies the field it needs into the next call, and moves on. 2,000 contacts with two enrichments become 4,000 calls, each one read by the agent before the next.

Where it breaks for agents

The context is the agent's working memory, and every answer it reads takes up a part of it. Claude Code caps a single MCP result at 25,000 tokens by default. A larger result goes to a file, and the agent gets the path.

From there the agent works from files. It writes scripts to read them, merges the answers, and keeps its own count of which rows are done. On a long list, that is where runs stall or stop halfway.

  • Claude
A list stands in the agent's context. It gets longer until it runs out of the bottom, and wider until it runs out of the side. What is outside does not count, and the agent is dizzy.

The result ends up where the loop left it: a file on your laptop, with no record of which rows failed and nothing your team can open.

One provider also finds only the people in its own dataset. A contact it doesn't hold comes back empty, however often you ask. Waterfall enrichment closes that gap by asking the next provider.

Apollo

apollo.io

Apollo is a contact database with sequences. Its MCP server has more than 50 actions across search, enrichment, Apollo's own CRM, and outreach, so an agent can go from a search to a sequence in one place.

Enrichment uses Apollo credits. Free accounts registered with a personal email address can't search or enrich over MCP.

  • Tim ZhengCo-founder, chairman
  • Ray LiCo-founder, CTO
  • Photos: Apollo
A contact comes out of a database and goes straight into a sequence of three emails.

ZoomInfo

zoominfo.com

ZoomInfo is an enterprise database of companies and contacts. Its MCP server needs a ZoomInfo license and has 19 tools, for search, enrichment, intent signals, and news.

An enrichment call takes up to 25 contacts or companies. A list of 5,000 takes 200 calls, and every answer comes back into the agent's context.

  • Henry SchuckFounder, CEO
  • Photo: ZoomInfo
An agent sends a batch of records to one database. The answers come back in batches and fill the agent.

Notable single-source servers beyond this list

ServerWhat it is
AmplemarketSearch, enrichment, lead lists, and sequences over Amplemarket's data. An enrichment call costs 0.5 credits.
CrustdataCompany, people, job, and web data, with batch tools for a list. Priced by usage.
AI ArkPeople and company search, and email and mobile finders, at the API's credit prices.

Understanding gateways

An agent calls three providers one after another. Each answers in a shape of its own.

A gateway puts the APIs of many providers behind one key and one balance. The agent searches the catalog, picks a provider for each call, and pays that provider's price. Each call is passed through as it is.

Nothing sits between the agent and the provider, so a single lookup is fast. One account opens thousands of endpoints, and Claude Code can try a new data source without a new contract.

Where it breaks for agents

Each answer comes back in the provider's own shape. To chain two lookups, the agent reads the JSON, picks the field it needs, and passes it to the next call.

A waterfall is a loop the agent writes itself: ask one provider, and on a miss, ask the next. It writes that loop again in every conversation.

  • Claude
Four tools stand around the agent's context, each with an answer of a different shape. The agent fetches them one at a time, and the shapes lie in its context without fitting together. It ends up dizzy.

On a list, a gateway has the same limit as a single-source server. Every call is one the agent makes, and every answer lands in its context.

Treg is a gateway to more than 4,300 endpoints at 140 providers, with one credential and one prepaid balance. Calls cost the provider's own rate, with no markup.

When several providers do the same job, Treg shows their success rate and speed, and the agent picks. It doesn't fail over to the next provider on a miss. Treg has an MCP server and a CLI.

An agent's calls go through one key and branch out to many providers.

Notable gateways beyond this list

GatewayWhat it is
MonidOne key and one balance for 4,300+ tools from 110 providers, paid per call.
OrthogonalAbout 110 data APIs behind one account, paid per call. MCP, API, or CLI.

Understanding CLIs

A command line on your machine and a table on the vendor's server. Every step is a trip along the line: the rows go over, a run fills a column while the command line waits, and a last trip reads the result.

A CLI is a program you install. Claude Code runs it in its shell, one command at a time, and reads what it prints. Many GTM vendors ship one, often next to an MCP server: Clay, ZoomInfo, Treg, Deepline, and Freckle all have one.

The data stays on the vendor's server. The CLI is a second client for it, like the API and the MCP server.

A command can write a long answer to a file instead of the chat, which keeps it out of the context. Claude Code gets the same from a short script that calls an API.

Where it breaks for agents

A CLI runs with your user's permissions. It can read your files, your shell environment, and the tokens other tools left behind.

Some vendors' guides suggest you auto-approve the CLI's commands, so the prompts stop. From then on, Claude Code runs any future version of that program without asking you.

  • Claude
A machine holds an agent, two files and two keys. A command line program drops in beside the agent, and lines go out from it to every file and key: it runs with your permissions. Then it calls the vendor's server outside the machine.

Claude Code on the web and other cloud agents don't run on your laptop. They install the CLI and sign in again in each new sandbox. Clay CLI: what it does and why it's an anti-pattern has the whole argument.

Deepline

deepline.com

Deepline is a CLI and an MCP server for GTM enrichment. Work on a list is a Play: a TypeScript function the agent writes and Deepline runs, outside the agent's context.

Its waterfalls are Plays that stop at the first accepted answer. Results are kept in a Postgres database the agent queries with SQL.

  • Jai ToorCo-founder
  • Photo: Deepline
An agent writes a piece of code. The code runs outside the agent, and its results are kept as rows.

Freckle

freckle.io

Freckle started as a table-based tool. Since May 2026 it is built for the terminal first: Claude Code or Codex runs its waterfalls and workflows from the command line.

The web app is mostly for reviewing what the agent did.

  • Nathan MerzvinskisFounder, CEO
  • Photo: Freckle
A command line in front of a table. A command fills the table's columns.

Notable CLIs beyond this list

CLIWhat it is
ClayA remote control for a Clay workspace: searches, functions, and workflows. Tables are read-only.
ZoomInfoThe GTM CLI, on the same backend and credits as ZoomInfo's API and MCP server.
LandbaseA CLI and an MCP server over Landbase's own database of people and companies.

Understanding declared jobs

A slim contract over a table. Each cell that is set fills the column under it.

A declared job turns the loop around. The agent says which records, which enrichments, and in what order, in one request, and the server runs it. The rows never pass through the agent. What comes back is a count: how many cells completed, how many found nothing, and how many failed.

Why it works for agents

The agent holds the definition of the list, not the list. The definition is the same size for 50 rows and for 500,000.

A failed row is a cell with a status, so the agent repairs it by running again. Rows that already finished are left alone.

  • Claude
The agent's context holds the list in small. The list itself stands outside and gets longer and wider, past the edges of the paper. The context stays as it was, and the agent is fine.

The job runs on the server, so it doesn't need your laptop or the conversation to stay open. A list that should stay becomes a table your team can open, with a schedule if it should run again.

From November 12 to 25, 2026, every run on pipe0 sheets with 5,000 results or more was started by an agent, as one call. The largest returned 100,672 results across two enrichment columns, started from an MCP client.

pipe0

pipe0 runs declared jobs behind an MCP server and an API. Its email and phone lookups are open waterfalls: you can see and change the order of the providers.

A list lives in a sheet of up to 2 million rows. Each cell shows whether it completed, found nothing, or failed, and running a finished sheet again costs nothing.

  • Florian MartensFounder
An agent holds a small contract. A large table beside it fills without the agent reading it.

Notable declared-job tools beyond this list

ToolWhat it is
DatabarOver MCP, an agent builds a table with waterfalls, call by call, and Databar runs it.

Set up enrichment in Claude Code

Add the server

Run this in your terminal:

Terminal
claude mcp add --transport http pipe0 https://api.pipe0.com/v1/mcp

The server is added to the current project. Add --scope user to have it in every project.

Sign in

Start Claude Code, run /mcp, select pipe0, and choose Authenticate. A browser window opens; sign in to pipe0 and approve access. There's no API key to paste and no provider accounts to open: 50+ data providers come with the sign-in. A client that can't sign in through the browser connects with an MCP token instead.

Ask for one record

Prompt
Find the work email for https://www.linkedin.com/in/jane-doe

The agent searches the catalog with list_pipes, picks person:workemail:profileurl:waterfall@1, and runs it. Anything that spends credits asks you to confirm first.

That pipe is a waterfall: the server asks one provider after another until one finds the email. A miss costs nothing. As a standard, a work email costs about 3 cents and a mobile number about 10. To ask a different provider first, say so in the prompt; waterfall enrichment in Claude Code shows how the order works.

Enrich a list

Prompt
Put these 2,000 LinkedIn URLs in a pipe0 sheet and add a work email and a
mobile number for each.

The agent creates the sheet, declares the columns with run_effects, and checks the result with verify_outcome. Your team opens the sheet in the browser. You can export it as a CSV, put it on a schedule, or have a report emailed every Monday.

Run it from a script

Claude Code is also a coding agent, so it can write the script instead. The request is the same declared job, sent to the API:

import { Pipe0 } from "@pipe0/client";

const pipe0 = new Pipe0({ apiKey: process.env.PIPE0_API_KEY });

const result = await pipe0.pipes.pipe({
  pipes: [
    { pipe_id: "person:workemail:profileurl:waterfall@1" },
    { pipe_id: "person:mobile:profileurl:waterfall@1" },
  ],
  input: [
    {
      id: "1",
      profile_url: "https://www.linkedin.com/in/jane-doe",
    },
  ],
});
console.log(result);
import requests

response = requests.post(
    "https://api.pipe0.com/v1/pipes/run/sync",
    headers={"Authorization": f"Bearer {API_KEY}"},
    json={
        "pipes": [
            {"pipe_id": "person:workemail:profileurl:waterfall@1"},
            {"pipe_id": "person:mobile:profileurl:waterfall@1"},
        ],
        "input": [
            {
                "id": "1",
                "profile_url": "https://www.linkedin.com/in/jane-doe",
            },
        ],
    },
)
print(response.json())
curl -X POST "https://api.pipe0.com/v1/pipes/run/sync" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "pipes": [
    { "pipe_id": "person:workemail:profileurl:waterfall@1" },
    { "pipe_id": "person:mobile:profileurl:waterfall@1" }
  ],
  "input": [
    {
      "id": "1",
      "profile_url": "https://www.linkedin.com/in/jane-doe"
    }
  ]
}'

The sync endpoint suits a handful of records. For batches, the script sends up to 100 records a request to the async /v1/pipes/run endpoint and polls for the result. Either way the rows land in a file on your disk, not in the agent's context.

Enrich your CRM

CRM enrichment is the same declared job with a read at the start and a write at the end. Connect HubSpot, Salesforce, or Attio to pipe0 once, through the connections page in the dashboard. Then:

Prompt
Pull our HubSpot companies that have no industry into a sheet, add industry
and headcount, and write both back to HubSpot.
What the agent declares
companies:hubspot@1 -> company:overview@3 -> object:update:hubspot@1

The HubSpot search and the write run on your own connection and cost no pipe0 credits. Blank results are skipped by default, so a company the enrichment found nothing for keeps what the CRM already had. A write that fails halfway is finished without writing anything twice (export and CRM sync).

For a whole prospecting session, from search to a scheduled list, see Claude Code for sales prospecting. For the other servers you could connect, see the best MCP servers for GTM teams.

Next-gen enrichment & search.

Build revenue systems that scale. For humans, agents, and apps. Replace tools like Clay, n8n, Hightouch, etc.

selectedRun
InputHDFind work email
NameWork email
Ada ByrneHa.byrne@acme.io
Leo CostaDl.costa@northbeam.co
Mia ChenRunning...
New empty row
Using pipe0 at work?