Add to Claude

Guides · For agents

Add Sift to Claude Code as an MCP server

Setup, about two minutesBuilt and tested with Claude Code

To add an MCP server to Claude Code, run claude mcp add with a name, two dashes, and the command that starts the server. For Sift that is one line, and then you start a new session. You need Node 18 or newer, and nothing else.

1. Check you have Node

In a terminal, run node --version. It should say v18 or higher. If it says "command not found", install Node from nodejs.org first. Sift is fetched by npx, which comes with Node.

2. Add the server

Run this in the folder you work in:

claude mcp add sift -- npx -y @heyife/siftdata@0.8.2

Everything after the two dashes is the command Claude Code runs to start Sift. The first time, npx downloads the published package. The @0.8.2 pins the version, so Sift only changes when you change that number.

Just you, this folderThe command as it is. This is Claude Code's default.
Just you, every folderAdd --scope user before sift
Everyone on the projectAdd --scope project. Claude Code writes a .mcp.json file you can share.

Or add a .mcp.json file

If you would rather not use the command, save this as .mcp.json in the folder you work in. It does the same as --scope project.

{
  "mcpServers": {
    "sift": {
      "command": "npx",
      "args": ["-y", "@heyife/siftdata@0.8.2"]
    }
  }
}

3. Start a session and check it

4. Try it

The test files are fake. Download them, then paste this, using your own full paths.

Use Sift to match /path/to/crm_companies.csv on customer_id to /path/to/product_accounts.csv on account_id. Tell me matched, CRM only, product only and the match rate.

Matched1,010
CRM only41
Product only140
Match rate96.1%

If your numbers differ, check that Claude called the Sift tool and did not count the rows itself.

5. Keep Claude out of the exports

Sift sends Claude counts and record IDs, never rows. But Claude Code has its own file tools and will open an export if asked. Block that for your exports folder in .claude/settings.json:

{ "permissions": { "deny": ["Read(./exports/**)"] } }

That covers Claude's file tools and simple reads such as cat and head. For other shell commands and scripts, also turn on Claude Code's sandbox with a read block on the same folder. Sift runs as its own process, so it can still read the files. These stop an accident; they are not a wall.

Settings you might want

Sift reads settings from its entry in the config. To keep every file Sift writes in one folder, add --env when you add it:

claude mcp add --env SIFT_OUTPUT_DIR=/Users/you/sift-output --transport stdio sift -- npx -y @heyife/siftdata@0.8.2

Keep another option, such as --transport stdio, between --env and the name, or Claude Code reads the name as another setting. To change a setting or move to a new version, run claude mcp remove sift and add it again. Every setting is listed in the docs.

Questions

Do I need to install anything with npm?
No. You need Node 18 or newer. Claude Code starts Sift with npx, which fetches the published package the first time.
Which scope should I pick?
The default keeps Sift to you, in this folder. Use --scope user to have it in every folder, or --scope project to share it with everyone working on the project.
Does it work with other MCP clients?
Sift is built and tested with Claude Code. Other MCP clients should work. Claude Desktop steps are in the docs.
Does Sift send my data anywhere?
No. Sift runs on your machine and makes no network calls, unless you turn on a live database connection or the usage ping yourself.

Claude Desktop and building from source are covered in the docs.

More guides

Guide Let an AI agent work on a customer CSV without seeing the rows Guide Audit a CRM export with your agent Guide Dry run, receipt and undo: how Sift changes a file safely